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