Google Cloud Managed Identities V1 Client - Class AttachTrustRequest (1.1.1)

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

Request message for AttachTrust

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

Namespace

Google \ Cloud \ ManagedIdentities \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ trust Google\Cloud\ManagedIdentities\V1\Trust

Required. The domain trust resource.

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTrust

Required. The domain trust resource.

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

hasTrust

clearTrust

setTrust

Required. The domain trust resource.

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

static::build

Parameters
NameDescription
name string

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

trust Google\Cloud\ManagedIdentities\V1\Trust

Required. The domain trust resource.

Returns
TypeDescription
Google\Cloud\ManagedIdentities\V1\AttachTrustRequest