Package | Description |
---|---|
com.google.api.services.compute | |
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
Compute.RegionCommitments.Insert |
Compute.RegionCommitments.insert(String project,
String region,
Commitment content)
Creates a commitment in the specified project using the data included in the request.
|
Compute.RegionCommitments.Update |
Compute.RegionCommitments.update(String project,
String region,
String commitment,
Commitment content)
Updates the specified commitment with the data included in the request.
|
Constructor and Description |
---|
Insert(String project,
String region,
Commitment content)
Creates a commitment in the specified project using the data included in the request.
|
Update(String project,
String region,
String commitment,
Commitment content)
Updates the specified commitment with the data included in the request.
|
Modifier and Type | Method and Description |
---|---|
Commitment |
Commitment.clone() |
Commitment |
Commitment.set(String fieldName,
Object value) |
Commitment |
Commitment.setAutoRenew(Boolean autoRenew)
Specifies whether to automatically renew the commitment at the end of its current term.
|
Commitment |
Commitment.setCategory(String category)
The category of the commitment; specifies whether the commitment is for hardware or software
resources.
|
Commitment |
Commitment.setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Commitment |
Commitment.setCustomEndTimestamp(String customEndTimestamp)
[Input Only] Optional, specifies the requested commitment end time in RFC3339 text format.
|
Commitment |
Commitment.setDescription(String description)
An optional description of the commitment.
|
Commitment |
Commitment.setEndTimestamp(String endTimestamp)
[Output Only] Commitment end time in RFC3339 text format.
|
Commitment |
Commitment.setExistingReservations(List<String> existingReservations) |
Commitment |
Commitment.setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
Commitment |
Commitment.setKind(String kind)
[Output Only] Type of the resource.
|
Commitment |
Commitment.setLicenseResource(LicenseResourceCommitment licenseResource)
The license specification required as part of a license commitment.
|
Commitment |
Commitment.setMergeSourceCommitments(List<String> mergeSourceCommitments)
The list of source commitments that you are merging to create the new merged commitment.
|
Commitment |
Commitment.setName(String name)
Name of the commitment.
|
Commitment |
Commitment.setPlan(String plan)
The minimum time duration that you commit to purchasing resources.
|
Commitment |
Commitment.setRegion(String region)
[Output Only] URL of the region where the commitment and committed resources are located.
|
Commitment |
Commitment.setReservations(List<Reservation> reservations)
The list of new reservations that you want to create and attach to this commitment.
|
Commitment |
Commitment.setResources(List<ResourceCommitment> resources)
The list of all the hardware resources, with their types and amounts, that you want to commit
to.
|
Commitment |
Commitment.setResourceStatus(CommitmentResourceStatus resourceStatus)
[Output Only] Status information for Commitment resource.
|
Commitment |
Commitment.setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
Commitment |
Commitment.setSplitSourceCommitment(String splitSourceCommitment)
The source commitment from which you are transferring resources to create the new split
commitment.
|
Commitment |
Commitment.setStartTimestamp(String startTimestamp)
[Output Only] Commitment start time in RFC3339 text format.
|
Commitment |
Commitment.setStatus(String status)
[Output Only] Status of the commitment with regards to eventual expiration (each commitment has
an end date defined).
|
Commitment |
Commitment.setStatusMessage(String statusMessage)
[Output Only] An optional, human-readable explanation of the status.
|
Commitment |
Commitment.setType(String type)
The type of commitment; specifies the machine series for which you want to commit to purchasing
resources.
|
Modifier and Type | Method and Description |
---|---|
List<Commitment> |
CommitmentsScopedList.getCommitments()
[Output Only] The list of commitments contained in this scope.
|
List<Commitment> |
CommitmentList.getItems()
A list of Commitment resources.
|
Modifier and Type | Method and Description |
---|---|
CommitmentsScopedList |
CommitmentsScopedList.setCommitments(List<Commitment> commitments)
[Output Only] The list of commitments contained in this scope.
|
CommitmentList |
CommitmentList.setItems(List<Commitment> items)
A list of Commitment resources.
|
Copyright © 2011–2025 Google. All rights reserved.