Class ManagedZonesResource
The "managedZones" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Dns.v2
Assembly: Google.Apis.Dns.v2.dll
Syntax
public class ManagedZonesResource
Constructors
ManagedZonesResource(IClientService)
Constructs a new resource.
Declaration
public ManagedZonesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Create(ManagedZone, String, String)
Creates a new ManagedZone.
Declaration
public virtual ManagedZonesResource.CreateRequest Create(ManagedZone body, string project, string location)
Parameters
Type | Name | Description |
---|---|---|
ManagedZone | body | The body of the request. |
System.String | project | Identifies the project addressed by this request. |
System.String | location | Specifies the location of the resource. This information will be used for routing and will be part of the resource name. |
Returns
Type | Description |
---|---|
ManagedZonesResource.CreateRequest |
Delete(String, String, String)
Deletes a previously created ManagedZone.
Declaration
public virtual ManagedZonesResource.DeleteRequest Delete(string project, string location, string managedZone)
Parameters
Type | Name | Description |
---|---|---|
System.String | project | Identifies the project addressed by this request. |
System.String | location | Specifies the location of the resource. This information will be used for routing and will be part of the resource name. |
System.String | managedZone | Identifies the managed zone addressed by this request. Can be the managed zone name or ID. |
Returns
Type | Description |
---|---|
ManagedZonesResource.DeleteRequest |
Get(String, String, String)
Fetches the representation of an existing ManagedZone.
Declaration
public virtual ManagedZonesResource.GetRequest Get(string project, string location, string managedZone)
Parameters
Type | Name | Description |
---|---|---|
System.String | project | Identifies the project addressed by this request. |
System.String | location | Specifies the location of the resource. This information will be used for routing and will be part of the resource name. |
System.String | managedZone | Identifies the managed zone addressed by this request. Can be the managed zone name or ID. |
Returns
Type | Description |
---|---|
ManagedZonesResource.GetRequest |
List(String, String)
Enumerates ManagedZones that have been created but not yet deleted.
Declaration
public virtual ManagedZonesResource.ListRequest List(string project, string location)
Parameters
Type | Name | Description |
---|---|---|
System.String | project | Identifies the project addressed by this request. |
System.String | location | Specifies the location of the resource. This information will be used for routing and will be part of the resource name. |
Returns
Type | Description |
---|---|
ManagedZonesResource.ListRequest |
Patch(ManagedZone, String, String, String)
Applies a partial update to an existing ManagedZone.
Declaration
public virtual ManagedZonesResource.PatchRequest Patch(ManagedZone body, string project, string location, string managedZone)
Parameters
Type | Name | Description |
---|---|---|
ManagedZone | body | The body of the request. |
System.String | project | Identifies the project addressed by this request. |
System.String | location | Specifies the location of the resource. This information will be used for routing and will be part of the resource name. |
System.String | managedZone | Identifies the managed zone addressed by this request. Can be the managed zone name or ID. |
Returns
Type | Description |
---|---|
ManagedZonesResource.PatchRequest |
Update(ManagedZone, String, String, String)
Updates an existing ManagedZone.
Declaration
public virtual ManagedZonesResource.UpdateRequest Update(ManagedZone body, string project, string location, string managedZone)
Parameters
Type | Name | Description |
---|---|---|
ManagedZone | body | The body of the request. |
System.String | project | Identifies the project addressed by this request. |
System.String | location | Specifies the location of the resource. This information will be used for routing and will be part of the resource name. |
System.String | managedZone | Identifies the managed zone addressed by this request. Can be the managed zone name or ID. |
Returns
Type | Description |
---|---|
ManagedZonesResource.UpdateRequest |