Google Cloud Managed Identities V1 Client - Class CreateMicrosoftAdDomainRequest (2.0.0)

Reference documentation and code samples for the Google Cloud Managed Identities V1 Client class CreateMicrosoftAdDomainRequest.

Request message for CreateMicrosoftAdDomain

Generated from protobuf message google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest

Namespace

Google \ Cloud \ ManagedIdentities \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource project name and location using the form: projects/{project_id}/locations/global

↳ domain_name string

Required. The fully qualified domain name. e.g. mydomain.myorganization.com, with the following restrictions: * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must not start with period. * First segement length (mydomain form example above) shouldn't exceed 15 chars. * The last segment cannot be fully numeric. * Must be unique within the customer project.

↳ domain Google\Cloud\ManagedIdentities\V1\Domain

Required. A Managed Identity domain resource.

getParent

Required. The resource project name and location using the form: projects/{project_id}/locations/global

Returns
Type Description
string

setParent

Required. The resource project name and location using the form: projects/{project_id}/locations/global

Parameter
Name Description
var string
Returns
Type Description
$this

getDomainName

Required. The fully qualified domain name.

e.g. mydomain.myorganization.com, with the following restrictions:

  • Must contain only lowercase letters, numbers, periods and hyphens.
  • Must start with a letter.
  • Must contain between 2-64 characters.
  • Must end with a number or a letter.
  • Must not start with period.
  • First segement length (mydomain form example above) shouldn't exceed 15 chars.
  • The last segment cannot be fully numeric.
  • Must be unique within the customer project.
Returns
Type Description
string

setDomainName

Required. The fully qualified domain name.

e.g. mydomain.myorganization.com, with the following restrictions:

  • Must contain only lowercase letters, numbers, periods and hyphens.
  • Must start with a letter.
  • Must contain between 2-64 characters.
  • Must end with a number or a letter.
  • Must not start with period.
  • First segement length (mydomain form example above) shouldn't exceed 15 chars.
  • The last segment cannot be fully numeric.
  • Must be unique within the customer project.
Parameter
Name Description
var string
Returns
Type Description
$this

getDomain

Required. A Managed Identity domain resource.

Returns
Type Description
Google\Cloud\ManagedIdentities\V1\Domain|null

hasDomain

clearDomain

setDomain

Required. A Managed Identity domain resource.

Parameter
Name Description
var Google\Cloud\ManagedIdentities\V1\Domain
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource project name and location using the form: projects/{project_id}/locations/global Please see Google\Cloud\ManagedIdentities\V1\ManagedIdentitiesServiceClient::locationName() for help formatting this field.

domainName string

Required. The fully qualified domain name. e.g. mydomain.myorganization.com, with the following restrictions:

  • Must contain only lowercase letters, numbers, periods and hyphens.
  • Must start with a letter.
  • Must contain between 2-64 characters.
  • Must end with a number or a letter.
  • Must not start with period.
  • First segement length (mydomain form example above) shouldn't exceed 15 chars.
  • The last segment cannot be fully numeric.
  • Must be unique within the customer project.
domain Google\Cloud\ManagedIdentities\V1\Domain

Required. A Managed Identity domain resource.

Returns
Type Description
Google\Cloud\ManagedIdentities\V1\CreateMicrosoftAdDomainRequest