Method: domains.attachTrust

Full name: projects.locations.global.domains.attachTrust

Adds an AD trust to a domain.

HTTP request

POST https://managedidentities.googleapis.com/v1/{name=projects/*/locations/global/domains/*}:attachTrust

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

Authorization requires the following IAM permission on the specified resource name:

  • managedidentities.domains.attachTrust

Request body

The request body contains data with the following structure:

JSON representation
{
  "trust": {
    object (Trust)
  }
}
Fields
trust

object (Trust)

Required. The domain trust resource.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.