RegionCommitments
class RegionCommitments extends Resource (View source)
The "regionCommitments" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$regionCommitments = $computeService->regionCommitments;
Methods
Retrieves an aggregated list of commitments by region. To prevent failure,
Google recommends that you set the returnPartialSuccess
parameter to
true
. (regionCommitments.aggregatedList)
Returns the specified commitment resource. (regionCommitments.get)
Creates a commitment in the specified project using the data included in the request. (regionCommitments.insert)
Retrieves a list of commitments contained within the specified region.
Updates the specified commitment with the data included in the request.
Details
CommitmentAggregatedList
aggregatedList(string $project, array $optParams = [])
Retrieves an aggregated list of commitments by region. To prevent failure,
Google recommends that you set the returnPartialSuccess
parameter to
true
. (regionCommitments.aggregatedList)
Commitment
get(string $project, string $region, string $commitment, array $optParams = [])
Returns the specified commitment resource. (regionCommitments.get)
Operation
insert(string $project, string $region, Commitment $postBody, array $optParams = [])
Creates a commitment in the specified project using the data included in the request. (regionCommitments.insert)
CommitmentList
listRegionCommitments(string $project, string $region, array $optParams = [])
Retrieves a list of commitments contained within the specified region.
(regionCommitments.listRegionCommitments)
Operation
update(string $project, string $region, string $commitment, Commitment $postBody, array $optParams = [])
Updates the specified commitment with the data included in the request.
Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: auto_renew. (regionCommitments.update)