Class ResponsePoliciesResource
The "responsePolicies" collection of methods.
Inherited Members
Namespace: Google.Apis.Dns.v1beta2
Assembly: Google.Apis.Dns.v1beta2.dll
Syntax
public class ResponsePoliciesResource
Constructors
ResponsePoliciesResource(IClientService)
Constructs a new resource.
Declaration
public ResponsePoliciesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(ResponsePolicy, string)
Creates a new Response Policy
Declaration
public virtual ResponsePoliciesResource.CreateRequest Create(ResponsePolicy body, string project)
Parameters
| Type | Name | Description |
|---|---|---|
| ResponsePolicy | body | The body of the request. |
| string | project | Identifies the project addressed by this request. |
Returns
| Type | Description |
|---|---|
| ResponsePoliciesResource.CreateRequest |
Delete(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 responsePolicy)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Identifies the project addressed by this request. |
| string | responsePolicy | User assigned name of the Response Policy addressed by this request. |
Returns
| Type | Description |
|---|---|
| ResponsePoliciesResource.DeleteRequest |
Get(string, string)
Fetches the representation of an existing Response Policy.
Declaration
public virtual ResponsePoliciesResource.GetRequest Get(string project, string responsePolicy)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Identifies the project addressed by this request. |
| string | responsePolicy | User assigned name of the Response Policy addressed by this request. |
Returns
| Type | Description |
|---|---|
| ResponsePoliciesResource.GetRequest |
List(string)
Enumerates all Response Policies associated with a project.
Declaration
public virtual ResponsePoliciesResource.ListRequest List(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Identifies the project addressed by this request. |
Returns
| Type | Description |
|---|---|
| ResponsePoliciesResource.ListRequest |
Patch(ResponsePolicy, string, string)
Applies a partial update to an existing Response Policy.
Declaration
public virtual ResponsePoliciesResource.PatchRequest Patch(ResponsePolicy body, string project, string responsePolicy)
Parameters
| Type | Name | Description |
|---|---|---|
| ResponsePolicy | body | The body of the request. |
| string | project | Identifies the project addressed by this request. |
| string | responsePolicy | User assigned name of the response policy addressed by this request. |
Returns
| Type | Description |
|---|---|
| ResponsePoliciesResource.PatchRequest |
Update(ResponsePolicy, string, string)
Updates an existing Response Policy.
Declaration
public virtual ResponsePoliciesResource.UpdateRequest Update(ResponsePolicy body, string project, string responsePolicy)
Parameters
| Type | Name | Description |
|---|---|---|
| ResponsePolicy | body | The body of the request. |
| string | project | Identifies the project addressed by this request. |
| string | responsePolicy | User assigned name of the Response Policy addressed by this request. |
Returns
| Type | Description |
|---|---|
| ResponsePoliciesResource.UpdateRequest |