Show / Hide Table of Contents

Class ReservationSubBlocksResource

The "reservationSubBlocks" collection of methods.

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

Constructors

ReservationSubBlocksResource(IClientService)

Constructs a new resource.

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

Methods

Get(string, string, string, string)

Retrieves information about the specified reservation subBlock.

Declaration
public virtual ReservationSubBlocksResource.GetRequest Get(string project, string zone, string parentName, string reservationSubBlock)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

Name of the zone for this request. Zone name should conform to RFC1035.

string parentName

The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}

string reservationSubBlock

The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.

Returns
Type Description
ReservationSubBlocksResource.GetRequest

GetIamPolicy(string, string, string, string)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Declaration
public virtual ReservationSubBlocksResource.GetIamPolicyRequest GetIamPolicy(string project, string zone, string parentResource, string resource)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

The name of the zone for this request.

string parentResource

Name or id of parent resource of the resource for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
ReservationSubBlocksResource.GetIamPolicyRequest

List(string, string, string)

Retrieves a list of reservation subBlocks under a single reservation.

Declaration
public virtual ReservationSubBlocksResource.ListRequest List(string project, string zone, string parentName)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

Name of the zone for this request. Zone name should conform to RFC1035.

string parentName

The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}

Returns
Type Description
ReservationSubBlocksResource.ListRequest

PerformMaintenance(string, string, string, string)

Allows customers to perform maintenance on a reservation subBlock

Declaration
public virtual ReservationSubBlocksResource.PerformMaintenanceRequest PerformMaintenance(string project, string zone, string parentName, string reservationSubBlock)
Parameters
Type Name Description
string project

Project ID for this request.

string zone

Name of the zone for this request. Zone name should conform to RFC1035.

string parentName

The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}

string reservationSubBlock

The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.

Returns
Type Description
ReservationSubBlocksResource.PerformMaintenanceRequest

ReportFaulty(ReservationSubBlocksReportFaultyRequest, string, string, string, string)

Allows customers to report a faulty subBlock.

Declaration
public virtual ReservationSubBlocksResource.ReportFaultyRequest ReportFaulty(ReservationSubBlocksReportFaultyRequest body, string project, string zone, string parentName, string reservationSubBlock)
Parameters
Type Name Description
ReservationSubBlocksReportFaultyRequest body

The body of the request.

string project

Project ID for this request.

string zone

Name of the zone for this request. Zone name should conform to RFC1035.

string parentName

The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}

string reservationSubBlock

The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.

Returns
Type Description
ReservationSubBlocksResource.ReportFaultyRequest

SetIamPolicy(ZoneSetNestedPolicyRequest, string, string, string, string)

Sets the access control policy on the specified resource. Replaces any existing policy.

Declaration
public virtual ReservationSubBlocksResource.SetIamPolicyRequest SetIamPolicy(ZoneSetNestedPolicyRequest body, string project, string zone, string parentResource, string resource)
Parameters
Type Name Description
ZoneSetNestedPolicyRequest body

The body of the request.

string project

Project ID for this request.

string zone

The name of the zone for this request.

string parentResource

Name or id of parent resource of the resource for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
ReservationSubBlocksResource.SetIamPolicyRequest

TestIamPermissions(TestPermissionsRequest, string, string, string, string)

Returns permissions that a caller has on the specified resource.

Declaration
public virtual ReservationSubBlocksResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string zone, string parentResource, string resource)
Parameters
Type Name Description
TestPermissionsRequest body

The body of the request.

string project

Project ID for this request.

string zone

The name of the zone for this request.

string parentResource

Name or id of parent resource of the resource for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
ReservationSubBlocksResource.TestIamPermissionsRequest
In this article
Back to top Generated by DocFX