Skip to content

Commit 0e0c298

Browse files
feat(migrationcenter): update the api
#### migrationcenter:v1alpha1 The following keys were added: - resources.projects.resources.locations.resources.reportConfigs.methods.create (Total Keys: 16) - resources.projects.resources.locations.resources.reportConfigs.methods.delete (Total Keys: 15) - resources.projects.resources.locations.resources.reportConfigs.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.reportConfigs.methods.list (Total Keys: 20) - resources.projects.resources.locations.resources.reportConfigs.resources.reports.methods.create (Total Keys: 16) - resources.projects.resources.locations.resources.reportConfigs.resources.reports.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.reportConfigs.resources.reports.methods.get (Total Keys: 13) - resources.projects.resources.locations.resources.reportConfigs.resources.reports.methods.list (Total Keys: 22) - schemas.ListReportConfigsResponse (Total Keys: 7) - schemas.ListReportsResponse (Total Keys: 7) - schemas.Money (Total Keys: 7) - schemas.Report (Total Keys: 100)
1 parent 2176c34 commit 0e0c298

File tree

4 files changed

+2098
-12
lines changed

4 files changed

+2098
-12
lines changed

docs/dyn/migrationcenter_v1alpha1.projects.locations.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ <h2>Instance Methods</h2>
9999
</p>
100100
<p class="firstline">Returns the preferenceSets Resource.</p>
101101

