Show / Hide Table of Contents

Class ResponsePoliciesResource

The "responsePolicies" collection of methods.

Inheritance
System.Object
ResponsePoliciesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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.

System.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
System.String project

Identifies the project addressed by this request.

System.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
System.String project

Identifies the project addressed by this request.

System.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
System.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.

System.String project

Identifies the project addressed by this request.

System.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.

System.String project

Identifies the project addressed by this request.

System.String responsePolicy

User assigned name of the Response Policy addressed by this request.

Returns
Type Description
ResponsePoliciesResource.UpdateRequest
In This Article
Back to top Generated by DocFX