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