| Modifier and Type | Class and Description | 
|---|---|
| class  | Compute.RegionCommitments.AggregatedList | 
| class  | Compute.RegionCommitments.Get | 
| class  | Compute.RegionCommitments.Insert | 
| class  | Compute.RegionCommitments.List | 
| class  | Compute.RegionCommitments.TestIamPermissions | 
| class  | Compute.RegionCommitments.Update | 
| class  | Compute.RegionCommitments.UpdateReservations | 
| Constructor and Description | 
|---|
| RegionCommitments() | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.RegionCommitments.AggregatedList | aggregatedList(String project)Retrieves an aggregated list of commitments by region. | 
| Compute.RegionCommitments.Get | get(String project,
   String region,
   String commitment)Returns the specified commitment resource. | 
| Compute.RegionCommitments.Insert | insert(String project,
      String region,
      Commitment content)Creates a commitment in the specified project using the data included in the request. | 
| Compute.RegionCommitments.List | list(String project,
    String region)Retrieves a list of commitments contained within the specified region. | 
| Compute.RegionCommitments.TestIamPermissions | testIamPermissions(String project,
                  String region,
                  String resource,
                  TestPermissionsRequest content)Returns permissions that a caller has on the specified resource. | 
| Compute.RegionCommitments.Update | update(String project,
      String region,
      String commitment,
      Commitment content)Updates the specified commitment with the data included in the request. | 
| Compute.RegionCommitments.UpdateReservations | updateReservations(String project,
                  String region,
                  String commitment,
                  RegionCommitmentsUpdateReservationsRequest content)Transfers GPUs or local SSDs between reservations within commitments. | 
public Compute.RegionCommitments.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.RegionCommitments.Get get(String project, String region, String commitment) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.commitment - Name of the commitment to return.IOExceptionpublic Compute.RegionCommitments.Insert insert(String project, String region, Commitment content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.content - the CommitmentIOExceptionpublic Compute.RegionCommitments.List list(String project, String region) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.IOExceptionpublic Compute.RegionCommitments.TestIamPermissions testIamPermissions(String project, String region, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionpublic Compute.RegionCommitments.Update update(String project, String region, String commitment, Commitment content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.commitment - Name of the commitment for which auto renew is being updated.content - the CommitmentIOExceptionpublic Compute.RegionCommitments.UpdateReservations updateReservations(String project, String region, String commitment, RegionCommitmentsUpdateReservationsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.commitment - Name of the commitment for which the reservation is being updated.content - the RegionCommitmentsUpdateReservationsRequestIOExceptionCopyright © 2011–2022 Google. All rights reserved.