Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 9f78cdc

Browse files
feat: added library for Cloud Domains v1 API. Also added methods for the transfer-in flow docs: improved API comments
Added Cloud Domains v1 API. Also added support for transferring already registered domains from 3rd party domain registrars to Cloud Domains. PiperOrigin-RevId: 404189502 Source-Link: googleapis/googleapis@6990d97 Source-Link: https://github.com/googleapis/googleapis-gen/commit/36bf228aa7016d7b513990e84d66762a889f2f09 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzZiZjIyOGFhNzAxNmQ3YjUxMzk5MGU4NGQ2Njc2MmE4ODlmMmYwOSJ9
1 parent 41edcdc commit 9f78cdc

File tree

236 files changed

+85688
-30779
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+85688
-30779
lines changed

grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java

Lines changed: 0 additions & 1939 deletions
This file was deleted.

grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java

Lines changed: 0 additions & 1938 deletions
This file was deleted.

owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsClient.java

Lines changed: 2519 additions & 0 deletions
Large diffs are not rendered by default.

owl-bot-staging/v1/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/DomainsSettings.java

Lines changed: 449 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"schema": "1.0",
3+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
4+
"language": "java",
5+
"protoPackage": "google.cloud.domains.v1",
6+
"libraryPackage": "com.google.cloud.domains.v1",
7+
"services": {
8+
"Domains": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "DomainsClient",
12+
"rpcs": {
13+
"ConfigureContactSettings": {
14+
"methods": ["configureContactSettingsAsync", "configureContactSettingsAsync", "configureContactSettingsAsync", "configureContactSettingsOperationCallable", "configureContactSettingsCallable"]
15+
},
16+
"ConfigureDnsSettings": {
17+
"methods": ["configureDnsSettingsAsync", "configureDnsSettingsAsync", "configureDnsSettingsAsync", "configureDnsSettingsOperationCallable", "configureDnsSettingsCallable"]
18+
},
19+
"ConfigureManagementSettings": {
20+
"methods": ["configureManagementSettingsAsync", "configureManagementSettingsAsync", "configureManagementSettingsAsync", "configureManagementSettingsOperationCallable", "configureManagementSettingsCallable"]
21+
},
22+
"DeleteRegistration": {
23+
"methods": ["deleteRegistrationAsync", "deleteRegistrationAsync", "deleteRegistrationAsync", "deleteRegistrationOperationCallable", "deleteRegistrationCallable"]
24+
},
25+
"ExportRegistration": {
26+
"methods": ["exportRegistrationAsync", "exportRegistrationAsync", "exportRegistrationAsync", "exportRegistrationOperationCallable", "exportRegistrationCallable"]
27+
},
28+
"GetRegistration": {
29+
"methods": ["getRegistration", "getRegistration", "getRegistration", "getRegistrationCallable"]
30+
},
31+
"ListRegistrations": {
32+
"methods": ["listRegistrations", "listRegistrations", "listRegistrations", "listRegistrationsPagedCallable", "listRegistrationsCallable"]
33+
},
34+
"RegisterDomain": {
35+
"methods": ["registerDomainAsync", "registerDomainAsync", "registerDomainAsync", "registerDomainOperationCallable", "registerDomainCallable"]
36+
},
37+
"ResetAuthorizationCode": {
38+
"methods": ["resetAuthorizationCode", "resetAuthorizationCode", "resetAuthorizationCode", "resetAuthorizationCodeCallable"]
39+
},
40+
"RetrieveAuthorizationCode": {
41+
"methods": ["retrieveAuthorizationCode", "retrieveAuthorizationCode", "retrieveAuthorizationCode", "retrieveAuthorizationCodeCallable"]
42+
},
43+
"RetrieveRegisterParameters": {
44+
"methods": ["retrieveRegisterParameters", "retrieveRegisterParameters", "retrieveRegisterParameters", "retrieveRegisterParametersCallable"]
45+
},
46+
"RetrieveTransferParameters": {
47+
"methods": ["retrieveTransferParameters", "retrieveTransferParameters", "retrieveTransferParameters", "retrieveTransferParametersCallable"]
48+
},
49+
"SearchDomains": {
50+
"methods": ["searchDomains", "searchDomains", "searchDomains", "searchDomainsCallable"]
51+
},
52+
"TransferDomain": {
53+
"methods": ["transferDomainAsync", "transferDomainAsync", "transferDomainAsync", "transferDomainOperationCallable", "transferDomainCallable"]
54+
},
55+
"UpdateRegistration": {
56+
"methods": ["updateRegistrationAsync", "updateRegistrationAsync", "updateRegistrationOperationCallable", "updateRegistrationCallable"]
57+
}
58+
}
59+
}
60+
}
61+
}
62+
}
63+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/*
2+
* Copyright 2021 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* A client to Cloud Domains API
19+
*
20+
* <p>The interfaces provided are listed below, along with usage samples.
21+
*
22+
* <p>======================= DomainsClient =======================
23+
*
24+
* <p>Service Description: The Cloud Domains API enables management and configuration of domain
25+
* names.
26+
*
27+
* <p>Sample for DomainsClient:
28+
*
29+
* <pre>{@code
30+
* try (DomainsClient domainsClient = DomainsClient.create()) {
31+
* LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");
32+
* String query = "query107944136";
33+
* SearchDomainsResponse response = domainsClient.searchDomains(location, query);
34+
* }
35+
* }</pre>
36+
*/
37+
@Generated("by gapic-generator-java")
38+
package com.google.cloud.domains.v1;
39+
40+
import javax.annotation.Generated;
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
/*
2+
* Copyright 2021 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.google.cloud.domains.v1.stub;
18+
19+
import static com.google.cloud.domains.v1.DomainsClient.ListRegistrationsPagedResponse;
20+
21+
import com.google.api.gax.core.BackgroundResource;
22+
import com.google.api.gax.rpc.OperationCallable;
23+
import com.google.api.gax.rpc.UnaryCallable;
24+
import com.google.cloud.domains.v1.AuthorizationCode;
25+
import com.google.cloud.domains.v1.ConfigureContactSettingsRequest;
26+
import com.google.cloud.domains.v1.ConfigureDnsSettingsRequest;
27+
import com.google.cloud.domains.v1.ConfigureManagementSettingsRequest;
28+
import com.google.cloud.domains.v1.DeleteRegistrationRequest;
29+
import com.google.cloud.domains.v1.ExportRegistrationRequest;
30+
import com.google.cloud.domains.v1.GetRegistrationRequest;
31+
import com.google.cloud.domains.v1.ListRegistrationsRequest;
32+
import com.google.cloud.domains.v1.ListRegistrationsResponse;
33+
import com.google.cloud.domains.v1.OperationMetadata;
34+
import com.google.cloud.domains.v1.RegisterDomainRequest;
35+
import com.google.cloud.domains.v1.Registration;
36+
import com.google.cloud.domains.v1.ResetAuthorizationCodeRequest;
37+
import com.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest;
38+
import com.google.cloud.domains.v1.RetrieveRegisterParametersRequest;
39+
import com.google.cloud.domains.v1.RetrieveRegisterParametersResponse;
40+
import com.google.cloud.domains.v1.RetrieveTransferParametersRequest;
41+
import com.google.cloud.domains.v1.RetrieveTransferParametersResponse;
42+
import com.google.cloud.domains.v1.SearchDomainsRequest;
43+
import com.google.cloud.domains.v1.SearchDomainsResponse;
44+
import com.google.cloud.domains.v1.TransferDomainRequest;
45+
import com.google.cloud.domains.v1.UpdateRegistrationRequest;
46+
import com.google.longrunning.Operation;
47+
import com.google.longrunning.stub.OperationsStub;
48+
import com.google.protobuf.Empty;
49+
import javax.annotation.Generated;
50+
51+
// AUTO-GENERATED DOCUMENTATION AND CLASS.
52+
/**
53+
* Base stub class for the Domains service API.
54+
*
55+
* <p>This class is for advanced usage and reflects the underlying API directly.
56+
*/
57+
@Generated("by gapic-generator-java")
58+
public abstract class DomainsStub implements BackgroundResource {
59+
60+
public OperationsStub getOperationsStub() {
61+
throw new UnsupportedOperationException("Not implemented: getOperationsStub()");
62+
}
63+
64+
public UnaryCallable<SearchDomainsRequest, SearchDomainsResponse> searchDomainsCallable() {
65+
throw new UnsupportedOperationException("Not implemented: searchDomainsCallable()");
66+
}
67+
68+
public UnaryCallable<RetrieveRegisterParametersRequest, RetrieveRegisterParametersResponse>
69+
retrieveRegisterParametersCallable() {
70+
throw new UnsupportedOperationException(
71+
"Not implemented: retrieveRegisterParametersCallable()");
72+
}
73+
74+
public OperationCallable<RegisterDomainRequest, Registration, OperationMetadata>
75+
registerDomainOperationCallable() {
76+
throw new UnsupportedOperationException("Not implemented: registerDomainOperationCallable()");
77+
}
78+
79+
public UnaryCallable<RegisterDomainRequest, Operation> registerDomainCallable() {
80+
throw new UnsupportedOperationException("Not implemented: registerDomainCallable()");
81+
}
82+
83+
public UnaryCallable<RetrieveTransferParametersRequest, RetrieveTransferParametersResponse>
84+
retrieveTransferParametersCallable() {
85+
throw new UnsupportedOperationException(
86+
"Not implemented: retrieveTransferParametersCallable()");
87+
}
88+
89+
public OperationCallable<TransferDomainRequest, Registration, OperationMetadata>
90+
transferDomainOperationCallable() {
91+
throw new UnsupportedOperationException("Not implemented: transferDomainOperationCallable()");
92+
}
93+
94+
public UnaryCallable<TransferDomainRequest, Operation> transferDomainCallable() {
95+
throw new UnsupportedOperationException("Not implemented: transferDomainCallable()");
96+
}
97+
98+
public UnaryCallable<ListRegistrationsRequest, ListRegistrationsPagedResponse>
99+
listRegistrationsPagedCallable() {
100+
throw new UnsupportedOperationException("Not implemented: listRegistrationsPagedCallable()");
101+
}
102+
103+
public UnaryCallable<ListRegistrationsRequest, ListRegistrationsResponse>
104+
listRegistrationsCallable() {
105+
throw new UnsupportedOperationException("Not implemented: listRegistrationsCallable()");
106+
}
107+
108+
public UnaryCallable<GetRegistrationRequest, Registration> getRegistrationCallable() {
109+
throw new UnsupportedOperationException("Not implemented: getRegistrationCallable()");
110+
}
111+
112+
public OperationCallable<UpdateRegistrationRequest, Registration, OperationMetadata>
113+
updateRegistrationOperationCallable() {
114+
throw new UnsupportedOperationException(
115+
"Not implemented: updateRegistrationOperationCallable()");
116+
}
117+
118+
public UnaryCallable<UpdateRegistrationRequest, Operation> updateRegistrationCallable() {
119+
throw new UnsupportedOperationException("Not implemented: updateRegistrationCallable()");
120+
}
121+
122+
public OperationCallable<ConfigureManagementSettingsRequest, Registration, OperationMetadata>
123+
configureManagementSettingsOperationCallable() {
124+
throw new UnsupportedOperationException(
125+
"Not implemented: configureManagementSettingsOperationCallable()");
126+
}
127+
128+
public UnaryCallable<ConfigureManagementSettingsRequest, Operation>
129+
configureManagementSettingsCallable() {
130+
throw new UnsupportedOperationException(
131+
"Not implemented: configureManagementSettingsCallable()");
132+
}
133+
134+
public OperationCallable<ConfigureDnsSettingsRequest, Registration, OperationMetadata>
135+
configureDnsSettingsOperationCallable() {
136+
throw new UnsupportedOperationException(
137+
"Not implemented: configureDnsSettingsOperationCallable()");
138+
}
139+
140+
public UnaryCallable<ConfigureDnsSettingsRequest, Operation> configureDnsSettingsCallable() {
141+
throw new UnsupportedOperationException("Not implemented: configureDnsSettingsCallable()");
142+
}
143+
144+
public OperationCallable<ConfigureContactSettingsRequest, Registration, OperationMetadata>
145+
configureContactSettingsOperationCallable() {
146+
throw new UnsupportedOperationException(
147+
"Not implemented: configureContactSettingsOperationCallable()");
148+
}
149+
150+
public UnaryCallable<ConfigureContactSettingsRequest, Operation>
151+
configureContactSettingsCallable() {
152+
throw new UnsupportedOperationException("Not implemented: configureContactSettingsCallable()");
153+
}
154+
155+
public OperationCallable<ExportRegistrationRequest, Registration, OperationMetadata>
156+
exportRegistrationOperationCallable() {
157+
throw new UnsupportedOperationException(
158+
"Not implemented: exportRegistrationOperationCallable()");
159+
}
160+
161+
public UnaryCallable<ExportRegistrationRequest, Operation> exportRegistrationCallable() {
162+
throw new UnsupportedOperationException("Not implemented: exportRegistrationCallable()");
163+
}
164+
165+
public OperationCallable<DeleteRegistrationRequest, Empty, OperationMetadata>
166+
deleteRegistrationOperationCallable() {
167+
throw new UnsupportedOperationException(
168+
"Not implemented: deleteRegistrationOperationCallable()");
169+
}
170+
171+
public UnaryCallable<DeleteRegistrationRequest, Operation> deleteRegistrationCallable() {
172+
throw new UnsupportedOperationException("Not implemented: deleteRegistrationCallable()");
173+
}
174+
175+
public UnaryCallable<RetrieveAuthorizationCodeRequest, AuthorizationCode>
176+
retrieveAuthorizationCodeCallable() {
177+
throw new UnsupportedOperationException("Not implemented: retrieveAuthorizationCodeCallable()");
178+
}
179+
180+
public UnaryCallable<ResetAuthorizationCodeRequest, AuthorizationCode>
181+
resetAuthorizationCodeCallable() {
182+
throw new UnsupportedOperationException("Not implemented: resetAuthorizationCodeCallable()");
183+
}
184+
185+
@Override
186+
public abstract void close();
187+
}

0 commit comments

Comments
 (0)