Class DomainsResource.GetComplianceStatusRequest
Retrieves the compliance status for a given domain. Returns PERMISSION_DENIED if you don't have permission to access compliance status for the domain.
Inheritance
DomainsResource.GetComplianceStatusRequest
Inherited Members
Namespace: Google.Apis.PostmasterTools.v2
Assembly: Google.Apis.PostmasterTools.v2.dll
Syntax
public class DomainsResource.GetComplianceStatusRequest : PostmasterToolsBaseServiceRequest<DomainComplianceStatus>, IClientServiceRequest<DomainComplianceStatus>, IClientServiceRequest
Constructors
GetComplianceStatusRequest(IClientService, string)
Constructs a new GetComplianceStatus request.
Declaration
public GetComplianceStatusRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| 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 name of the domain's compliance status to retrieve. Format:
domains/{domain_id}/complianceStatus.
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
InitParameters()
Initializes GetComplianceStatus parameter list.
Declaration
protected override void InitParameters()