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

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 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
Domain|null

hasDomain

clearDomain

setDomain

Required. A Managed Identity domain resource.

Parameter
Name Description
var 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 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 Domain

Required. A Managed Identity domain resource.

Returns
Type Description
CreateMicrosoftAdDomainRequest