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

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#24)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: https://github.com/googleapis/googleapis-gen/commit/0a3c7d272d697796db75857bac73905c68e498c3

fix: add async client to %name_%version/init.py
chore: add autogenerated snippets
chore: remove auth, policy, and options from the reserved names list
feat: support self-signed JWT flow for service accounts
chore: enable GAPIC metadata generation
chore: sort subpackages in %namespace/%name/init.py
  • Loading branch information
gcf-owl-bot[bot] authored May 16, 2021
1 parent 7896690 commit 4b24611
Show file tree
Hide file tree
Showing 21 changed files with 942 additions and 798 deletions.
1 change: 0 additions & 1 deletion docs/domains_v1beta1/domains.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Domains
:members:
:inherited-members:


.. automodule:: google.cloud.domains_v1beta1.services.domains.pagers
:members:
:inherited-members:
24 changes: 12 additions & 12 deletions google/cloud/domains/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,22 +14,20 @@
# 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_v1beta1.services.domains.client import DomainsClient

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 ContactNotice
from google.cloud.domains_v1beta1.types.domains import ContactPrivacy
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 DomainNotice
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
Expand All @@ -48,22 +45,22 @@
)
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 TransferLockState
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

__all__ = (
"DomainsClient",
"DomainsAsyncClient",
"AuthorizationCode",
"ConfigureContactSettingsRequest",
"ConfigureDnsSettingsRequest",
"ConfigureManagementSettingsRequest",
"ContactNotice",
"ContactPrivacy",
"ContactSettings",
"DeleteRegistrationRequest",
"DnsSettings",
"DomainNotice",
"DomainsAsyncClient",
"DomainsClient",
"ExportRegistrationRequest",
"GetRegistrationRequest",
"ListRegistrationsRequest",
Expand All @@ -79,6 +76,9 @@
"RetrieveRegisterParametersResponse",
"SearchDomainsRequest",
"SearchDomainsResponse",
"TransferLockState",
"UpdateRegistrationRequest",
"ContactNotice",
"ContactPrivacy",
"DomainNotice",
"TransferLockState",
)
15 changes: 8 additions & 7 deletions google/cloud/domains_v1beta1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,16 +15,15 @@
#

from .services.domains import DomainsClient
from .services.domains import DomainsAsyncClient

from .types.domains import AuthorizationCode
from .types.domains import ConfigureContactSettingsRequest
from .types.domains import ConfigureDnsSettingsRequest
from .types.domains import ConfigureManagementSettingsRequest
from .types.domains import ContactNotice
from .types.domains import ContactPrivacy
from .types.domains import ContactSettings
from .types.domains import DeleteRegistrationRequest
from .types.domains import DnsSettings
from .types.domains import DomainNotice
from .types.domains import ExportRegistrationRequest
from .types.domains import GetRegistrationRequest
from .types.domains import ListRegistrationsRequest
Expand All @@ -41,11 +39,14 @@
from .types.domains import RetrieveRegisterParametersResponse
from .types.domains import SearchDomainsRequest
from .types.domains import SearchDomainsResponse
from .types.domains import TransferLockState
from .types.domains import UpdateRegistrationRequest

from .types.domains import ContactNotice
from .types.domains import ContactPrivacy
from .types.domains import DomainNotice
from .types.domains import TransferLockState

__all__ = (
"DomainsAsyncClient",
"AuthorizationCode",
"ConfigureContactSettingsRequest",
"ConfigureDnsSettingsRequest",
Expand All @@ -56,6 +57,7 @@
"DeleteRegistrationRequest",
"DnsSettings",
"DomainNotice",
"DomainsClient",
"ExportRegistrationRequest",
"GetRegistrationRequest",
"ListRegistrationsRequest",
Expand All @@ -73,5 +75,4 @@
"SearchDomainsResponse",
"TransferLockState",
"UpdateRegistrationRequest",
"DomainsClient",
)
153 changes: 153 additions & 0 deletions google/cloud/domains_v1beta1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.domains_v1beta1",
"protoPackage": "google.cloud.domains.v1beta1",
"schema": "1.0",
"services": {
"Domains": {
"clients": {
"grpc": {
"libraryClient": "DomainsClient",
"rpcs": {
"ConfigureContactSettings": {
"methods": [
"configure_contact_settings"
]
},
"ConfigureDnsSettings": {
"methods": [
"configure_dns_settings"
]
},
"ConfigureManagementSettings": {
"methods": [
"configure_management_settings"
]
},
"DeleteRegistration": {
"methods": [
"delete_registration"
]
},
"ExportRegistration": {
"methods": [
"export_registration"
]
},
"GetRegistration": {
"methods": [
"get_registration"
]
},
"ListRegistrations": {
"methods": [
"list_registrations"
]
},
"RegisterDomain": {
"methods": [
"register_domain"
]
},
"ResetAuthorizationCode": {
"methods": [
"reset_authorization_code"
]
},
"RetrieveAuthorizationCode": {
"methods": [
"retrieve_authorization_code"
]
},
"RetrieveRegisterParameters": {
"methods": [
"retrieve_register_parameters"
]
},
"SearchDomains": {
"methods": [
"search_domains"
]
},
"UpdateRegistration": {
"methods": [
"update_registration"
]
}
}
},
"grpc-async": {
"libraryClient": "DomainsAsyncClient",
"rpcs": {
"ConfigureContactSettings": {
"methods": [
"configure_contact_settings"
]
},
"ConfigureDnsSettings": {
"methods": [
"configure_dns_settings"
]
},
"ConfigureManagementSettings": {
"methods": [
"configure_management_settings"
]
},
"DeleteRegistration": {
"methods": [
"delete_registration"
]
},
"ExportRegistration": {
"methods": [
"export_registration"
]
},
"GetRegistration": {
"methods": [
"get_registration"
]
},
"ListRegistrations": {
"methods": [
"list_registrations"
]
},
"RegisterDomain": {
"methods": [
"register_domain"
]
},
"ResetAuthorizationCode": {
"methods": [
"reset_authorization_code"
]
},
"RetrieveAuthorizationCode": {
"methods": [
"retrieve_authorization_code"
]
},
"RetrieveRegisterParameters": {
"methods": [
"retrieve_register_parameters"
]
},
"SearchDomains": {
"methods": [
"search_domains"
]
},
"UpdateRegistration": {
"methods": [
"update_registration"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/domains_v1beta1/services/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 0 additions & 2 deletions google/cloud/domains_v1beta1/services/domains/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import DomainsClient
from .async_client import DomainsAsyncClient

Expand Down
Loading

0 comments on commit 4b24611

Please sign in to comment.