Google Cloud Managed Identities V1beta1 Client - Class Domain (1.1.1)

Reference documentation and code samples for the Google Cloud Managed Identities V1beta1 Client class Domain.

Represents a managed Microsoft Active Directory domain.

If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.

Generated from protobuf message google.cloud.managedidentities.v1beta1.Domain

Namespace

Google \ Cloud \ ManagedIdentities \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.

↳ labels array|Google\Protobuf\Internal\MapField

Optional. Resource labels that can contain user-provided metadata.

↳ authorized_networks array

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

↳ reserved_ip_range string

Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].

↳ locations array

Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

↳ admin string

Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.

↳ fqdn string

Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.

↳ create_time Google\Protobuf\Timestamp

Output only. The time the instance was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The last update time.

↳ state int

Output only. The current state of this domain.

↳ status_message string

Output only. Additional information about the current status of this domain, if available.

↳ trusts array<Google\Cloud\ManagedIdentities\V1beta1\Trust>

Output only. The current trusts associated with the domain.

getName

Output only. The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.

Returns
TypeDescription
string

setName

Output only. The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

Optional. Resource labels that can contain user-provided metadata.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Optional. Resource labels that can contain user-provided metadata.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getAuthorizedNetworks

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain.

The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAuthorizedNetworks

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain.

The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getReservedIpRange

Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].

Returns
TypeDescription
string

setReservedIpRange

Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLocations

Required. Locations where domain needs to be provisioned.

[regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setLocations

Required. Locations where domain needs to be provisioned.

[regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAdmin

Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.

Returns
TypeDescription
string

setAdmin

Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFqdn

Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.

Returns
TypeDescription
string

setFqdn

Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time the instance was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time the instance was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The last update time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last update time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getState

Output only. The current state of this domain.

Returns
TypeDescription
int

setState

Output only. The current state of this domain.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStatusMessage

Output only. Additional information about the current status of this domain, if available.

Returns
TypeDescription
string

setStatusMessage

Output only. Additional information about the current status of this domain, if available.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTrusts

Output only. The current trusts associated with the domain.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTrusts

Output only. The current trusts associated with the domain.

Parameter
NameDescription
var array<Google\Cloud\ManagedIdentities\V1beta1\Trust>
Returns
TypeDescription
$this