Skip to content

Commit d9305fc

Browse files
feat(vmmigration): update the api
#### vmmigration:v1 The following keys were added: - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel (Total Keys: 12) - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run (Total Keys: 12) - schemas.CancelDiskMigrationJobRequest (Total Keys: 2) - schemas.RunDiskMigrationJobRequest (Total Keys: 2) #### vmmigration:v1alpha1 The following keys were added: - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.cancel (Total Keys: 12) - resources.projects.resources.locations.resources.sources.resources.diskMigrationJobs.methods.run (Total Keys: 12) - schemas.CancelDiskMigrationJobRequest (Total Keys: 2) - schemas.RunDiskMigrationJobRequest (Total Keys: 2)
1 parent 861f77c commit d9305fc

12 files changed

+564
-46
lines changed

docs/dyn/vmmigration_v1.projects.locations.imageImports.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ <h3>Method Details</h3>
116116
&quot;cloudStorageUri&quot;: &quot;A String&quot;, # Immutable. The path to the Cloud Storage file from which the image should be imported.
117117
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the image import was created.
118118
&quot;diskImageTargetDefaults&quot;: { # The target details of the image resource that will be created by the import job. # Immutable. Target details for importing a disk image, will be used by ImageImportJob.
119-
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image.
119+
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
120120
&quot;A String&quot;,
121121
],
122122
&quot;dataDiskImageImport&quot;: { # Mentions that the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
@@ -149,7 +149,7 @@ <h3>Method Details</h3>
149149
&quot;A String&quot;,
150150
],
151151
&quot;diskImageTargetDetails&quot;: { # The target details of the image resource that will be created by the import job. # Output only. Target details used to import a disk image.
152-
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image.
152+
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
153153
&quot;A String&quot;,
154154
],
155155
&quot;dataDiskImageImport&quot;: { # Mentions that the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
@@ -307,7 +307,7 @@ <h3>Method Details</h3>
307307
&quot;cloudStorageUri&quot;: &quot;A String&quot;, # Immutable. The path to the Cloud Storage file from which the image should be imported.
308308
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the image import was created.
309309
&quot;diskImageTargetDefaults&quot;: { # The target details of the image resource that will be created by the import job. # Immutable. Target details for importing a disk image, will be used by ImageImportJob.
310-
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image.
310+
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
311311
&quot;A String&quot;,
312312
],
313313
&quot;dataDiskImageImport&quot;: { # Mentions that the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
@@ -340,7 +340,7 @@ <h3>Method Details</h3>
340340
&quot;A String&quot;,
341341
],
342342
&quot;diskImageTargetDetails&quot;: { # The target details of the image resource that will be created by the import job. # Output only. Target details used to import a disk image.
343-
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image.
343+
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
344344
&quot;A String&quot;,
345345
],
346346
&quot;dataDiskImageImport&quot;: { # Mentions that the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
@@ -438,7 +438,7 @@ <h3>Method Details</h3>
438438
&quot;cloudStorageUri&quot;: &quot;A String&quot;, # Immutable. The path to the Cloud Storage file from which the image should be imported.
439439
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time the image import was created.
440440
&quot;diskImageTargetDefaults&quot;: { # The target details of the image resource that will be created by the import job. # Immutable. Target details for importing a disk image, will be used by ImageImportJob.
441-
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image.
441+
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
442442
&quot;A String&quot;,
443443
],
444444
&quot;dataDiskImageImport&quot;: { # Mentions that the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
@@ -471,7 +471,7 @@ <h3>Method Details</h3>
471471
&quot;A String&quot;,
472472
],
473473
&quot;diskImageTargetDetails&quot;: { # The target details of the image resource that will be created by the import job. # Output only. Target details used to import a disk image.
474-
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image.
474+
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
475475
&quot;A String&quot;,
476476
],
477477
&quot;dataDiskImageImport&quot;: { # Mentions that the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.

docs/dyn/vmmigration_v1.projects.locations.imageImports.imageImportJobs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ <h3>Method Details</h3>
157157
&quot;A String&quot;,
158158
],
159159
&quot;diskImageTargetDetails&quot;: { # The target details of the image resource that will be created by the import job. # Output only. Target details used to import a disk image.
160-
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image.
160+
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
161161
&quot;A String&quot;,
162162
],
163163
&quot;dataDiskImageImport&quot;: { # Mentions that the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
@@ -256,7 +256,7 @@ <h3>Method Details</h3>
256256
&quot;A String&quot;,
257257
],
258258
&quot;diskImageTargetDetails&quot;: { # The target details of the image resource that will be created by the import job. # Output only. Target details used to import a disk image.
259-
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image.
259+
&quot;additionalLicenses&quot;: [ # Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
260260
&quot;A String&quot;,
261261
],
262262
&quot;dataDiskImageImport&quot;: { # Mentions that the image import is not using OS adaptation process. # Optional. Use to skip OS adaptation process.
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="vmmigration_v1.html">VM Migration API</a> . <a href="vmmigration_v1.projects.html">projects</a> . <a href="vmmigration_v1.projects.locations.html">locations</a> . <a href="vmmigration_v1.projects.locations.sources.html">sources</a> . <a href="vmmigration_v1.projects.locations.sources.diskMigrationJobs.html">diskMigrationJobs</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79+
<p class="firstline">Cancels the disk migration job.</p>
80+
<p class="toc_element">
81+
<code><a href="#close">close()</a></code></p>
82+
<p class="firstline">Close httplib2 connections.</p>
83+
<p class="toc_element">
84+
<code><a href="#run">run(name, body=None, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Runs the disk migration job.</p>
86+
<h3>Method Details</h3>
87+
<div class="method">
88+
<code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
89+
<pre>Cancels the disk migration job.
90+
91+
Args:
92+
name: string, Required. The name of the DiskMigrationJob. (required)
93+
body: object, The request body.
94+
The object takes the form of:
95+
96+
{ # Request message for &#x27;CancelDiskMigrationJob&#x27; request.
97+
}
98+
99+
x__xgafv: string, V1 error format.
100+
Allowed values
101+
1 - v1 error format
102+
2 - v2 error format
103+
104+
Returns:
105+
An object of the form:
106+
107+
{ # This resource represents a long-running operation that is the result of a network API call.
108+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
109+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
110+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
111+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
112+
{
113+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
114+
},
115+
],
116+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
117+
},
118+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
119+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
120+
},
121+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
122+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
123+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
124+
},
125+
}</pre>
126+
</div>
127+
128+
<div class="method">
129+
<code class="details" id="close">close()</code>
130+
<pre>Close httplib2 connections.</pre>
131+
</div>
132+
133+
<div class="method">
134+
<code class="details" id="run">run(name, body=None, x__xgafv=None)</code>
135+
<pre>Runs the disk migration job.
136+
137+
Args:
138+
name: string, Required. The name of the DiskMigrationJob. (required)
139+
body: object, The request body.
140+
The object takes the form of:
141+
142+
{ # Request message for &#x27;RunDiskMigrationJobRequest&#x27; request.
143+
}
144+
145+
x__xgafv: string, V1 error format.
146+
Allowed values
147+
1 - v1 error format
148+
2 - v2 error format
149+
150+
Returns:
151+
An object of the form:
152+
153+
{ # This resource represents a long-running operation that is the result of a network API call.
154+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
155+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
156+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
157+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
158+
{
159+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
160+
},
161+
],
162+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
163+
},
164+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
165+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
166+
},
167+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
168+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
169+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
170+
},
171+
}</pre>
172+
</div>
173+
174+
</body></html>

docs/dyn/vmmigration_v1.projects.locations.sources.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the datacenterConnectors Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="vmmigration_v1.projects.locations.sources.diskMigrationJobs.html">diskMigrationJobs()</a></code>
84+
</p>
85+
<p class="firstline">Returns the diskMigrationJobs Resource.</p>
86+
8287
<p class="toc_element">
8388
<code><a href="vmmigration_v1.projects.locations.sources.migratingVms.html">migratingVms()</a></code>
8489
</p>

0 commit comments

Comments
 (0)