102+
<p class="toc_element">
103+
<code><a href="migrationcenter_v1alpha1.projects.locations.reportConfigs.html">reportConfigs()</a></code>
104+
</p>
105+
<p class="firstline">Returns the reportConfigs Resource.</p>
106+
102107
<p class="toc_element">
103108
<code><a href="migrationcenter_v1alpha1.projects.locations.sources.html">sources()</a></code>
104109
</p>
Lines changed: 281 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,281 @@
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="migrationcenter_v1alpha1.html">Migration Center API</a> . <a href="migrationcenter_v1alpha1.projects.html">projects</a> . <a href="migrationcenter_v1alpha1.projects.locations.html">locations</a> . <a href="migrationcenter_v1alpha1.projects.locations.reportConfigs.html">reportConfigs</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="migrationcenter_v1alpha1.projects.locations.reportConfigs.reports.html">reports()</a></code>
79+
</p>
80+
<p class="firstline">Returns the reports Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="#close">close()</a></code></p>
84+
<p class="firstline">Close httplib2 connections.</p>
85+
<p class="toc_element">
86+
<code><a href="#create">create(parent, body=None, reportConfigId=None, requestId=None, x__xgafv=None)</a></code></p>
87+
<p class="firstline">Creates a report configuration.</p>
88+
<p class="toc_element">
89+
<code><a href="#delete">delete(name, force=None, requestId=None, x__xgafv=None)</a></code></p>
90+
<p class="firstline">Deletes a ReportConfig.</p>
91+
<p class="toc_element">
92+
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93+
<p class="firstline">Gets details of a single ReportConfig.</p>
94+
<p class="toc_element">
95+
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96+
<p class="firstline">Lists ReportConfigs in a given project and location.</p>
97+
<p class="toc_element">
98+
<code><a href="#list_next">list_next()</a></code></p>
99+
<p class="firstline">Retrieves the next page of results.</p>
100+
<h3>Method Details</h3>
101+
<div class="method">
102+
<code class="details" id="close">close()</code>
103+
<pre>Close httplib2 connections.</pre>
104+
</div>
105+
106+
<div class="method">
107+
<code class="details" id="create">create(parent, body=None, reportConfigId=None, requestId=None, x__xgafv=None)</code>
108+
<pre>Creates a report configuration.
109+
110+
Args:
111+
parent: string, Required. Value for parent. (required)
112+
body: object, The request body.
113+
The object takes the form of:
114+
115+
{ # The groups and associated preference sets on which we can generate reports.
116+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
117+
&quot;description&quot;: &quot;A String&quot;, # Free-text description.
118+
&quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name. Maximum length is 63 characters.
119+
&quot;groupPreferencesetAssignments&quot;: [ # Collection of combinations of groups and preference sets.
120+
{ # Represents a combination of a group with a preference set.
121+
&quot;group&quot;: &quot;A String&quot;, # Name of the group.
122+
&quot;preferenceSet&quot;: &quot;A String&quot;, # Name of the Preference Set.
123+
},
124+
],
125+
&quot;name&quot;: &quot;A String&quot;, # Output only. Name of resource.
126+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated.
127+
}
128+
129+
reportConfigId: string, Required. User specified ID for the report config. It will become the last component of the report config name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: [a-z]([a-z0-9-]{0,61}[a-z0-9])?.
130+
requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
131+
x__xgafv: string, V1 error format.
132+
Allowed values
133+
1 - v1 error format
134+
2 - v2 error format
135+
136+
Returns:
137+
An object of the form:
138+
139+
{ # This resource represents a long-running operation that is the result of a network API call.
140+
&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.
141+
&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.
142+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
143+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
144+
{
145+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
146+
},
147+
],
148+
&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.
149+
},
150+
&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.
151+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
152+
},
153+
&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}`.
154+
&quot;response&quot;: { # The normal response of the operation in case of success. 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`.
155+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
156+
},
157+
}</pre>
158+
</div>
159+
160+
<div class="method">
161+
<code class="details" id="delete">delete(name, force=None, requestId=None, x__xgafv=None)</code>
162+
<pre>Deletes a ReportConfig.
163+
164+
Args:
165+
name: string, Required. Name of the resource. (required)
166+
force: boolean, Optional. If set to `true`, any child `Reports` of this entity will also be deleted. If set to `false`, the request only works if the resource has no children.
167+
requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
168+
x__xgafv: string, V1 error format.
169+
Allowed values
170+
1 - v1 error format
171+
2 - v2 error format
172+
173+
Returns:
174+
An object of the form:
175+
176+
{ # This resource represents a long-running operation that is the result of a network API call.
177+
&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.
178+
&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.
179+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
180+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
181+
{
182+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
183+
},
184+
],
185+
&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.
186+
},
187+
&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.
188+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
189+
},
190+
&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}`.
191+
&quot;response&quot;: { # The normal response of the operation in case of success. 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`.
192+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
193+
},
194+
}</pre>
195+
</div>
196+
197+
<div class="method">
198+
<code class="details" id="get">get(name, x__xgafv=None)</code>
199+
<pre>Gets details of a single ReportConfig.
200+
201+
Args:
202+
name: string, Required. Name of the resource. (required)
203+
x__xgafv: string, V1 error format.
204+
Allowed values
205+
1 - v1 error format
206+
2 - v2 error format
207+
208+
Returns:
209+
An object of the form:
210+
211+
{ # The groups and associated preference sets on which we can generate reports.
212+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
213+
&quot;description&quot;: &quot;A String&quot;, # Free-text description.
214+
&quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name. Maximum length is 63 characters.
215+
&quot;groupPreferencesetAssignments&quot;: [ # Collection of combinations of groups and preference sets.
216+
{ # Represents a combination of a group with a preference set.
217+
&quot;group&quot;: &quot;A String&quot;, # Name of the group.
218+
&quot;preferenceSet&quot;: &quot;A String&quot;, # Name of the Preference Set.
219+
},
220+
],
221+
&quot;name&quot;: &quot;A String&quot;, # Output only. Name of resource.
222+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated.
223+
}</pre>
224+
</div>
225+
226+
<div class="method">
227+
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
228+
<pre>Lists ReportConfigs in a given project and location.
229+
230+
Args:
231+
parent: string, Required. Parent value for `ListReportConfigsRequest`. (required)
232+
filter: string, Filtering results.
233+
orderBy: string, Field to sort by. See https://google.aip.dev/132#ordering for more details.
234+
pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
235+
pageToken: string, A token identifying a page of results the server should return.
236+
x__xgafv: string, V1 error format.
237+
Allowed values
238+
1 - v1 error format
239+
2 - v2 error format
240+
241+
Returns:
242+
An object of the form:
243+
244+
{ # Response message for listing report configs.
245+
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
246+
&quot;reportConfigs&quot;: [ # A list of report configs.
247+
{ # The groups and associated preference sets on which we can generate reports.
248+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created.
249+
&quot;description&quot;: &quot;A String&quot;, # Free-text description.
250+
&quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name. Maximum length is 63 characters.
251+
&quot;groupPreferencesetAssignments&quot;: [ # Collection of combinations of groups and preference sets.
252+
{ # Represents a combination of a group with a preference set.
253+
&quot;group&quot;: &quot;A String&quot;, # Name of the group.
254+
&quot;preferenceSet&quot;: &quot;A String&quot;, # Name of the Preference Set.
255+
},
256+
],
257+
&quot;name&quot;: &quot;A String&quot;, # Output only. Name of resource.
258+
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated.
259+
},
260+
],
261+
&quot;unreachable&quot;: [ # Locations that could not be reached.
262+
&quot;A String&quot;,
263+
],
264+
}</pre>
265+
</div>
266+
267+
<div class="method">
268+
<code class="details" id="list_next">list_next()</code>
269+
<pre>Retrieves the next page of results.
270+
271+
Args:
272+
previous_request: The request for the previous page. (required)
273+
previous_response: The response from the request for the previous page. (required)
274+
275+
Returns:
276+
A request object that you can call &#x27;execute()&#x27; on to request the next
277+
page. Returns None if there are no more items in the collection.
278+
</pre>
279+
</div>
280+
281+
</body></html>

0 commit comments

Comments
 (0)