Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 12effe4

Browse files
committedDec 20, 2022
feat(datamigration): update the api
#### datamigration:v1 The following keys were added: - resources.projects.resources.locations.resources.connectionProfiles.methods.create.parameters.skipValidation (Total Keys: 2) - resources.projects.resources.locations.resources.connectionProfiles.methods.create.parameters.validateOnly (Total Keys: 2) - resources.projects.resources.locations.resources.connectionProfiles.methods.patch.parameters.skipValidation (Total Keys: 2) - resources.projects.resources.locations.resources.connectionProfiles.methods.patch.parameters.validateOnly (Total Keys: 2) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.apply (Total Keys: 12) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.commit (Total Keys: 12) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.convert (Total Keys: 12) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.create (Total Keys: 16) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.describeDatabaseEntities (Total Keys: 24) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.list (Total Keys: 18) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.patch (Total Keys: 17) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.rollback (Total Keys: 12) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.searchBackgroundJobs (Total Keys: 19) - resources.projects.resources.locations.resources.conversionWorkspaces.methods.seed (Total Keys: 12) - resources.projects.resources.locations.resources.conversionWorkspaces.resources.mappingRules.methods.import (Total Keys: 12) - resources.projects.resources.locations.resources.privateConnections.methods.create (Total Keys: 16) - resources.projects.resources.locations.resources.privateConnections.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.privateConnections.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.privateConnections.methods.list (Total Keys: 20) - schemas.ApplyConversionWorkspaceRequest (Total Keys: 4) - schemas.BackgroundJobLogEntry (Total Keys: 13) - schemas.ColumnEntity (Total Keys: 28) - schemas.CommitConversionWorkspaceRequest (Total Keys: 3) - schemas.ConnectionProfile.properties.oracle.$ref (Total Keys: 1) - schemas.ConstraintEntity (Total Keys: 12) - schemas.ConversionWorkspace (Total Keys: 25) - schemas.ConvertConversionWorkspaceRequest (Total Keys: 4) - schemas.DatabaseEngineInfo (Total Keys: 4) - schemas.DatabaseEntity (Total Keys: 16) - schemas.DescribeDatabaseEntitiesResponse (Total Keys: 5) - schemas.EntityMapping (Total Keys: 10) - schemas.ForwardSshTunnelConnectivity (Total Keys: 8) - schemas.FunctionEntity (Total Keys: 5) - schemas.ImportMappingRulesRequest (Total Keys: 6) - schemas.ImportRulesJobDetails (Total Keys: 5) - schemas.IndexEntity (Total Keys: 9) - schemas.ListConversionWorkspacesResponse (Total Keys: 7) - schemas.ListPrivateConnectionsResponse (Total Keys: 7) - schemas.MigrationJob.properties.conversionWorkspace.$ref (Total Keys: 1) - schemas.MigrationJob.properties.filter.type (Total Keys: 1) - schemas.OracleConnectionProfile (Total Keys: 13) - schemas.PackageEntity (Total Keys: 6) - schemas.PostgreSqlConnectionProfile.properties.privateServiceConnectConnectivity.$ref (Total Keys: 1) - schemas.PostgreSqlConnectionProfile.properties.staticIpConnectivity.$ref (Total Keys: 1) - schemas.PrivateConnection (Total Keys: 17) - schemas.PrivateConnectivity (Total Keys: 3) - schemas.PrivateServiceConnectConnectivity (Total Keys: 3) - schemas.RollbackConversionWorkspaceRequest (Total Keys: 2) - schemas.RulesFile (Total Keys: 4) - schemas.SchemaEntity (Total Keys: 4) - schemas.SearchBackgroundJobsResponse (Total Keys: 4) - schemas.SeedConversionWorkspaceRequest (Total Keys: 5) - schemas.SeedJobDetails (Total Keys: 3) - schemas.SequenceEntity (Total Keys: 15) - schemas.StaticServiceIpConnectivity (Total Keys: 2) - schemas.StoredProcedureEntity (Total Keys: 5) - schemas.SynonymEntity (Total Keys: 6) - schemas.TableEntity (Total Keys: 13) - schemas.TriggerEntity (Total Keys: 9) - schemas.ViewEntity (Total Keys: 7) - schemas.VpcPeeringConfig (Total Keys: 4)
1 parent db1dddc commit 12effe4

8 files changed

+3521
-178
lines changed
 

‎docs/dyn/datamigration_v1.projects.locations.connectionProfiles.html

+108-4
Large diffs are not rendered by default.

‎docs/dyn/datamigration_v1.projects.locations.conversionWorkspaces.html

