Skip to content

Commit

Permalink
docs: Minor formatting (#11625)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

BEGIN_COMMIT_OVERRIDE
docs: Minor formatting
chore: Update gapic-generator-python to v1.11.5
build: Update rules_python to 0.24.0
END_COMMIT_OVERRIDE

chore: Update gapic-generator-python to v1.11.5
build: Update rules_python to 0.24.0

PiperOrigin-RevId: 563436317

Source-Link: https://togithub.com/googleapis/googleapis/commit/42fd37b18d706f6f51f52f209973b3b2c28f509a

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/280264ca02fb9316b4237a96d0af1a2343a81a56
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRtcy8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9

BEGIN_COMMIT_OVERRIDE
docs: Minor formatting
chore: Update gapic-generator-python to v1.11.5
build: Update rules_python to 0.24.0
feat: Adding GenerateTcpProxyScript API
feat: Add MappingRule resource and CRUD operations
feat: support for PostgreSQL 15
feat: Add support for CloudSQL editions
feat: Add support for VLDB migrations
feat: Add SSL config to Oracle Connection Profile
feat: Change CreateConnectionProfileRequest resource reference
feat: Change ImportMappingRulesRequest and DescribeDatabaseEntitiesRequest fields to required

END_COMMIT_OVERRIDE

BEGIN_NESTED_COMMIT
feat: Adding GenerateTcpProxyScript API
feat: Add MappingRule resource and CRUD operations
feat: support for PostgreSQL 15
feat: Add support for CloudSQL editions
feat: Add support for VLDB migrations
feat: Add SSL config to Oracle Connection Profile
feat: Change CreateConnectionProfileRequest resource reference
feat: Change ImportMappingRulesRequest and DescribeDatabaseEntitiesRequest fields to required

PiperOrigin-RevId: 562321113

Source-Link: https://togithub.com/googleapis/googleapis/commit/75c89447faa485e41745291567ca449ca2ae678f

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/9a9a63fc4b2bf85fc4d6107b617aabed689d317f
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRtcy8uT3dsQm90LnlhbWwiLCJoIjoiOWE5YTYzZmM0YjJiZjg1ZmM0ZDYxMDdiNjE3YWFiZWQ2ODlkMzE3ZiJ9
END_NESTED_COMMIT
  • Loading branch information
gcf-owl-bot[bot] authored Sep 15, 2023
1 parent 29c1eea commit 5888064
Show file tree
Hide file tree
Showing 37 changed files with 7,029 additions and 395 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-dms/.flake8
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-dms/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ We support:

Supported versions can be found in our ``noxfile.py`` `config`_.

.. _config: https://github.com/googleapis/google-cloud-python/blob/main/noxfile.py
.. _config: https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-dms/noxfile.py


**********
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-dms/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
27 changes: 14 additions & 13 deletions packages/google-cloud-dms/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,24 @@ In order to use this library, you first need to go through the following steps:
Installation
~~~~~~~~~~~~

Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
create isolated Python environments. The basic problem it addresses is one of
dependencies and versions, and indirectly permissions.
Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
creates isolated Python environments. These isolated environments can have separate
versions of Python packages, which allows you to isolate one project's dependencies
from the dependencies of other projects.

With `virtualenv`_, it's possible to install this library without needing system
With `venv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.

.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
.. _`venv`: https://docs.python.org/3/library/venv.html


Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~

Code samples and snippets live in the `samples/` folder.
Code samples and snippets live in the `samples/`_ folder.

.. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-dms/samples


Supported Python Versions
Expand All @@ -77,21 +80,19 @@ Mac/Linux

.. code-block:: console
pip install virtualenv
virtualenv <your-env>
python3 -m venv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-dms
pip install google-cloud-dms
Windows
^^^^^^^

.. code-block:: console
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-dms
py -m venv <your-env>
.\<your-env>\Scripts\activate
pip install google-cloud-dms
Next Steps
~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-dms/docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2021 Google LLC
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
78 changes: 78 additions & 0 deletions packages/google-cloud-dms/google/cloud/clouddms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@
ConvertConversionWorkspaceRequest,
CreateConnectionProfileRequest,
CreateConversionWorkspaceRequest,
CreateMappingRuleRequest,
CreateMigrationJobRequest,
CreatePrivateConnectionRequest,
DatabaseEntityView,
DeleteConnectionProfileRequest,
DeleteConversionWorkspaceRequest,
DeleteMappingRuleRequest,
DeleteMigrationJobRequest,
DeletePrivateConnectionRequest,
DescribeConversionWorkspaceRevisionsRequest,
Expand All @@ -43,15 +46,19 @@
FetchStaticIpsRequest,
FetchStaticIpsResponse,
GenerateSshScriptRequest,
GenerateTcpProxyScriptRequest,
GetConnectionProfileRequest,
GetConversionWorkspaceRequest,
GetMappingRuleRequest,
GetMigrationJobRequest,
GetPrivateConnectionRequest,
ImportMappingRulesRequest,
ListConnectionProfilesRequest,
ListConnectionProfilesResponse,
ListConversionWorkspacesRequest,
ListConversionWorkspacesResponse,
ListMappingRulesRequest,
ListMappingRulesResponse,
ListMigrationJobsRequest,
ListMigrationJobsResponse,
ListPrivateConnectionsRequest,
Expand All @@ -67,6 +74,7 @@
SshScript,
StartMigrationJobRequest,
StopMigrationJobRequest,
TcpProxyScript,
UpdateConnectionProfileRequest,
UpdateConversionWorkspaceRequest,
UpdateMigrationJobRequest,
Expand Down Expand Up @@ -104,26 +112,57 @@
VpcPeeringConnectivity,
)
from google.cloud.clouddms_v1.types.conversionworkspace_resources import (
ApplyHash,
AssignSpecificValue,
BackgroundJobLogEntry,
BackgroundJobType,
ColumnEntity,
ConditionalColumnSetValue,
ConstraintEntity,
ConversionWorkspace,
ConvertRowIdToColumn,
DatabaseEngineInfo,
DatabaseEntity,
DatabaseEntityType,
DatabaseInstanceEntity,
DoubleComparisonFilter,
EntityDdl,
EntityIssue,
EntityMapping,
EntityMappingLogEntry,
EntityMove,
EntityNameTransformation,
FilterTableColumns,
FunctionEntity,
ImportRulesFileFormat,
IndexEntity,
IntComparisonFilter,
MappingRule,
MappingRuleFilter,
MaterializedViewEntity,
MultiColumnDatatypeChange,
MultiEntityRename,
NumericFilterOption,
PackageEntity,
RoundToScale,
SchemaEntity,
SequenceEntity,
SetTablePrimaryKey,
SingleColumnChange,
SingleEntityRename,
SinglePackageChange,
SourceNumericFilter,
SourceSqlChange,
SourceTextFilter,
StoredProcedureEntity,
SynonymEntity,
TableEntity,
TriggerEntity,
UDTEntity,
ValueComparison,
ValueListFilter,
ValuePresentInList,
ValueTransformation,
ViewEntity,
)

Expand All @@ -135,10 +174,12 @@
"ConvertConversionWorkspaceRequest",
"CreateConnectionProfileRequest",
"CreateConversionWorkspaceRequest",
"CreateMappingRuleRequest",
"CreateMigrationJobRequest",
"CreatePrivateConnectionRequest",
"DeleteConnectionProfileRequest",
"DeleteConversionWorkspaceRequest",
"DeleteMappingRuleRequest",
"DeleteMigrationJobRequest",
"DeletePrivateConnectionRequest",
"DescribeConversionWorkspaceRevisionsRequest",
Expand All @@ -148,15 +189,19 @@
"FetchStaticIpsRequest",
"FetchStaticIpsResponse",
"GenerateSshScriptRequest",
"GenerateTcpProxyScriptRequest",
"GetConnectionProfileRequest",
"GetConversionWorkspaceRequest",
"GetMappingRuleRequest",
"GetMigrationJobRequest",
"GetPrivateConnectionRequest",
"ImportMappingRulesRequest",
"ListConnectionProfilesRequest",
"ListConnectionProfilesResponse",
"ListConversionWorkspacesRequest",
"ListConversionWorkspacesResponse",
"ListMappingRulesRequest",
"ListMappingRulesResponse",
"ListMigrationJobsRequest",
"ListMigrationJobsResponse",
"ListPrivateConnectionsRequest",
Expand All @@ -172,12 +217,14 @@
"SshScript",
"StartMigrationJobRequest",
"StopMigrationJobRequest",
"TcpProxyScript",
"UpdateConnectionProfileRequest",
"UpdateConversionWorkspaceRequest",
"UpdateMigrationJobRequest",
"VerifyMigrationJobRequest",
"VmCreationConfig",
"VmSelectionConfig",
"DatabaseEntityView",
"AlloyDbConnectionProfile",
"AlloyDbSettings",
"CloudSqlConnectionProfile",
Expand Down Expand Up @@ -205,25 +252,56 @@
"DatabaseEngine",
"DatabaseProvider",
"NetworkArchitecture",
"ApplyHash",
"AssignSpecificValue",
"BackgroundJobLogEntry",
"ColumnEntity",
"ConditionalColumnSetValue",
"ConstraintEntity",
"ConversionWorkspace",
"ConvertRowIdToColumn",
"DatabaseEngineInfo",
"DatabaseEntity",
"DatabaseInstanceEntity",
"DoubleComparisonFilter",
"EntityDdl",
"EntityIssue",
"EntityMapping",
"EntityMappingLogEntry",
"EntityMove",
"FilterTableColumns",
"FunctionEntity",
"IndexEntity",
"IntComparisonFilter",
"MappingRule",
"MappingRuleFilter",
"MaterializedViewEntity",
"MultiColumnDatatypeChange",
"MultiEntityRename",
"PackageEntity",
"RoundToScale",
"SchemaEntity",
"SequenceEntity",
"SetTablePrimaryKey",
"SingleColumnChange",
"SingleEntityRename",
"SinglePackageChange",
"SourceNumericFilter",
"SourceSqlChange",
"SourceTextFilter",
"StoredProcedureEntity",
"SynonymEntity",
"TableEntity",
"TriggerEntity",
"UDTEntity",
"ValueListFilter",
"ValueTransformation",
"ViewEntity",
"BackgroundJobType",
"DatabaseEntityType",
"EntityNameTransformation",
"ImportRulesFileFormat",
"NumericFilterOption",
"ValueComparison",
"ValuePresentInList",
)
Loading

0 comments on commit 5888064

Please sign in to comment.