Class ProjectsResource.LocationsResource.GlobalResource.DomainsResource.AttachTrustRequest
Adds an AD trust to a domain.
Inheritance
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.AttachTrustRequest
Inherited Members
Namespace: Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1
Assembly: Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GlobalResource.DomainsResource.AttachTrustRequest : ManagedServiceforMicrosoftActiveDirectoryConsumerAPIBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
AttachTrustRequest(IClientService, AttachTrustRequest, string)
Constructs a new AttachTrust request.
Declaration
public AttachTrustRequest(IClientService service, AttachTrustRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AttachTrustRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The resource domain name, project name and location using the form:
projects/{project_id}/locations/global/domains/{domain_name}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes AttachTrust parameter list.
Declaration
protected override void InitParameters()