Class ResponsePoliciesResource
The "responsePolicies" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Dns.v2
Assembly: Google.Apis.Dns.v2.dll
Syntax
public class ResponsePoliciesResource
Constructors
ResponsePoliciesResource(IClientService)
Constructs a new resource.
Declaration
public ResponsePoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Create(ResponsePolicy, String, String)
Creates a new Response Policy
Declaration
public virtual ResponsePoliciesResource.CreateRequest Create(ResponsePolicy body, string project, string location)
Parameters
Type | Name | Description |
---|---|---|
ResponsePolicy | 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, only applicable in the v APIs. This information will be used for routing and will be part of the resource name. |
Returns
Type | Description |
---|---|
ResponsePoliciesResource.CreateRequest |
Delete(String, String, String)
Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network.
Declaration
public virtual ResponsePoliciesResource.DeleteRequest Delete(string project, string location, string responsePolicy)
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 | responsePolicy | User assigned name of the Response Policy addressed by this request. |
Returns
Type | Description |
---|---|
ResponsePoliciesResource.DeleteRequest |
Get(String, String, String)
Fetches the representation of an existing Response Policy.
Declaration
public virtual ResponsePoliciesResource.GetRequest Get(string project, string location, string responsePolicy)
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 | responsePolicy | User assigned name of the Response Policy addressed by this request. |
Returns
Type | Description |
---|---|
ResponsePoliciesResource.GetRequest |
List(String, String)
Enumerates all Response Policies associated with a project.
Declaration
public virtual ResponsePoliciesResource.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 |
---|---|
ResponsePoliciesResource.ListRequest |
Patch(ResponsePolicy, String, String, String)
Applies a partial update to an existing Response Policy.
Declaration
public virtual ResponsePoliciesResource.PatchRequest Patch(ResponsePolicy body, string project, string location, string responsePolicy)
Parameters
Type | Name | Description |
---|---|---|
ResponsePolicy | 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 | responsePolicy | User assigned name of the Respones Policy addressed by this request. |
Returns
Type | Description |
---|---|
ResponsePoliciesResource.PatchRequest |
Update(ResponsePolicy, String, String, String)
Updates an existing Response Policy.
Declaration
public virtual ResponsePoliciesResource.UpdateRequest Update(ResponsePolicy body, string project, string location, string responsePolicy)
Parameters
Type | Name | Description |
---|---|---|
ResponsePolicy | 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 | responsePolicy | User assigned name of the Response Policy addressed by this request. |
Returns
Type | Description |
---|---|
ResponsePoliciesResource.UpdateRequest |