+891
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
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="datamigration_v1.html">Database Migration API</a> . <a href="datamigration_v1.projects.html">projects</a> . <a href="datamigration_v1.projects.locations.html">locations</a> . <a href="datamigration_v1.projects.locations.conversionWorkspaces.html">conversionWorkspaces</a> . <a href="datamigration_v1.projects.locations.conversionWorkspaces.mappingRules.html">mappingRules</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#import_">import_(parent, body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="import_">import_(parent, body=None, x__xgafv=None)</code>
91+
<pre>Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files.
92+
93+
Args:
94+
parent: string, Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. (required)
95+
body: object, The request body.
96+
The object takes the form of:
97+
98+
{ # Request message for &#x27;ImportMappingRules&#x27; request.
99+
&quot;autoCommit&quot;: True or False, # Should the conversion workspace be committed automatically after the import operation.
100+
&quot;rulesFiles&quot;: [ # One or more rules files
101+
{ # Details of a single rules file
102+
&quot;rulesContent&quot;: &quot;A String&quot;, # The text content of the rules that needs to be converted
103+
&quot;rulesSourceFilename&quot;: &quot;A String&quot;, # The filename of the rules that needs to be converted. This is used mainly so future logs of the import rules job will contain this detail and can therefore be searched by it later
104+
},
105+
],
106+
&quot;rulesFormat&quot;: &quot;A String&quot;, # The format of the rules content file.
107+
}
108+
109+
x__xgafv: string, V1 error format.
110+
Allowed values
111+
1 - v1 error format
112+
2 - v2 error format
113+
114+
Returns:
115+
An object of the form:
116+
117+
{ # This resource represents a long-running operation that is the result of a network API call.
118+
&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.
119+
&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.
120+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
121+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
122+
{
123+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
124+
},
125+
],
126+
&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.
127+
},
128+
&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.
129+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
130+
},
131+
&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}`.
132+
&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`.
133+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
134+
},
135+
}</pre>
136+
</div>
137+
138+
</body></html>

‎docs/dyn/datamigration_v1.projects.locations.html

+10
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the connectionProfiles Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="datamigration_v1.projects.locations.conversionWorkspaces.html">conversionWorkspaces()</a></code>
84+
</p>
85+
<p class="firstline">Returns the conversionWorkspaces Resource.</p>
86+
8287
<p class="toc_element">
8388
<code><a href="datamigration_v1.projects.locations.migrationJobs.html">migrationJobs()</a></code>
8489
</p>
@@ -89,6 +94,11 @@ <h2>Instance Methods</h2>
8994
</p>
9095
<p class="firstline">Returns the operations Resource.</p>
9196

97+
<p class="toc_element">
98+
<code><a href="datamigration_v1.projects.locations.privateConnections.html">privateConnections()</a></code>
99+
</p>
100+
<p class="firstline">Returns the privateConnections Resource.</p>
101+
92102
<p class="toc_element">
93103
<code><a href="#close">close()</a></code></p>
94104
<p class="firstline">Close httplib2 connections.</p>

‎docs/dyn/datamigration_v1.projects.locations.migrationJobs.html

+20
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ <h3>Method Details</h3>
141141
The object takes the form of:
142142

143143
{ # Represents a Database Migration Service migration job object.
144+
&quot;conversionWorkspace&quot;: { # A conversion workspace&#x27;s version. # The conversion workspace used by the migration.
145+
&quot;commitId&quot;: &quot;A String&quot;, # The commit ID of the conversion workspace.
146+
&quot;name&quot;: &quot;A String&quot;, # The resource name (URI) of the conversion workspace.
147+
},
144148
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC &quot;Zulu&quot; format, accurate to nanoseconds. Example: &quot;2014-10-02T15:01:23.045123456Z&quot;.
145149
&quot;destination&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the destination connection profile.
146150
&quot;destinationDatabase&quot;: { # A message defining the database engine and provider. # The database engine type and provider of the destination.
@@ -168,6 +172,7 @@ <h3>Method Details</h3>
168172
],
169173
&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.
170174
},
175+
&quot;filter&quot;: &quot;A String&quot;, # This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
171176
&quot;labels&quot;: { # The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of &quot;key&quot;: &quot;value&quot; pairs. Example: `{ &quot;name&quot;: &quot;wrench&quot;, &quot;mass&quot;: &quot;1.3kg&quot;, &quot;count&quot;: &quot;3&quot; }`.
172177
&quot;a_key&quot;: &quot;A String&quot;,
173178
},
@@ -312,6 +317,10 @@ <h3>Method Details</h3>
312317
An object of the form:
313318

