Skip to content

Commit 83644f1

Browse files
1 parent 85125fb commit 83644f1

24 files changed

+450
-992
lines changed

clients/google-api-services-vmmigration/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-vmmigration</artifactId>
25-
<version>v1-rev20240712-2.0.0</version>
25+
<version>v1-rev20240808-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-vmmigration:v1-rev20240712-2.0.0'
38+
implementation 'com.google.apis:google-api-services-vmmigration:v1-rev20240808-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-vmmigration/v1/2.0.0/com/google/api/services/vmmigration/v1/VMMigrationService.java

Lines changed: 0 additions & 283 deletions
Original file line numberDiff line numberDiff line change
@@ -5693,289 +5693,6 @@ public UpgradeAppliance set(String parameterName, Object value) {
56935693
}
56945694
}
56955695

5696-
}
5697-
/**
5698-
* An accessor for creating requests from the DiskMigrationJobs collection.
5699-
*
5700-
* <p>The typical use is:</p>
5701-
* <pre>
5702-
* {@code VMMigrationService vmmigration = new VMMigrationService(...);}
5703-
* {@code VMMigrationService.DiskMigrationJobs.List request = vmmigration.diskMigrationJobs().list(parameters ...)}
5704-
* </pre>
5705-
*
5706-
* @return the resource collection
5707-
*/
5708-
public DiskMigrationJobs diskMigrationJobs() {
5709-
return new DiskMigrationJobs();
5710-
}
5711-
5712-
/**
5713-
* The "diskMigrationJobs" collection of methods.
5714-
*/
5715-
public class DiskMigrationJobs {
5716-
5717-
/**
5718-
* Cancels the disk migration job.
5719-
*
5720-
* Create a request for the method "diskMigrationJobs.cancel".
5721-
*
5722-
* This request holds the parameters needed by the vmmigration server. After setting any optional
5723-
* parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
5724-
*
5725-
* @param name Required. The name of the DiskMigrationJob.
5726-
* @param content the {@link com.google.api.services.vmmigration.v1.model.CancelDiskMigrationJobRequest}
5727-
* @return the request
5728-
*/
5729-
public Cancel cancel(java.lang.String name, com.google.api.services.vmmigration.v1.model.CancelDiskMigrationJobRequest content) throws java.io.IOException {
5730-
Cancel result = new Cancel(name, content);
5731-
initialize(result);
5732-
return result;
5733-
}
5734-
5735-
public class Cancel extends VMMigrationServiceRequest<com.google.api.services.vmmigration.v1.model.Operation> {
5736-
5737-
private static final String REST_PATH = "v1/{+name}:cancel";
5738-
5739-
private final java.util.regex.Pattern NAME_PATTERN =
5740-
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$");
5741-
5742-
/**
5743-
* Cancels the disk migration job.
5744-
*
5745-
* Create a request for the method "diskMigrationJobs.cancel".
5746-
*
5747-
* This request holds the parameters needed by the the vmmigration server. After setting any
5748-
* optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
5749-
* <p> {@link
5750-
* Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
5751-
* be called to initialize this instance immediately after invoking the constructor. </p>
5752-
*
5753-
* @param name Required. The name of the DiskMigrationJob.
5754-
* @param content the {@link com.google.api.services.vmmigration.v1.model.CancelDiskMigrationJobRequest}
5755-
* @since 1.13
5756-
*/
5757-
protected Cancel(java.lang.String name, com.google.api.services.vmmigration.v1.model.CancelDiskMigrationJobRequest content) {
5758-
super(VMMigrationService.this, "POST", REST_PATH, content, com.google.api.services.vmmigration.v1.model.Operation.class);
5759-
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
5760-
if (!getSuppressPatternChecks()) {
5761-
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
5762-
"Parameter name must conform to the pattern " +
5763-
"^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$");
5764-
}
5765-
}
5766-
5767-
@Override
5768-
public Cancel set$Xgafv(java.lang.String $Xgafv) {
5769-
return (Cancel) super.set$Xgafv($Xgafv);
5770-
}
5771-
5772-
@Override
5773-
public Cancel setAccessToken(java.lang.String accessToken) {
5774-
return (Cancel) super.setAccessToken(accessToken);
5775-
}
5776-
5777-
@Override
5778-
public Cancel setAlt(java.lang.String alt) {
5779-
return (Cancel) super.setAlt(alt);
5780-
}
5781-
5782-
@Override
5783-
public Cancel setCallback(java.lang.String callback) {
5784-
return (Cancel) super.setCallback(callback);
5785-
}
5786-
5787-
@Override
5788-
public Cancel setFields(java.lang.String fields) {
5789-
return (Cancel) super.setFields(fields);
5790-
}
5791-
5792-
@Override
5793-
public Cancel setKey(java.lang.String key) {
5794-
return (Cancel) super.setKey(key);
5795-
}
5796-
5797-
@Override
5798-
public Cancel setOauthToken(java.lang.String oauthToken) {
5799-
return (Cancel) super.setOauthToken(oauthToken);
5800-
}
5801-
5802-
@Override
5803-
public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) {
5804-
return (Cancel) super.setPrettyPrint(prettyPrint);
5805-
}
5806-
5807-
@Override
5808-
public Cancel setQuotaUser(java.lang.String quotaUser) {
5809-
return (Cancel) super.setQuotaUser(quotaUser);
5810-
}
5811-
5812-
@Override
5813-
public Cancel setUploadType(java.lang.String uploadType) {
5814-
return (Cancel) super.setUploadType(uploadType);
5815-
}
5816-
5817-
@Override
5818-
public Cancel setUploadProtocol(java.lang.String uploadProtocol) {
5819-
return (Cancel) super.setUploadProtocol(uploadProtocol);
5820-
}
5821-
5822-
/** Required. The name of the DiskMigrationJob. */
5823-
@com.google.api.client.util.Key
5824-
private java.lang.String name;
5825-
5826-
/** Required. The name of the DiskMigrationJob.
5827-
*/
5828-
public java.lang.String getName() {
5829-
return name;
5830-
}
5831-
5832-
/** Required. The name of the DiskMigrationJob. */
5833-
public Cancel setName(java.lang.String name) {
5834-
if (!getSuppressPatternChecks()) {
5835-
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
5836-
"Parameter name must conform to the pattern " +
5837-
"^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$");
5838-
}
5839-
this.name = name;
5840-
return this;
5841-
}
5842-
5843-
@Override
5844-
public Cancel set(String parameterName, Object value) {
5845-
return (Cancel) super.set(parameterName, value);
5846-
}
5847-
}
5848-
/**
5849-
* Runs the disk migration job.
5850-
*
5851-
* Create a request for the method "diskMigrationJobs.run".
5852-
*
5853-
* This request holds the parameters needed by the vmmigration server. After setting any optional
5854-
* parameters, call the {@link Run#execute()} method to invoke the remote operation.
5855-
*
5856-
* @param name Required. The name of the DiskMigrationJob.
5857-
* @param content the {@link com.google.api.services.vmmigration.v1.model.RunDiskMigrationJobRequest}
5858-
* @return the request
5859-
*/
5860-
public Run run(java.lang.String name, com.google.api.services.vmmigration.v1.model.RunDiskMigrationJobRequest content) throws java.io.IOException {
5861-
Run result = new Run(name, content);
5862-
initialize(result);
5863-
return result;
5864-
}
5865-
5866-
public class Run extends VMMigrationServiceRequest<com.google.api.services.vmmigration.v1.model.Operation> {
5867-
5868-
private static final String REST_PATH = "v1/{+name}:run";
5869-
5870-
private final java.util.regex.Pattern NAME_PATTERN =
5871-
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$");
5872-
5873-
/**
5874-
* Runs the disk migration job.
5875-
*
5876-
* Create a request for the method "diskMigrationJobs.run".
5877-
*
5878-
* This request holds the parameters needed by the the vmmigration server. After setting any
5879-
* optional parameters, call the {@link Run#execute()} method to invoke the remote operation. <p>
5880-
* {@link Run#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
5881-
* must be called to initialize this instance immediately after invoking the constructor. </p>
5882-
*
5883-
* @param name Required. The name of the DiskMigrationJob.
5884-
* @param content the {@link com.google.api.services.vmmigration.v1.model.RunDiskMigrationJobRequest}
5885-
* @since 1.13
5886-
*/
5887-
protected Run(java.lang.String name, com.google.api.services.vmmigration.v1.model.RunDiskMigrationJobRequest content) {
5888-
super(VMMigrationService.this, "POST", REST_PATH, content, com.google.api.services.vmmigration.v1.model.Operation.class);
5889-
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
5890-
if (!getSuppressPatternChecks()) {
5891-
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
5892-
"Parameter name must conform to the pattern " +
5893-
"^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$");
5894-
}
5895-
}
5896-
5897-
@Override
5898-
public Run set$Xgafv(java.lang.String $Xgafv) {
5899-
return (Run) super.set$Xgafv($Xgafv);
5900-
}
5901-
5902-
@Override
5903-
public Run setAccessToken(java.lang.String accessToken) {
5904-
return (Run) super.setAccessToken(accessToken);
5905-
}
5906-
5907-
@Override
5908-
public Run setAlt(java.lang.String alt) {
5909-
return (Run) super.setAlt(alt);
5910-
}
5911-
5912-
@Override
5913-
public Run setCallback(java.lang.String callback) {
5914-
return (Run) super.setCallback(callback);
5915-
}
5916-
5917-
@Override
5918-
public Run setFields(java.lang.String fields) {
5919-
return (Run) super.setFields(fields);
5920-
}
5921-
5922-
@Override
5923-
public Run setKey(java.lang.String key) {
5924-
return (Run) super.setKey(key);
5925-
}
5926-
5927-
@Override
5928-
public Run setOauthToken(java.lang.String oauthToken) {
5929-
return (Run) super.setOauthToken(oauthToken);
5930-
}
5931-
5932-
@Override
5933-
public Run setPrettyPrint(java.lang.Boolean prettyPrint) {
5934-
return (Run) super.setPrettyPrint(prettyPrint);
5935-
}
5936-
5937-
@Override
5938-
public Run setQuotaUser(java.lang.String quotaUser) {
5939-
return (Run) super.setQuotaUser(quotaUser);
5940-
}
5941-
5942-
@Override
5943-
public Run setUploadType(java.lang.String uploadType) {
5944-
return (Run) super.setUploadType(uploadType);
5945-
}
5946-
5947-
@Override
5948-
public Run setUploadProtocol(java.lang.String uploadProtocol) {
5949-
return (Run) super.setUploadProtocol(uploadProtocol);
5950-
}
5951-
5952-
/** Required. The name of the DiskMigrationJob. */
5953-
@com.google.api.client.util.Key
5954-
private java.lang.String name;
5955-
5956-
/** Required. The name of the DiskMigrationJob.
5957-
*/
5958-
public java.lang.String getName() {
5959-
return name;
5960-
}
5961-
5962-
/** Required. The name of the DiskMigrationJob. */
5963-
public Run setName(java.lang.String name) {
5964-
if (!getSuppressPatternChecks()) {
5965-
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
5966-
"Parameter name must conform to the pattern " +
5967-
"^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$");
5968-
}
5969-
this.name = name;
5970-
return this;
5971-
}
5972-
5973-
@Override
5974-
public Run set(String parameterName, Object value) {
5975-
return (Run) super.set(parameterName, value);
5976-
}
5977-
}
5978-
59795696
}
59805697
/**
59815698
* An accessor for creating requests from the MigratingVms collection.

clients/google-api-services-vmmigration/v1/2.0.0/com/google/api/services/vmmigration/v1/model/AwsSourceDetails.java

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,6 @@ public final class AwsSourceDetails extends com.google.api.client.json.GenericJs
7373
@com.google.api.client.util.Key
7474
private java.util.Map<String, java.lang.String> migrationResourcesUserTags;
7575

76-
/**
77-
* Output only. Information about the network coniguration of the source. Only gatherred upon
78-
* request.
79-
* The value may be {@code null}.
80-
*/
81-
@com.google.api.client.util.Key
82-
private NetworkInsights networkInsights;
83-
8476
/**
8577
* Output only. The source's public IP. All communication initiated by this source will originate
8678
* from this IP.
@@ -202,25 +194,6 @@ public AwsSourceDetails setMigrationResourcesUserTags(java.util.Map<String, java
202194
return this;
203195
}
204196

205-
/**
206-
* Output only. Information about the network coniguration of the source. Only gatherred upon
207-
* request.
208-
* @return value or {@code null} for none
209-
*/
210-
public NetworkInsights getNetworkInsights() {
211-
return networkInsights;
212-
}
213-
214-
/**
215-
* Output only. Information about the network coniguration of the source. Only gatherred upon
216-
* request.
217-
* @param networkInsights networkInsights or {@code null} for none
218-
*/
219-
public AwsSourceDetails setNetworkInsights(NetworkInsights networkInsights) {
220-
this.networkInsights = networkInsights;
221-
return this;
222-
}
223-
224197
/**
225198
* Output only. The source's public IP. All communication initiated by this source will originate
226199
* from this IP.

clients/google-api-services-vmmigration/v1/2.0.0/com/google/api/services/vmmigration/v1/model/CancelDiskMigrationJobRequest.java

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)