This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add v1 API, plus v1b1 methods for domain transfers (#77)
PiperOrigin-RevId: 404189502 Source-Link: googleapis/googleapis@6990d97 Source-Link: https://github.com/googleapis/googleapis-gen/commit/36bf228aa7016d7b513990e84d66762a889f2f09 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzZiZjIyOGFhNzAxNmQ3YjUxMzk5MGU4NGQ2Njc2MmE4ODlmMmYwOSJ9
- Loading branch information
1 parent
c842e11
commit 47434a1
Showing
33 changed files
with
13,676 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Domains | ||
------------------------- | ||
|
||
.. automodule:: google.cloud.domains_v1.services.domains | ||
:members: | ||
:inherited-members: | ||
|
||
.. automodule:: google.cloud.domains_v1.services.domains.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Services for Google Cloud Domains v1 API | ||
======================================== | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
domains |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Types for Google Cloud Domains v1 API | ||
===================================== | ||
|
||
.. automodule:: google.cloud.domains_v1.types | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
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 ContactSettings | ||
from .types.domains import DeleteRegistrationRequest | ||
from .types.domains import DnsSettings | ||
from .types.domains import ExportRegistrationRequest | ||
from .types.domains import GetRegistrationRequest | ||
from .types.domains import ListRegistrationsRequest | ||
from .types.domains import ListRegistrationsResponse | ||
from .types.domains import ManagementSettings | ||
from .types.domains import OperationMetadata | ||
from .types.domains import RegisterDomainRequest | ||
from .types.domains import RegisterParameters | ||
from .types.domains import Registration | ||
from .types.domains import ResetAuthorizationCodeRequest | ||
from .types.domains import RetrieveAuthorizationCodeRequest | ||
from .types.domains import RetrieveRegisterParametersRequest | ||
from .types.domains import RetrieveRegisterParametersResponse | ||
from .types.domains import RetrieveTransferParametersRequest | ||
from .types.domains import RetrieveTransferParametersResponse | ||
from .types.domains import SearchDomainsRequest | ||
from .types.domains import SearchDomainsResponse | ||
from .types.domains import TransferDomainRequest | ||
from .types.domains import TransferParameters | ||
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", | ||
"ConfigureManagementSettingsRequest", | ||
"ContactNotice", | ||
"ContactPrivacy", | ||
"ContactSettings", | ||
"DeleteRegistrationRequest", | ||
"DnsSettings", | ||
"DomainNotice", | ||
"DomainsClient", | ||
"ExportRegistrationRequest", | ||
"GetRegistrationRequest", | ||
"ListRegistrationsRequest", | ||
"ListRegistrationsResponse", | ||
"ManagementSettings", | ||
"OperationMetadata", | ||
"RegisterDomainRequest", | ||
"RegisterParameters", | ||
"Registration", | ||
"ResetAuthorizationCodeRequest", | ||
"RetrieveAuthorizationCodeRequest", | ||
"RetrieveRegisterParametersRequest", | ||
"RetrieveRegisterParametersResponse", | ||
"RetrieveTransferParametersRequest", | ||
"RetrieveTransferParametersResponse", | ||
"SearchDomainsRequest", | ||
"SearchDomainsResponse", | ||
"TransferDomainRequest", | ||
"TransferLockState", | ||
"TransferParameters", | ||
"UpdateRegistrationRequest", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
{ | ||
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods", | ||
"language": "python", | ||
"libraryPackage": "google.cloud.domains_v1", | ||
"protoPackage": "google.cloud.domains.v1", | ||
"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" | ||
] | ||
}, | ||
"RetrieveTransferParameters": { | ||
"methods": [ | ||
"retrieve_transfer_parameters" | ||
] | ||
}, | ||
"SearchDomains": { | ||
"methods": [ | ||
"search_domains" | ||
] | ||
}, | ||
"TransferDomain": { | ||
"methods": [ | ||
"transfer_domain" | ||
] | ||
}, | ||
"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" | ||
] | ||
}, | ||
"RetrieveTransferParameters": { | ||
"methods": [ | ||
"retrieve_transfer_parameters" | ||
] | ||
}, | ||
"SearchDomains": { | ||
"methods": [ | ||
"search_domains" | ||
] | ||
}, | ||
"TransferDomain": { | ||
"methods": [ | ||
"transfer_domain" | ||
] | ||
}, | ||
"UpdateRegistration": { | ||
"methods": [ | ||
"update_registration" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Marker file for PEP 561. | ||
# The google-cloud-domains package uses inline types. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
from .client import DomainsClient | ||
from .async_client import DomainsAsyncClient | ||
|
||
__all__ = ( | ||
"DomainsClient", | ||
"DomainsAsyncClient", | ||
) |
Oops, something went wrong.