314319
{ # Represents a Database Migration Service migration job object.
320+
&quot;conversionWorkspace&quot;: { # A conversion workspace&#x27;s version. # The conversion workspace used by the migration.
321+
&quot;commitId&quot;: &quot;A String&quot;, # The commit ID of the conversion workspace.
322+
&quot;name&quot;: &quot;A String&quot;, # The resource name (URI) of the conversion workspace.
323+
},
315324
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC &quot;Zulu&quot; format, accurate to nanoseconds. Example: &quot;2014-10-02T15:01:23.045123456Z&quot;.
316325
&quot;destination&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the destination connection profile.
317326
&quot;destinationDatabase&quot;: { # A message defining the database engine and provider. # The database engine type and provider of the destination.
@@ -339,6 +348,7 @@ <h3>Method Details</h3>
339348
],
340349
&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.
341350
},
351+
&quot;filter&quot;: &quot;A String&quot;, # This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
342352
&quot;labels&quot;: { # The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of &quot;key&quot;: &quot;value&quot; pairs. Example: `{ &quot;name&quot;: &quot;wrench&quot;, &quot;mass&quot;: &quot;1.3kg&quot;, &quot;count&quot;: &quot;3&quot; }`.
343353
&quot;a_key&quot;: &quot;A String&quot;,
344354
},
@@ -435,6 +445,10 @@ <h3>Method Details</h3>
435445
{ # Response message for &#x27;ListMigrationJobs&#x27; request.
436446
&quot;migrationJobs&quot;: [ # The list of migration jobs objects.
437447
{ # Represents a Database Migration Service migration job object.
448+
&quot;conversionWorkspace&quot;: { # A conversion workspace&#x27;s version. # The conversion workspace used by the migration.
449+
&quot;commitId&quot;: &quot;A String&quot;, # The commit ID of the conversion workspace.
450+
&quot;name&quot;: &quot;A String&quot;, # The resource name (URI) of the conversion workspace.
451+
},
438452
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC &quot;Zulu&quot; format, accurate to nanoseconds. Example: &quot;2014-10-02T15:01:23.045123456Z&quot;.
439453
&quot;destination&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the destination connection profile.
440454
&quot;destinationDatabase&quot;: { # A message defining the database engine and provider. # The database engine type and provider of the destination.
@@ -462,6 +476,7 @@ <h3>Method Details</h3>
462476
],
463477
&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.
464478
},
479+
&quot;filter&quot;: &quot;A String&quot;, # This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
465480
&quot;labels&quot;: { # The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of &quot;key&quot;: &quot;value&quot; pairs. Example: `{ &quot;name&quot;: &quot;wrench&quot;, &quot;mass&quot;: &quot;1.3kg&quot;, &quot;count&quot;: &quot;3&quot; }`.
466481
&quot;a_key&quot;: &quot;A String&quot;,
467482
},
@@ -519,6 +534,10 @@ <h3>Method Details</h3>
519534
The object takes the form of:
520535

521536
{ # Represents a Database Migration Service migration job object.
537+
&quot;conversionWorkspace&quot;: { # A conversion workspace&#x27;s version. # The conversion workspace used by the migration.
538+
&quot;commitId&quot;: &quot;A String&quot;, # The commit ID of the conversion workspace.
539+
&quot;name&quot;: &quot;A String&quot;, # The resource name (URI) of the conversion workspace.
540+
},
522541
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC &quot;Zulu&quot; format, accurate to nanoseconds. Example: &quot;2014-10-02T15:01:23.045123456Z&quot;.
523542
&quot;destination&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the destination connection profile.
524543
&quot;destinationDatabase&quot;: { # A message defining the database engine and provider. # The database engine type and provider of the destination.
@@ -546,6 +565,7 @@ <h3>Method Details</h3>
546565
],
547566
&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.
548567
},
568+
&quot;filter&quot;: &quot;A String&quot;, # This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
549569
&quot;labels&quot;: { # The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of &quot;key&quot;: &quot;value&quot; pairs. Example: `{ &quot;name&quot;: &quot;wrench&quot;, &quot;mass&quot;: &quot;1.3kg&quot;, &quot;count&quot;: &quot;3&quot; }`.
550570
&quot;a_key&quot;: &quot;A String&quot;,
551571
},

‎docs/dyn/datamigration_v1.projects.locations.privateConnections.html

+305
Large diffs are not rendered by default.

‎googleapiclient/discovery_cache/documents/datamigration.v1.json

+2,048-173
Large diffs are not rendered by default.

‎googleapiclient/discovery_cache/documents/datamigration.v1beta1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@
10491049
}
10501050
}
10511051
},
1052-
"revision": "20221201",
1052+
"revision": "20221211",
10531053
"rootUrl": "https://datamigration.googleapis.com/",
10541054
"schemas": {
10551055
"AuditConfig": {

0 commit comments

Comments
 (0)
Please sign in to comment.