Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

feat: Update Compute Engine API to revision 20220720 (#723) #713

Merged
merged 4 commits into from
Aug 5, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -1827,7 +1827,9 @@ public final ListErrorsPagedResponse listErrors(ListErrorsInstanceGroupManagersR
* currentAction, which indicates the action that the managed instance group is performing on the
* instance. For example, if the group is still creating an instance, the currentAction is
* CREATING. If a previous action failed, the list displays the errors for that failed action. The
* orderBy query parameter is not supported.
* orderBy query parameter is not supported. The `pageToken` query parameter is supported only in
* the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to
* `PAGINATED`.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1870,7 +1872,9 @@ public final ListManagedInstancesPagedResponse listManagedInstances(
* currentAction, which indicates the action that the managed instance group is performing on the
* instance. For example, if the group is still creating an instance, the currentAction is
* CREATING. If a previous action failed, the list displays the errors for that failed action. The
* orderBy query parameter is not supported.
* orderBy query parameter is not supported. The `pageToken` query parameter is supported only in
* the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to
* `PAGINATED`.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1911,7 +1915,9 @@ public final ListManagedInstancesPagedResponse listManagedInstances(
* currentAction, which indicates the action that the managed instance group is performing on the
* instance. For example, if the group is still creating an instance, the currentAction is
* CREATING. If a previous action failed, the list displays the errors for that failed action. The
* orderBy query parameter is not supported.
* orderBy query parameter is not supported. The `pageToken` query parameter is supported only in
* the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to
* `PAGINATED`.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1952,7 +1958,9 @@ public final ListManagedInstancesPagedResponse listManagedInstances(
* currentAction, which indicates the action that the managed instance group is performing on the
* instance. For example, if the group is still creating an instance, the currentAction is
* CREATING. If a previous action failed, the list displays the errors for that failed action. The
* orderBy query parameter is not supported.
* orderBy query parameter is not supported. The `pageToken` query parameter is supported only in
* the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to
* `PAGINATED`.
*
* <p>Sample code:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,8 @@ public final UnaryCallable<AttachDiskInstanceRequest, Operation> attachDiskCalla

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates multiple instances. Count specifies the number of instances to create.
* Creates multiple instances. Count specifies the number of instances to create. For more
* information, see About bulk creation of VMs.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -753,7 +754,8 @@ public final OperationFuture<Operation, Operation> bulkInsertAsync(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates multiple instances. Count specifies the number of instances to create.
* Creates multiple instances. Count specifies the number of instances to create. For more
* information, see About bulk creation of VMs.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -785,7 +787,8 @@ public final OperationFuture<Operation, Operation> bulkInsertAsync(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates multiple instances. Count specifies the number of instances to create.
* Creates multiple instances. Count specifies the number of instances to create. For more
* information, see About bulk creation of VMs.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -815,7 +818,8 @@ public final OperationFuture<Operation, Operation> bulkInsertAsync(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Creates multiple instances. Count specifies the number of instances to create.
* Creates multiple instances. Count specifies the number of instances to create. For more
* information, see About bulk creation of VMs.
*
* <p>Sample code:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,9 @@ public final ListErrorsPagedResponse listErrors(
/**
* Lists the instances in the managed instance group and instances that are scheduled to be
* created. The list includes any current actions that the group has scheduled for its instances.
* The orderBy query parameter is not supported.
* The orderBy query parameter is not supported. The `pageToken` query parameter is supported only
* in the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to
* `PAGINATED`.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1724,7 +1726,9 @@ public final ListManagedInstancesPagedResponse listManagedInstances(
/**
* Lists the instances in the managed instance group and instances that are scheduled to be
* created. The list includes any current actions that the group has scheduled for its instances.
* The orderBy query parameter is not supported.
* The orderBy query parameter is not supported. The `pageToken` query parameter is supported only
* in the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to
* `PAGINATED`.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1763,7 +1767,9 @@ public final ListManagedInstancesPagedResponse listManagedInstances(
/**
* Lists the instances in the managed instance group and instances that are scheduled to be
* created. The list includes any current actions that the group has scheduled for its instances.
* The orderBy query parameter is not supported.
* The orderBy query parameter is not supported. The `pageToken` query parameter is supported only
* in the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to
* `PAGINATED`.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1802,7 +1808,9 @@ public final ListManagedInstancesPagedResponse listManagedInstances(
/**
* Lists the instances in the managed instance group and instances that are scheduled to be
* created. The list includes any current actions that the group has scheduled for its instances.
* The orderBy query parameter is not supported.
* The orderBy query parameter is not supported. The `pageToken` query parameter is supported only
* in the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to
* `PAGINATED`.
*
* <p>Sample code:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ public void deleteExceptionTest() throws Exception {
public void getTest() throws Exception {
Disk expectedResponse =
Disk.newBuilder()
.setArchitecture("architecture839674195")
.setCreationTimestamp("creationTimestamp-370203401")
.setDescription("description-1724546052")
.setDiskEncryptionKey(CustomerEncryptionKey.newBuilder().build())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ public void deprecateExceptionTest() throws Exception {
public void getTest() throws Exception {
Image expectedResponse =
Image.newBuilder()
.setArchitecture("architecture839674195")
.setArchiveSizeBytes(-1766390198)
.setCreationTimestamp("creationTimestamp-370203401")
.setDeprecated(DeprecationStatus.newBuilder().build())
Expand Down Expand Up @@ -297,6 +298,7 @@ public void getExceptionTest() throws Exception {
public void getFromFamilyTest() throws Exception {
Image expectedResponse =
Image.newBuilder()
.setArchitecture("architecture839674195")
.setArchiveSizeBytes(-1766390198)
.setCreationTimestamp("creationTimestamp-370203401")
.setDeprecated(DeprecationStatus.newBuilder().build())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ public void getTest() throws Exception {
.addAllGuestAccelerators(new ArrayList<AcceleratorConfig>())
.setHostname("hostname-299803597")
.setId(3355)
.setKeyRevocationActionType("keyRevocationActionType-1643749939")
.setKind("kind3292052")
.setLabelFingerprint("labelFingerprint379449680")
.putAllLabels(new HashMap<String, String>())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ public void getTest() throws Exception {
.setCreationTimestamp("creationTimestamp-370203401")
.setDescription("description-1724546052")
.setEnableUlaInternalIpv6(true)
.setFirewallPolicy("firewallPolicy1819692626")
.setGatewayIPv4("gatewayIPv4-435687895")
.setId(3355)
.setInternalIpv6Range("internalIpv6Range1368723801")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ public void deleteExceptionTest() throws Exception {
public void getTest() throws Exception {
Disk expectedResponse =
Disk.newBuilder()
.setArchitecture("architecture839674195")
.setCreationTimestamp("creationTimestamp-370203401")
.setDescription("description-1724546052")
.setDiskEncryptionKey(CustomerEncryptionKey.newBuilder().build())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,10 @@ public void deleteExceptionTest() throws Exception {
public void getTest() throws Exception {
Snapshot expectedResponse =
Snapshot.newBuilder()
.setArchitecture("architecture839674195")
.setAutoCreated(true)
.setChainName("chainName1317895404")
.setCreationSizeBytes(1199141901)
.setCreationTimestamp("creationTimestamp-370203401")
.setDescription("description-1724546052")
.setDiskSizeGb(-757478089)
Expand All @@ -167,9 +169,12 @@ public void getTest() throws Exception {
.setSatisfiesPzs(true)
.setSelfLink("selfLink1191800166")
.setSnapshotEncryptionKey(CustomerEncryptionKey.newBuilder().build())
.setSnapshotType("snapshotType-931506402")
.setSourceDisk("sourceDisk-1111923624")
.setSourceDiskEncryptionKey(CustomerEncryptionKey.newBuilder().build())
.setSourceDiskId("sourceDiskId888256403")
.setSourceSnapshotSchedulePolicy("sourceSnapshotSchedulePolicy-1664282744")
.setSourceSnapshotSchedulePolicyId("sourceSnapshotSchedulePolicyId-1647880509")
.setStatus("status-892481550")
.setStorageBytes(2035244455)
.setStorageBytesStatus("storageBytesStatus-1653482814")
Expand Down
Loading