| 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. | 
| Constructor and Description | 
|---|
| Insert(String project,
      String region,
      Commitment content)Creates a commitment in the specified project using the data included in the request. | 
| Modifier and Type | Method and Description | 
|---|---|
| Commitment | Commitment. clone() | 
| Commitment | Commitment. set(String fieldName,
   Object value) | 
| Commitment | Commitment. setCategory(String category)The category of the commitment. | 
| Commitment | Commitment. setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| Commitment | Commitment. setDescription(String description)An optional description of this resource. | 
| Commitment | Commitment. setEndTimestamp(String endTimestamp)[Output Only] Commitment end time in RFC3339 text format. | 
| 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. setName(String name)Name of the resource. | 
| Commitment | Commitment. setPlan(String plan)The plan for this commitment, which determines duration and discount rate. | 
| Commitment | Commitment. setRegion(String region)[Output Only] URL of the region where this commitment may be used. | 
| Commitment | Commitment. setReservations(List<Reservation> reservations)List of reservations in this commitment. | 
| Commitment | Commitment. setResources(List<ResourceCommitment> resources)A list of commitment amounts for particular resources. | 
| Commitment | Commitment. setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Commitment> | CommitmentsScopedList. getCommitments()[Output Only] A 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] A list of commitments contained in this scope. | 
| CommitmentList | CommitmentList. setItems(List<Commitment> items)A list of Commitment resources. | 
Copyright © 2011–2021 Google. All rights reserved.