Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
feat: set v1 as the default import (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea authored Oct 21, 2021
1 parent 1c72855 commit 4e2691e
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"repo": "googleapis/python-domains",
"distribution_name": "google-cloud-domains",
"api_id": "domains.googleapis.com",
"default_version": "v1beta1",
"default_version": "v1",
"codeowner_team": ""
}
10 changes: 5 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
.. include:: multiprocessing.rst

This package includes clients for multiple versions of Cloud Domains.
By default, you will get version ``domains_v1beta1``.
By default, you will get version ``domains_v1``.


API Reference
-------------
.. toctree::
:maxdepth: 2

domains_v1beta1/services
domains_v1beta1/types
domains_v1/services
domains_v1/types

API Reference
-------------
.. toctree::
:maxdepth: 2

domains_v1/services
domains_v1/types
domains_v1beta1/services
domains_v1beta1/types


Changelog
Expand Down
74 changes: 33 additions & 41 deletions google/cloud/domains/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,48 +14,40 @@
# limitations under the License.
#

from google.cloud.domains_v1beta1.services.domains.client import DomainsClient
from google.cloud.domains_v1beta1.services.domains.async_client import (
DomainsAsyncClient,
)
from google.cloud.domains_v1.services.domains.client import DomainsClient
from google.cloud.domains_v1.services.domains.async_client import DomainsAsyncClient

from google.cloud.domains_v1beta1.types.domains import AuthorizationCode
from google.cloud.domains_v1beta1.types.domains import ConfigureContactSettingsRequest
from google.cloud.domains_v1beta1.types.domains import ConfigureDnsSettingsRequest
from google.cloud.domains_v1beta1.types.domains import (
ConfigureManagementSettingsRequest,
)
from google.cloud.domains_v1beta1.types.domains import ContactSettings
from google.cloud.domains_v1beta1.types.domains import DeleteRegistrationRequest
from google.cloud.domains_v1beta1.types.domains import DnsSettings
from google.cloud.domains_v1beta1.types.domains import ExportRegistrationRequest
from google.cloud.domains_v1beta1.types.domains import GetRegistrationRequest
from google.cloud.domains_v1beta1.types.domains import ListRegistrationsRequest
from google.cloud.domains_v1beta1.types.domains import ListRegistrationsResponse
from google.cloud.domains_v1beta1.types.domains import ManagementSettings
from google.cloud.domains_v1beta1.types.domains import OperationMetadata
from google.cloud.domains_v1beta1.types.domains import RegisterDomainRequest
from google.cloud.domains_v1beta1.types.domains import RegisterParameters
from google.cloud.domains_v1beta1.types.domains import Registration
from google.cloud.domains_v1beta1.types.domains import ResetAuthorizationCodeRequest
from google.cloud.domains_v1beta1.types.domains import RetrieveAuthorizationCodeRequest
from google.cloud.domains_v1beta1.types.domains import RetrieveRegisterParametersRequest
from google.cloud.domains_v1beta1.types.domains import (
RetrieveRegisterParametersResponse,
)
from google.cloud.domains_v1beta1.types.domains import RetrieveTransferParametersRequest
from google.cloud.domains_v1beta1.types.domains import (
RetrieveTransferParametersResponse,
)
from google.cloud.domains_v1beta1.types.domains import SearchDomainsRequest
from google.cloud.domains_v1beta1.types.domains import SearchDomainsResponse
from google.cloud.domains_v1beta1.types.domains import TransferDomainRequest
from google.cloud.domains_v1beta1.types.domains import TransferParameters
from google.cloud.domains_v1beta1.types.domains import UpdateRegistrationRequest
from google.cloud.domains_v1beta1.types.domains import ContactNotice
from google.cloud.domains_v1beta1.types.domains import ContactPrivacy
from google.cloud.domains_v1beta1.types.domains import DomainNotice
from google.cloud.domains_v1beta1.types.domains import TransferLockState
from google.cloud.domains_v1.types.domains import AuthorizationCode
from google.cloud.domains_v1.types.domains import ConfigureContactSettingsRequest
from google.cloud.domains_v1.types.domains import ConfigureDnsSettingsRequest
from google.cloud.domains_v1.types.domains import ConfigureManagementSettingsRequest
from google.cloud.domains_v1.types.domains import ContactSettings
from google.cloud.domains_v1.types.domains import DeleteRegistrationRequest
from google.cloud.domains_v1.types.domains import DnsSettings
from google.cloud.domains_v1.types.domains import ExportRegistrationRequest
from google.cloud.domains_v1.types.domains import GetRegistrationRequest
from google.cloud.domains_v1.types.domains import ListRegistrationsRequest
from google.cloud.domains_v1.types.domains import ListRegistrationsResponse
from google.cloud.domains_v1.types.domains import ManagementSettings
from google.cloud.domains_v1.types.domains import OperationMetadata
from google.cloud.domains_v1.types.domains import RegisterDomainRequest
from google.cloud.domains_v1.types.domains import RegisterParameters
from google.cloud.domains_v1.types.domains import Registration
from google.cloud.domains_v1.types.domains import ResetAuthorizationCodeRequest
from google.cloud.domains_v1.types.domains import RetrieveAuthorizationCodeRequest
from google.cloud.domains_v1.types.domains import RetrieveRegisterParametersRequest
from google.cloud.domains_v1.types.domains import RetrieveRegisterParametersResponse
from google.cloud.domains_v1.types.domains import RetrieveTransferParametersRequest
from google.cloud.domains_v1.types.domains import RetrieveTransferParametersResponse
from google.cloud.domains_v1.types.domains import SearchDomainsRequest
from google.cloud.domains_v1.types.domains import SearchDomainsResponse
from google.cloud.domains_v1.types.domains import TransferDomainRequest
from google.cloud.domains_v1.types.domains import TransferParameters
from google.cloud.domains_v1.types.domains import UpdateRegistrationRequest
from google.cloud.domains_v1.types.domains import ContactNotice
from google.cloud.domains_v1.types.domains import ContactPrivacy
from google.cloud.domains_v1.types.domains import DomainNotice
from google.cloud.domains_v1.types.domains import TransferLockState

__all__ = (
"DomainsClient",
Expand Down

0 comments on commit 4e2691e

Please sign in to comment.