Google Cloud Managed Identities V1 Client - Class CreateMicrosoftAdDomainRequest (1.3.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
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDomain

Required. A Managed Identity domain resource.

Returns
TypeDescription
Google\Cloud\ManagedIdentities\V1\Domain|null

hasDomain

clearDomain

setDomain

Required. A Managed Identity domain resource.

Parameter
NameDescription
var Google\Cloud\ManagedIdentities\V1\Domain
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\ManagedIdentities\V1\CreateMicrosoftAdDomainRequest