Skip to content

Commit 44829b7

Browse files
1 parent 5f11808 commit 44829b7

22 files changed

+1602
-12
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-rev20240704-2.0.0</version>
25+
<version>v1-rev20240712-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-rev20240704-2.0.0'
38+
implementation 'com.google.apis:google-api-services-vmmigration:v1-rev20240712-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ public final class ImageImport extends com.google.api.client.json.GenericJson {
5858
@com.google.api.client.util.Key
5959
private Encryption encryption;
6060

61+
/**
62+
* Immutable. Target details for importing a machine image, will be used by ImageImportJob.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private MachineImageTargetDetails machineImageTargetDefaults;
67+
6168
/**
6269
* Output only. The resource path of the ImageImport.
6370
* The value may be {@code null}.
@@ -143,6 +150,23 @@ public ImageImport setEncryption(Encryption encryption) {
143150
return this;
144151
}
145152

153+
/**
154+
* Immutable. Target details for importing a machine image, will be used by ImageImportJob.
155+
* @return value or {@code null} for none
156+
*/
157+
public MachineImageTargetDetails getMachineImageTargetDefaults() {
158+
return machineImageTargetDefaults;
159+
}
160+
161+
/**
162+
* Immutable. Target details for importing a machine image, will be used by ImageImportJob.
163+
* @param machineImageTargetDefaults machineImageTargetDefaults or {@code null} for none
164+
*/
165+
public ImageImport setMachineImageTargetDefaults(MachineImageTargetDetails machineImageTargetDefaults) {
166+
this.machineImageTargetDefaults = machineImageTargetDefaults;
167+
return this;
168+
}
169+
146170
/**
147171
* Output only. The resource path of the ImageImport.
148172
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ public final class ImageImportJob extends com.google.api.client.json.GenericJson
7373
@com.google.api.client.util.Key
7474
private java.util.List<Status> errors;
7575

76+
/**
77+
* Output only. Target details used to import a machine image.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private MachineImageTargetDetails machineImageTargetDetails;
82+
7683
/**
7784
* Output only. The resource path of the ImageImportJob.
7885
* The value may be {@code null}.
@@ -207,6 +214,23 @@ public ImageImportJob setErrors(java.util.List<Status> errors) {
207214
return this;
208215
}
209216

217+
/**
218+
* Output only. Target details used to import a machine image.
219+
* @return value or {@code null} for none
220+
*/
221+
public MachineImageTargetDetails getMachineImageTargetDetails() {
222+
return machineImageTargetDetails;
223+
}
224+
225+
/**
226+
* Output only. Target details used to import a machine image.
227+
* @param machineImageTargetDetails machineImageTargetDetails or {@code null} for none
228+
*/
229+
public ImageImportJob setMachineImageTargetDetails(MachineImageTargetDetails machineImageTargetDetails) {
230+
this.machineImageTargetDetails = machineImageTargetDetails;
231+
return this;
232+
}
233+
210234
/**
211235
* Output only. The resource path of the ImageImportJob.
212236
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.vmmigration.v1.model;
18+
19+
/**
20+
* Parameters overriding decisions based on the source machine image configurations.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the VM Migration API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class MachineImageParametersOverrides extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The machine type to create the MachineImage with. If empty, the service will choose a
34+
* relevant machine type based on the information from the source image. For more information
35+
* about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String machineType;
40+
41+
/**
42+
* Optional. The machine type to create the MachineImage with. If empty, the service will choose a
43+
* relevant machine type based on the information from the source image. For more information
44+
* about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.lang.String getMachineType() {
48+
return machineType;
49+
}
50+
51+
/**
52+
* Optional. The machine type to create the MachineImage with. If empty, the service will choose a
53+
* relevant machine type based on the information from the source image. For more information
54+
* about machine types, please refer to https://cloud.google.com/compute/docs/machine-resource.
55+
* @param machineType machineType or {@code null} for none
56+
*/
57+
public MachineImageParametersOverrides setMachineType(java.lang.String machineType) {
58+
this.machineType = machineType;
59+
return this;
60+
}
61+
62+
@Override
63+
public MachineImageParametersOverrides set(String fieldName, Object value) {
64+
return (MachineImageParametersOverrides) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public MachineImageParametersOverrides clone() {
69+
return (MachineImageParametersOverrides) super.clone();
70+
}
71+
72+
}

0 commit comments

Comments
 (0)