Skip to content

Commit

Permalink
feat(datamigration): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Dec 20, 2022
1 parent db1dddc commit 12effe4
Show file tree
Hide file tree
Showing 8 changed files with 3,521 additions and 178 deletions.
112 changes: 108 additions & 4 deletions docs/dyn/datamigration_v1.projects.locations.connectionProfiles.html

Large diffs are not rendered by default.

891 changes: 891 additions & 0 deletions docs/dyn/datamigration_v1.projects.locations.conversionWorkspaces.html

Large diffs are not rendered by default.

@@ -0,0 +1,138 @@
<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}

body {
font-size: 13px;
padding: 1em;
}

h1 {
font-size: 26px;
margin-bottom: 1em;
}

h2 {
font-size: 24px;
margin-bottom: 1em;
}

h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}

pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
margin-top: 0.5em;
}

h1, h2, h3, p {
font-family: Arial, sans serif;
}

h1, h2, h3 {
border-bottom: solid #CCC 1px;
}

.toc_element {
margin-top: 0.5em;
}

.firstline {
margin-left: 2 em;
}

.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}

.details {
font-weight: bold;
font-size: 14px;
}

</style>

<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>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#import_">import_(parent, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>

<div class="method">
<code class="details" id="import_">import_(parent, body=None, x__xgafv=None)</code>
<pre>Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files.

Args:
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)
body: object, The request body.
The object takes the form of:

{ # Request message for &#x27;ImportMappingRules&#x27; request.
&quot;autoCommit&quot;: True or False, # Should the conversion workspace be committed automatically after the import operation.
&quot;rulesFiles&quot;: [ # One or more rules files
{ # Details of a single rules file
&quot;rulesContent&quot;: &quot;A String&quot;, # The text content of the rules that needs to be converted
&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
},
],
&quot;rulesFormat&quot;: &quot;A String&quot;, # The format of the rules content file.
}

x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # This resource represents a long-running operation that is the result of a network API call.
&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.
&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.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&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.
},
&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.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
&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}`.
&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`.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
}</pre>
</div>

</body></html>
10 changes: 10 additions & 0 deletions docs/dyn/datamigration_v1.projects.locations.html
Expand Up @@ -79,6 +79,11 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the connectionProfiles Resource.</p>

<p class="toc_element">
<code><a href="datamigration_v1.projects.locations.conversionWorkspaces.html">conversionWorkspaces()</a></code>
</p>
<p class="firstline">Returns the conversionWorkspaces Resource.</p>

<p class="toc_element">
<code><a href="datamigration_v1.projects.locations.migrationJobs.html">migrationJobs()</a></code>
</p>
Expand All @@ -89,6 +94,11 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the operations Resource.</p>

<p class="toc_element">
<code><a href="datamigration_v1.projects.locations.privateConnections.html">privateConnections()</a></code>
</p>
<p class="firstline">Returns the privateConnections Resource.</p>

<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
Expand Down
20 changes: 20 additions & 0 deletions docs/dyn/datamigration_v1.projects.locations.migrationJobs.html
Expand Up @@ -141,6 +141,10 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Represents a Database Migration Service migration job object.
&quot;conversionWorkspace&quot;: { # A conversion workspace&#x27;s version. # The conversion workspace used by the migration.
&quot;commitId&quot;: &quot;A String&quot;, # The commit ID of the conversion workspace.
&quot;name&quot;: &quot;A String&quot;, # The resource name (URI) of the conversion workspace.
},
&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;.
&quot;destination&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the destination connection profile.
&quot;destinationDatabase&quot;: { # A message defining the database engine and provider. # The database engine type and provider of the destination.
Expand Down Expand Up @@ -168,6 +172,7 @@ <h3>Method Details</h3>
],
&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.
},
&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.
&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; }`.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -312,6 +317,10 @@ <h3>Method Details</h3>
An object of the form:

{ # Represents a Database Migration Service migration job object.
&quot;conversionWorkspace&quot;: { # A conversion workspace&#x27;s version. # The conversion workspace used by the migration.
&quot;commitId&quot;: &quot;A String&quot;, # The commit ID of the conversion workspace.
&quot;name&quot;: &quot;A String&quot;, # The resource name (URI) of the conversion workspace.
},
&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;.
&quot;destination&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the destination connection profile.
&quot;destinationDatabase&quot;: { # A message defining the database engine and provider. # The database engine type and provider of the destination.
Expand Down Expand Up @@ -339,6 +348,7 @@ <h3>Method Details</h3>
],
&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.
},
&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.
&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; }`.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -435,6 +445,10 @@ <h3>Method Details</h3>
{ # Response message for &#x27;ListMigrationJobs&#x27; request.
&quot;migrationJobs&quot;: [ # The list of migration jobs objects.
{ # Represents a Database Migration Service migration job object.
&quot;conversionWorkspace&quot;: { # A conversion workspace&#x27;s version. # The conversion workspace used by the migration.
&quot;commitId&quot;: &quot;A String&quot;, # The commit ID of the conversion workspace.
&quot;name&quot;: &quot;A String&quot;, # The resource name (URI) of the conversion workspace.
},
&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;.
&quot;destination&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the destination connection profile.
&quot;destinationDatabase&quot;: { # A message defining the database engine and provider. # The database engine type and provider of the destination.
Expand Down Expand Up @@ -462,6 +476,7 @@ <h3>Method Details</h3>
],
&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.
},
&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.
&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; }`.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -519,6 +534,10 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Represents a Database Migration Service migration job object.
&quot;conversionWorkspace&quot;: { # A conversion workspace&#x27;s version. # The conversion workspace used by the migration.
&quot;commitId&quot;: &quot;A String&quot;, # The commit ID of the conversion workspace.
&quot;name&quot;: &quot;A String&quot;, # The resource name (URI) of the conversion workspace.
},
&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;.
&quot;destination&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the destination connection profile.
&quot;destinationDatabase&quot;: { # A message defining the database engine and provider. # The database engine type and provider of the destination.
Expand Down Expand Up @@ -546,6 +565,7 @@ <h3>Method Details</h3>
],
&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.
},
&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.
&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; }`.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down

0 comments on commit 12effe4

Please sign in to comment.