Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-compute/alpha/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-compute</artifactId>
<version>alpha-rev20260520-2.0.0</version>
<version>alpha-rev20260530-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-compute:alpha-rev20260520-2.0.0'
implementation 'com.google.apis:google-api-services-compute:alpha-rev20260530-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@ public final class Commitment extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private CommitmentParams params;

/**
* Optional. Used when category is PERSISTENT_DISK. Each entry in the list represents a commitment
* to a specific Persistent Disk product type and dimension.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<PersistentDiskResourceCommitment> persistentDiskResources;

/**
* The minimum time duration that you commit to purchasing resources. The plan that you choose
* determines the preset term length of the commitment (which is 1 year or 3 years) and affects
Expand Down Expand Up @@ -512,6 +520,25 @@ public Commitment setParams(CommitmentParams params) {
return this;
}

/**
* Optional. Used when category is PERSISTENT_DISK. Each entry in the list represents a commitment
* to a specific Persistent Disk product type and dimension.
* @return value or {@code null} for none
*/
public java.util.List<PersistentDiskResourceCommitment> getPersistentDiskResources() {
return persistentDiskResources;
}

/**
* Optional. Used when category is PERSISTENT_DISK. Each entry in the list represents a commitment
* to a specific Persistent Disk product type and dimension.
* @param persistentDiskResources persistentDiskResources or {@code null} for none
*/
public Commitment setPersistentDiskResources(java.util.List<PersistentDiskResourceCommitment> persistentDiskResources) {
this.persistentDiskResources = persistentDiskResources;
return this;
}

/**
* The minimum time duration that you commit to purchasing resources. The plan that you choose
* determines the preset term length of the commitment (which is 1 year or 3 years) and affects
Expand Down
Loading
Loading