Class DomainsResource
The "domains" collection of methods.
Inherited Members
Namespace: Google.Apis.PostmasterTools.v2
Assembly: Google.Apis.PostmasterTools.v2.dll
Syntax
public class DomainsResource
Constructors
DomainsResource(IClientService)
Constructs a new resource.
Declaration
public DomainsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
DomainStats
Gets the DomainStats resource.
Declaration
public virtual DomainsResource.DomainStatsResource DomainStats { get; }
Property Value
| Type | Description |
|---|---|
| DomainsResource.DomainStatsResource |
Methods
Get(string)
Retrieves detailed information about a domain registered by you. Returns NOT_FOUND if the domain is not registered by you. Domain represents the metadata of a domain that has been registered within the system and linked to a user.
Declaration
public virtual DomainsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the domain. Format: |
Returns
| Type | Description |
|---|---|
| DomainsResource.GetRequest |
GetComplianceStatus(string)
Retrieves the compliance status for a given domain. Returns PERMISSION_DENIED if you don't have permission to access compliance status for the domain.
Declaration
public virtual DomainsResource.GetComplianceStatusRequest GetComplianceStatus(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the domain's compliance status to retrieve. Format:
|
Returns
| Type | Description |
|---|---|
| DomainsResource.GetComplianceStatusRequest |
List()
Retrieves a list of all domains registered by you, along with their corresponding metadata. The order of domains in the response is unspecified and non-deterministic. Newly registered domains will not necessarily be added to the end of this list.
Declaration
public virtual DomainsResource.ListRequest List()
Returns
| Type | Description |
|---|---|
| DomainsResource.ListRequest |