Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.RestorePlansResource

The "restorePlans" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.RestorePlansResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.BackupforGKE.v1
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RestorePlansResource

Constructors

RestorePlansResource(IClientService)

Constructs a new resource.

Declaration
public RestorePlansResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Restores

Gets the Restores resource.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.RestoresResource Restores { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.RestoresResource

Methods

Create(RestorePlan, string)

Creates a new RestorePlan in a given location.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.CreateRequest Create(RestorePlan body, string parent)
Parameters
Type Name Description
RestorePlan body

The body of the request.

string parent

Required. The location within which to create the RestorePlan. Format: projects/*/locations/*

Returns
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.CreateRequest

Delete(string)

Deletes an existing RestorePlan.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Fully qualified RestorePlan name. Format: projects/*/locations/*/restorePlans/*

Returns
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.DeleteRequest

Get(string)

Retrieve the details of a single RestorePlan.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Fully qualified RestorePlan name. Format: projects/*/locations/*/restorePlans/*

Returns
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.GetRequest

GetIamPolicy(string)

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type Name Description
string resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.GetIamPolicyRequest

GetTags(string)

Returns tags directly bound to a GCP resource.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.GetTagsRequest GetTags(string name)
Parameters
Type Name Description
string name

Required. The full resource name of the service resource.

Returns
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.GetTagsRequest

List(string)

Lists RestorePlans in a given location.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The location that contains the RestorePlans to list. Format: projects/*/locations/*

Returns
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.ListRequest

Patch(RestorePlan, string)

Update a RestorePlan.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.PatchRequest Patch(RestorePlan body, string name)
Parameters
Type Name Description
RestorePlan body

The body of the request.

string name

Output only. Identifier. The full name of the RestorePlan resource. Format: projects/*/locations/*/restorePlans/*.

Returns
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.PatchRequest

SetIamPolicy(SetIamPolicyRequest, string)

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type Name Description
SetIamPolicyRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.SetIamPolicyRequest

SetTags(SetTagsRequest, string)

Updates tags directly bound to a GCP resource.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.SetTagsRequest SetTags(SetTagsRequest body, string name)
Parameters
Type Name Description
SetTagsRequest body

The body of the request.

string name

Required. The full resource name of the service resource.

Returns
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.SetTagsRequest

TestIamPermissions(TestIamPermissionsRequest, string)

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Declaration
public virtual ProjectsResource.LocationsResource.RestorePlansResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type Name Description
TestIamPermissionsRequest body

The body of the request.

string resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

Returns
Type Description
ProjectsResource.LocationsResource.RestorePlansResource.TestIamPermissionsRequest
In this article
Back to top Generated by DocFX