Skip to content

Commit 7252c8b

Browse files
chore: [vmmigration] regenerate API index (#8952)
* chore: regenerate API index Source-Link: googleapis/googleapis@b84b4fe Source-Link: https://github.com/googleapis/googleapis-gen/commit/916424c97215b12211037b5057b833447d073bbd Copy-Tag: eyJwIjoiamF2YS12bW1pZ3JhdGlvbi8uT3dsQm90LnlhbWwiLCJoIjoiOTE2NDI0Yzk3MjE1YjEyMjExMDM3YjUwNTdiODMzNDQ3ZDA3M2JiZCJ9 feat: AWS as a source feat: Cycles history feat: Cycle\Clone\Cutover steps PiperOrigin-RevId: 500733603 Source-Link: googleapis/googleapis@a1ff3b9 Source-Link: https://github.com/googleapis/googleapis-gen/commit/559c6de5a175b39e77391791f5e8cbf874c0ddd1 Copy-Tag: eyJwIjoiamF2YS12bW1pZ3JhdGlvbi8uT3dsQm90LnlhbWwiLCJoIjoiNTU5YzZkZTVhMTc1YjM5ZTc3MzkxNzkxZjVlOGNiZjg3NGMwZGRkMSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add missing dependencies Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Joe Wang <joewa@google.com>
1 parent 5117e77 commit 7252c8b

89 files changed

Lines changed: 37531 additions & 1113 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

java-vmmigration/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>google-cloud-vmmigration</artifactId>
22-
<version>1.6.0</version>
22+
<version>1.7.0</version>
2323
</dependency>
2424
```
2525

2626
If you are using Gradle without BOM, add this to your dependencies:
2727

2828
```Groovy
29-
implementation 'com.google.cloud:google-cloud-vmmigration:1.6.0'
29+
implementation 'com.google.cloud:google-cloud-vmmigration:1.7.0'
3030
```
3131

3232
If you are using SBT, add this to your dependencies:
3333

3434
```Scala
35-
libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.6.0"
35+
libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.7.0"
3636
```
3737

3838
## Authentication

java-vmmigration/google-cloud-vmmigration/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,15 @@
9797
<classifier>testlib</classifier>
9898
<scope>test</scope>
9999
</dependency>
100+
<dependency>
101+
<groupId>com.google.api.grpc</groupId>
102+
<artifactId>grpc-google-iam-v1</artifactId>
103+
<scope>test</scope>
104+
</dependency>
105+
<dependency>
106+
<groupId>com.google.api.grpc</groupId>
107+
<artifactId>grpc-google-common-protos</artifactId>
108+
<scope>test</scope>
109+
</dependency>
100110
</dependencies>
101111
</project>

java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationClient.java

Lines changed: 634 additions & 0 deletions
Large diffs are not rendered by default.

java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
import static com.google.cloud.vmmigration.v1.VmMigrationClient.ListCutoverJobsPagedResponse;
2121
import static com.google.cloud.vmmigration.v1.VmMigrationClient.ListDatacenterConnectorsPagedResponse;
2222
import static com.google.cloud.vmmigration.v1.VmMigrationClient.ListGroupsPagedResponse;
23+
import static com.google.cloud.vmmigration.v1.VmMigrationClient.ListLocationsPagedResponse;
2324
import static com.google.cloud.vmmigration.v1.VmMigrationClient.ListMigratingVmsPagedResponse;
25+
import static com.google.cloud.vmmigration.v1.VmMigrationClient.ListReplicationCyclesPagedResponse;
2426
import static com.google.cloud.vmmigration.v1.VmMigrationClient.ListSourcesPagedResponse;
2527
import static com.google.cloud.vmmigration.v1.VmMigrationClient.ListTargetProjectsPagedResponse;
2628
import static com.google.cloud.vmmigration.v1.VmMigrationClient.ListUtilizationReportsPagedResponse;
@@ -38,6 +40,10 @@
3840
import com.google.api.gax.rpc.PagedCallSettings;
3941
import com.google.api.gax.rpc.TransportChannelProvider;
4042
import com.google.api.gax.rpc.UnaryCallSettings;
43+
import com.google.cloud.location.GetLocationRequest;
44+
import com.google.cloud.location.ListLocationsRequest;
45+
import com.google.cloud.location.ListLocationsResponse;
46+
import com.google.cloud.location.Location;
4147
import com.google.cloud.vmmigration.v1.stub.VmMigrationStubSettings;
4248
import com.google.longrunning.Operation;
4349
import com.google.protobuf.Empty;
@@ -72,7 +78,10 @@
7278
* vmMigrationSettingsBuilder
7379
* .getSourceSettings()
7480
* .setRetrySettings(
75-
* vmMigrationSettingsBuilder.getSourceSettings().getRetrySettings().toBuilder()
81+
* vmMigrationSettingsBuilder
82+
* .getSourceSettings()
83+
* .getRetrySettings()
84+
* .toBuilder()
7685
* .setTotalTimeout(Duration.ofSeconds(30))
7786
* .build());
7887
* VmMigrationSettings vmMigrationSettings = vmMigrationSettingsBuilder.build();
@@ -492,6 +501,32 @@ public UnaryCallSettings<DeleteTargetProjectRequest, Operation> deleteTargetProj
492501
return ((VmMigrationStubSettings) getStubSettings()).deleteTargetProjectOperationSettings();
493502
}
494503

504+
/** Returns the object with the settings used for calls to listReplicationCycles. */
505+
public PagedCallSettings<
506+
ListReplicationCyclesRequest,
507+
ListReplicationCyclesResponse,
508+
ListReplicationCyclesPagedResponse>
509+
listReplicationCyclesSettings() {
510+
return ((VmMigrationStubSettings) getStubSettings()).listReplicationCyclesSettings();
511+
}
512+
513+
/** Returns the object with the settings used for calls to getReplicationCycle. */
514+
public UnaryCallSettings<GetReplicationCycleRequest, ReplicationCycle>
515+
getReplicationCycleSettings() {
516+
return ((VmMigrationStubSettings) getStubSettings()).getReplicationCycleSettings();
517+
}
518+
519+
/** Returns the object with the settings used for calls to listLocations. */
520+
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
521+
listLocationsSettings() {
522+
return ((VmMigrationStubSettings) getStubSettings()).listLocationsSettings();
523+
}
524+
525+
/** Returns the object with the settings used for calls to getLocation. */
526+
public UnaryCallSettings<GetLocationRequest, Location> getLocationSettings() {
527+
return ((VmMigrationStubSettings) getStubSettings()).getLocationSettings();
528+
}
529+
495530
public static final VmMigrationSettings create(VmMigrationStubSettings stub) throws IOException {
496531
return new VmMigrationSettings.Builder(stub.toBuilder()).build();
497532
}
@@ -1040,6 +1075,33 @@ public UnaryCallSettings.Builder<DeleteGroupRequest, Operation> deleteGroupSetti
10401075
return getStubSettingsBuilder().deleteTargetProjectOperationSettings();
10411076
}
10421077

1078+
/** Returns the builder for the settings used for calls to listReplicationCycles. */
1079+
public PagedCallSettings.Builder<
1080+
ListReplicationCyclesRequest,
1081+
ListReplicationCyclesResponse,
1082+
ListReplicationCyclesPagedResponse>
1083+
listReplicationCyclesSettings() {
1084+
return getStubSettingsBuilder().listReplicationCyclesSettings();
1085+
}
1086+
1087+
/** Returns the builder for the settings used for calls to getReplicationCycle. */
1088+
public UnaryCallSettings.Builder<GetReplicationCycleRequest, ReplicationCycle>
1089+
getReplicationCycleSettings() {
1090+
return getStubSettingsBuilder().getReplicationCycleSettings();
1091+
}
1092+
1093+
/** Returns the builder for the settings used for calls to listLocations. */
1094+
public PagedCallSettings.Builder<
1095+
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
1096+
listLocationsSettings() {
1097+
return getStubSettingsBuilder().listLocationsSettings();
1098+
}
1099+
1100+
/** Returns the builder for the settings used for calls to getLocation. */
1101+
public UnaryCallSettings.Builder<GetLocationRequest, Location> getLocationSettings() {
1102+
return getStubSettingsBuilder().getLocationSettings();
1103+
}
1104+
10431105
@Override
10441106
public VmMigrationSettings build() throws IOException {
10451107
return new VmMigrationSettings(this);

java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,15 @@
7979
"GetGroup": {
8080
"methods": ["getGroup", "getGroup", "getGroup", "getGroupCallable"]
8181
},
82+
"GetLocation": {
83+
"methods": ["getLocation", "getLocationCallable"]
84+
},
8285
"GetMigratingVm": {
8386
"methods": ["getMigratingVm", "getMigratingVm", "getMigratingVm", "getMigratingVmCallable"]
8487
},
88+
"GetReplicationCycle": {
89+
"methods": ["getReplicationCycle", "getReplicationCycle", "getReplicationCycle", "getReplicationCycleCallable"]
90+
},
8591
"GetSource": {
8692
"methods": ["getSource", "getSource", "getSource", "getSourceCallable"]
8793
},
@@ -103,9 +109,15 @@
103109
"ListGroups": {
104110
"methods": ["listGroups", "listGroups", "listGroups", "listGroupsPagedCallable", "listGroupsCallable"]
105111
},
112+
"ListLocations": {
113+
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
114+
},
106115
"ListMigratingVms": {
107116
"methods": ["listMigratingVms", "listMigratingVms", "listMigratingVms", "listMigratingVmsPagedCallable", "listMigratingVmsCallable"]
108117
},
118+
"ListReplicationCycles": {
119+
"methods": ["listReplicationCycles", "listReplicationCycles", "listReplicationCycles", "listReplicationCyclesPagedCallable", "listReplicationCyclesCallable"]
120+
},
109121
"ListSources": {
110122
"methods": ["listSources", "listSources", "listSources", "listSourcesPagedCallable", "listSourcesCallable"]
111123
},

0 commit comments

Comments
 (0)