1{ 2 "auth": { 3 "oauth2": { 4 "scopes": { 5 "https://www.googleapis.com/auth/cloud-platform": { 6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." 7 } 8 } 9 } 10 }, 11 "basePath": "", 12 "baseUrl": "https://domains.googleapis.com/", 13 "batchPath": "batch", 14 "canonicalName": "Cloud Domains", 15 "description": "Enables management and configuration of domain names.", 16 "discoveryVersion": "v1", 17 "documentationLink": "https://cloud.google.com/domains/", 18 "fullyEncodeReservedExpansion": true, 19 "icons": { 20 "x16": "http://www.google.com/images/icons/product/search-16.gif", 21 "x32": "http://www.google.com/images/icons/product/search-32.gif" 22 }, 23 "id": "domains:v1beta1", 24 "kind": "discovery#restDescription", 25 "mtlsRootUrl": "https://domains.mtls.googleapis.com/", 26 "name": "domains", 27 "ownerDomain": "google.com", 28 "ownerName": "Google", 29 "parameters": { 30 "$.xgafv": { 31 "description": "V1 error format.", 32 "enum": [ 33 "1", 34 "2" 35 ], 36 "enumDescriptions": [ 37 "v1 error format", 38 "v2 error format" 39 ], 40 "location": "query", 41 "type": "string" 42 }, 43 "access_token": { 44 "description": "OAuth access token.", 45 "location": "query", 46 "type": "string" 47 }, 48 "alt": { 49 "default": "json", 50 "description": "Data format for response.", 51 "enum": [ 52 "json", 53 "media", 54 "proto" 55 ], 56 "enumDescriptions": [ 57 "Responses with Content-Type of application/json", 58 "Media download with context-dependent Content-Type", 59 "Responses with Content-Type of application/x-protobuf" 60 ], 61 "location": "query", 62 "type": "string" 63 }, 64 "callback": { 65 "description": "JSONP", 66 "location": "query", 67 "type": "string" 68 }, 69 "fields": { 70 "description": "Selector specifying which fields to include in a partial response.", 71 "location": "query", 72 "type": "string" 73 }, 74 "key": { 75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", 76 "location": "query", 77 "type": "string" 78 }, 79 "oauth_token": { 80 "description": "OAuth 2.0 token for the current user.", 81 "location": "query", 82 "type": "string" 83 }, 84 "prettyPrint": { 85 "default": "true", 86 "description": "Returns response with indentations and line breaks.", 87 "location": "query", 88 "type": "boolean" 89 }, 90 "quotaUser": { 91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", 92 "location": "query", 93 "type": "string" 94 }, 95 "uploadType": { 96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", 97 "location": "query", 98 "type": "string" 99 }, 100 "upload_protocol": { 101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", 102 "location": "query", 103 "type": "string" 104 } 105 }, 106 "protocol": "rest", 107 "resources": { 108 "projects": { 109 "resources": { 110 "locations": { 111 "methods": { 112 "get": { 113 "description": "Gets information about a location.", 114 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", 115 "httpMethod": "GET", 116 "id": "domains.projects.locations.get", 117 "parameterOrder": [ 118 "name" 119 ], 120 "parameters": { 121 "name": { 122 "description": "Resource name for the location.", 123 "location": "path", 124 "pattern": "^projects/[^/]+/locations/[^/]+$", 125 "required": true, 126 "type": "string" 127 } 128 }, 129 "path": "v1beta1/{+name}", 130 "response": { 131 "$ref": "Location" 132 }, 133 "scopes": [ 134 "https://www.googleapis.com/auth/cloud-platform" 135 ] 136 }, 137 "list": { 138 "description": "Lists information about the supported locations for this service.", 139 "flatPath": "v1beta1/projects/{projectsId}/locations", 140 "httpMethod": "GET", 141 "id": "domains.projects.locations.list", 142 "parameterOrder": [ 143 "name" 144 ], 145 "parameters": { 146 "filter": { 147 "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in [AIP-160](https://google.aip.dev/160).", 148 "location": "query", 149 "type": "string" 150 }, 151 "name": { 152 "description": "The resource that owns the locations collection, if applicable.", 153 "location": "path", 154 "pattern": "^projects/[^/]+$", 155 "required": true, 156 "type": "string" 157 }, 158 "pageSize": { 159 "description": "The maximum number of results to return. If not set, the service selects a default.", 160 "format": "int32", 161 "location": "query", 162 "type": "integer" 163 }, 164 "pageToken": { 165 "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", 166 "location": "query", 167 "type": "string" 168 } 169 }, 170 "path": "v1beta1/{+name}/locations", 171 "response": { 172 "$ref": "ListLocationsResponse" 173 }, 174 "scopes": [ 175 "https://www.googleapis.com/auth/cloud-platform" 176 ] 177 } 178 }, 179 "resources": { 180 "operations": { 181 "methods": { 182 "get": { 183 "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", 184 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", 185 "httpMethod": "GET", 186 "id": "domains.projects.locations.operations.get", 187 "parameterOrder": [ 188 "name" 189 ], 190 "parameters": { 191 "name": { 192 "description": "The name of the operation resource.", 193 "location": "path", 194 "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", 195 "required": true, 196 "type": "string" 197 } 198 }, 199 "path": "v1beta1/{+name}", 200 "response": { 201 "$ref": "Operation" 202 }, 203 "scopes": [ 204 "https://www.googleapis.com/auth/cloud-platform" 205 ] 206 }, 207 "list": { 208 "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", 209 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", 210 "httpMethod": "GET", 211 "id": "domains.projects.locations.operations.list", 212 "parameterOrder": [ 213 "name" 214 ], 215 "parameters": { 216 "filter": { 217 "description": "The standard list filter.", 218 "location": "query", 219 "type": "string" 220 }, 221 "name": { 222 "description": "The name of the operation's parent resource.", 223 "location": "path", 224 "pattern": "^projects/[^/]+/locations/[^/]+$", 225 "required": true, 226 "type": "string" 227 }, 228 "pageSize": { 229 "description": "The standard list page size.", 230 "format": "int32", 231 "location": "query", 232 "type": "integer" 233 }, 234 "pageToken": { 235 "description": "The standard list page token.", 236 "location": "query", 237 "type": "string" 238 } 239 }, 240 "path": "v1beta1/{+name}/operations", 241 "response": { 242 "$ref": "ListOperationsResponse" 243 }, 244 "scopes": [ 245 "https://www.googleapis.com/auth/cloud-platform" 246 ] 247 } 248 } 249 }, 250 "registrations": { 251 "methods": { 252 "configureContactSettings": { 253 "description": "Updates a `Registration`'s contact settings. Some changes require confirmation by the domain's registrant contact .", 254 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureContactSettings", 255 "httpMethod": "POST", 256 "id": "domains.projects.locations.registrations.configureContactSettings", 257 "parameterOrder": [ 258 "registration" 259 ], 260 "parameters": { 261 "registration": { 262 "description": "Required. The name of the `Registration` whose contact settings are being updated, in the format `projects/*/locations/*/registrations/*`.", 263 "location": "path", 264 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 265 "required": true, 266 "type": "string" 267 } 268 }, 269 "path": "v1beta1/{+registration}:configureContactSettings", 270 "request": { 271 "$ref": "ConfigureContactSettingsRequest" 272 }, 273 "response": { 274 "$ref": "Operation" 275 }, 276 "scopes": [ 277 "https://www.googleapis.com/auth/cloud-platform" 278 ] 279 }, 280 "configureDnsSettings": { 281 "description": "Updates a `Registration`'s DNS settings.", 282 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureDnsSettings", 283 "httpMethod": "POST", 284 "id": "domains.projects.locations.registrations.configureDnsSettings", 285 "parameterOrder": [ 286 "registration" 287 ], 288 "parameters": { 289 "registration": { 290 "description": "Required. The name of the `Registration` whose DNS settings are being updated, in the format `projects/*/locations/*/registrations/*`.", 291 "location": "path", 292 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 293 "required": true, 294 "type": "string" 295 } 296 }, 297 "path": "v1beta1/{+registration}:configureDnsSettings", 298 "request": { 299 "$ref": "ConfigureDnsSettingsRequest" 300 }, 301 "response": { 302 "$ref": "Operation" 303 }, 304 "scopes": [ 305 "https://www.googleapis.com/auth/cloud-platform" 306 ] 307 }, 308 "configureManagementSettings": { 309 "description": "Updates a `Registration`'s management settings.", 310 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureManagementSettings", 311 "httpMethod": "POST", 312 "id": "domains.projects.locations.registrations.configureManagementSettings", 313 "parameterOrder": [ 314 "registration" 315 ], 316 "parameters": { 317 "registration": { 318 "description": "Required. The name of the `Registration` whose management settings are being updated, in the format `projects/*/locations/*/registrations/*`.", 319 "location": "path", 320 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 321 "required": true, 322 "type": "string" 323 } 324 }, 325 "path": "v1beta1/{+registration}:configureManagementSettings", 326 "request": { 327 "$ref": "ConfigureManagementSettingsRequest" 328 }, 329 "response": { 330 "$ref": "Operation" 331 }, 332 "scopes": [ 333 "https://www.googleapis.com/auth/cloud-platform" 334 ] 335 }, 336 "delete": { 337 "description": "Deletes a `Registration` resource. This method works on any `Registration` resource using [Subscription or Commitment billing](/domains/pricing#billing-models), provided that the resource was created at least 1 day in the past. For `Registration` resources using [Monthly billing](/domains/pricing#billing-models), this method works if: * `state` is `EXPORTED` with `expire_time` in the past * `state` is `REGISTRATION_FAILED` * `state` is `TRANSFER_FAILED` When an active registration is successfully deleted, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains.", 338 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}", 339 "httpMethod": "DELETE", 340 "id": "domains.projects.locations.registrations.delete", 341 "parameterOrder": [ 342 "name" 343 ], 344 "parameters": { 345 "name": { 346 "description": "Required. The name of the `Registration` to delete, in the format `projects/*/locations/*/registrations/*`.", 347 "location": "path", 348 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 349 "required": true, 350 "type": "string" 351 } 352 }, 353 "path": "v1beta1/{+name}", 354 "response": { 355 "$ref": "Operation" 356 }, 357 "scopes": [ 358 "https://www.googleapis.com/auth/cloud-platform" 359 ] 360 }, 361 "export": { 362 "description": "Exports a `Registration` resource, such that it is no longer managed by Cloud Domains. When an active domain is successfully exported, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains.", 363 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:export", 364 "httpMethod": "POST", 365 "id": "domains.projects.locations.registrations.export", 366 "parameterOrder": [ 367 "name" 368 ], 369 "parameters": { 370 "name": { 371 "description": "Required. The name of the `Registration` to export, in the format `projects/*/locations/*/registrations/*`.", 372 "location": "path", 373 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 374 "required": true, 375 "type": "string" 376 } 377 }, 378 "path": "v1beta1/{+name}:export", 379 "request": { 380 "$ref": "ExportRegistrationRequest" 381 }, 382 "response": { 383 "$ref": "Operation" 384 }, 385 "scopes": [ 386 "https://www.googleapis.com/auth/cloud-platform" 387 ] 388 }, 389 "get": { 390 "description": "Gets the details of a `Registration` resource.", 391 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}", 392 "httpMethod": "GET", 393 "id": "domains.projects.locations.registrations.get", 394 "parameterOrder": [ 395 "name" 396 ], 397 "parameters": { 398 "name": { 399 "description": "Required. The name of the `Registration` to get, in the format `projects/*/locations/*/registrations/*`.", 400 "location": "path", 401 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 402 "required": true, 403 "type": "string" 404 } 405 }, 406 "path": "v1beta1/{+name}", 407 "response": { 408 "$ref": "Registration" 409 }, 410 "scopes": [ 411 "https://www.googleapis.com/auth/cloud-platform" 412 ] 413 }, 414 "getIamPolicy": { 415 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", 416 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:getIamPolicy", 417 "httpMethod": "GET", 418 "id": "domains.projects.locations.registrations.getIamPolicy", 419 "parameterOrder": [ 420 "resource" 421 ], 422 "parameters": { 423 "options.requestedPolicyVersion": { 424 "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", 425 "format": "int32", 426 "location": "query", 427 "type": "integer" 428 }, 429 "resource": { 430 "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", 431 "location": "path", 432 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 433 "required": true, 434 "type": "string" 435 } 436 }, 437 "path": "v1beta1/{+resource}:getIamPolicy", 438 "response": { 439 "$ref": "Policy" 440 }, 441 "scopes": [ 442 "https://www.googleapis.com/auth/cloud-platform" 443 ] 444 }, 445 "list": { 446 "description": "Lists the `Registration` resources in a project.", 447 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations", 448 "httpMethod": "GET", 449 "id": "domains.projects.locations.registrations.list", 450 "parameterOrder": [ 451 "parent" 452 ], 453 "parameters": { 454 "filter": { 455 "description": "Filter expression to restrict the `Registration`s returned. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like `domainName=\"example.com\"`. You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like `dnsSettings.customDns:*`. You can also create compound filters by combining expressions with the `AND` and `OR` operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like `(state=SUSPENDED) OR (issue:*)`.", 456 "location": "query", 457 "type": "string" 458 }, 459 "pageSize": { 460 "description": "Maximum number of results to return.", 461 "format": "int32", 462 "location": "query", 463 "type": "integer" 464 }, 465 "pageToken": { 466 "description": "When set to the `next_page_token` from a prior response, provides the next page of results.", 467 "location": "query", 468 "type": "string" 469 }, 470 "parent": { 471 "description": "Required. The project and location from which to list `Registration`s, specified in the format `projects/*/locations/*`.", 472 "location": "path", 473 "pattern": "^projects/[^/]+/locations/[^/]+$", 474 "required": true, 475 "type": "string" 476 } 477 }, 478 "path": "v1beta1/{+parent}/registrations", 479 "response": { 480 "$ref": "ListRegistrationsResponse" 481 }, 482 "scopes": [ 483 "https://www.googleapis.com/auth/cloud-platform" 484 ] 485 }, 486 "patch": { 487 "description": "Updates select fields of a `Registration` resource, notably `labels`. To update other fields, use the appropriate custom update method: * To update management settings, see `ConfigureManagementSettings` * To update DNS configuration, see `ConfigureDnsSettings` * To update contact information, see `ConfigureContactSettings`", 488 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}", 489 "httpMethod": "PATCH", 490 "id": "domains.projects.locations.registrations.patch", 491 "parameterOrder": [ 492 "name" 493 ], 494 "parameters": { 495 "name": { 496 "description": "Output only. Name of the `Registration` resource, in the format `projects/*/locations/*/registrations/`.", 497 "location": "path", 498 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 499 "required": true, 500 "type": "string" 501 }, 502 "updateMask": { 503 "description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the labels are being updated, the `update_mask` is `\"labels\"`.", 504 "format": "google-fieldmask", 505 "location": "query", 506 "type": "string" 507 } 508 }, 509 "path": "v1beta1/{+name}", 510 "request": { 511 "$ref": "Registration" 512 }, 513 "response": { 514 "$ref": "Operation" 515 }, 516 "scopes": [ 517 "https://www.googleapis.com/auth/cloud-platform" 518 ] 519 }, 520 "register": { 521 "description": "Registers a new domain name and creates a corresponding `Registration` resource. Call `RetrieveRegisterParameters` first to check availability of the domain name and determine parameters like price that are needed to build a call to this method. A successful call creates a `Registration` resource in state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes, indicating that the domain was successfully registered. If the resource ends up in state `REGISTRATION_FAILED`, it indicates that the domain was not registered successfully, and you can safely delete the resource and retry registration.", 522 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:register", 523 "httpMethod": "POST", 524 "id": "domains.projects.locations.registrations.register", 525 "parameterOrder": [ 526 "parent" 527 ], 528 "parameters": { 529 "parent": { 530 "description": "Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.", 531 "location": "path", 532 "pattern": "^projects/[^/]+/locations/[^/]+$", 533 "required": true, 534 "type": "string" 535 } 536 }, 537 "path": "v1beta1/{+parent}/registrations:register", 538 "request": { 539 "$ref": "RegisterDomainRequest" 540 }, 541 "response": { 542 "$ref": "Operation" 543 }, 544 "scopes": [ 545 "https://www.googleapis.com/auth/cloud-platform" 546 ] 547 }, 548 "resetAuthorizationCode": { 549 "description": "Resets the authorization code of the `Registration` to a new random string. You can call this method only after 60 days have elapsed since the initial domain registration.", 550 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:resetAuthorizationCode", 551 "httpMethod": "POST", 552 "id": "domains.projects.locations.registrations.resetAuthorizationCode", 553 "parameterOrder": [ 554 "registration" 555 ], 556 "parameters": { 557 "registration": { 558 "description": "Required. The name of the `Registration` whose authorization code is being reset, in the format `projects/*/locations/*/registrations/*`.", 559 "location": "path", 560 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 561 "required": true, 562 "type": "string" 563 } 564 }, 565 "path": "v1beta1/{+registration}:resetAuthorizationCode", 566 "request": { 567 "$ref": "ResetAuthorizationCodeRequest" 568 }, 569 "response": { 570 "$ref": "AuthorizationCode" 571 }, 572 "scopes": [ 573 "https://www.googleapis.com/auth/cloud-platform" 574 ] 575 }, 576 "retrieveAuthorizationCode": { 577 "description": "Gets the authorization code of the `Registration` for the purpose of transferring the domain to another registrar. You can call this method only after 60 days have elapsed since the initial domain registration.", 578 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveAuthorizationCode", 579 "httpMethod": "GET", 580 "id": "domains.projects.locations.registrations.retrieveAuthorizationCode", 581 "parameterOrder": [ 582 "registration" 583 ], 584 "parameters": { 585 "registration": { 586 "description": "Required. The name of the `Registration` whose authorization code is being retrieved, in the format `projects/*/locations/*/registrations/*`.", 587 "location": "path", 588 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 589 "required": true, 590 "type": "string" 591 } 592 }, 593 "path": "v1beta1/{+registration}:retrieveAuthorizationCode", 594 "response": { 595 "$ref": "AuthorizationCode" 596 }, 597 "scopes": [ 598 "https://www.googleapis.com/auth/cloud-platform" 599 ] 600 }, 601 "retrieveRegisterParameters": { 602 "description": "Gets parameters needed to register a new domain name, including price and up-to-date availability. Use the returned values to call `RegisterDomain`.", 603 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveRegisterParameters", 604 "httpMethod": "GET", 605 "id": "domains.projects.locations.registrations.retrieveRegisterParameters", 606 "parameterOrder": [ 607 "location" 608 ], 609 "parameters": { 610 "domainName": { 611 "description": "Required. The domain name. Unicode domain names must be expressed in Punycode format.", 612 "location": "query", 613 "type": "string" 614 }, 615 "location": { 616 "description": "Required. The location. Must be in the format `projects/*/locations/*`.", 617 "location": "path", 618 "pattern": "^projects/[^/]+/locations/[^/]+$", 619 "required": true, 620 "type": "string" 621 } 622 }, 623 "path": "v1beta1/{+location}/registrations:retrieveRegisterParameters", 624 "response": { 625 "$ref": "RetrieveRegisterParametersResponse" 626 }, 627 "scopes": [ 628 "https://www.googleapis.com/auth/cloud-platform" 629 ] 630 }, 631 "retrieveTransferParameters": { 632 "description": "Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains managed by Google Domains, transferring to Cloud Domains is not supported. Use the returned values to call `TransferDomain`.", 633 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveTransferParameters", 634 "httpMethod": "GET", 635 "id": "domains.projects.locations.registrations.retrieveTransferParameters", 636 "parameterOrder": [ 637 "location" 638 ], 639 "parameters": { 640 "domainName": { 641 "description": "Required. The domain name. Unicode domain names must be expressed in Punycode format.", 642 "location": "query", 643 "type": "string" 644 }, 645 "location": { 646 "description": "Required. The location. Must be in the format `projects/*/locations/*`.", 647 "location": "path", 648 "pattern": "^projects/[^/]+/locations/[^/]+$", 649 "required": true, 650 "type": "string" 651 } 652 }, 653 "path": "v1beta1/{+location}/registrations:retrieveTransferParameters", 654 "response": { 655 "$ref": "RetrieveTransferParametersResponse" 656 }, 657 "scopes": [ 658 "https://www.googleapis.com/auth/cloud-platform" 659 ] 660 }, 661 "searchDomains": { 662 "description": "Searches for available domain names similar to the provided query. Availability results from this method are approximate; call `RetrieveRegisterParameters` on a domain before registering to confirm availability.", 663 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:searchDomains", 664 "httpMethod": "GET", 665 "id": "domains.projects.locations.registrations.searchDomains", 666 "parameterOrder": [ 667 "location" 668 ], 669 "parameters": { 670 "location": { 671 "description": "Required. The location. Must be in the format `projects/*/locations/*`.", 672 "location": "path", 673 "pattern": "^projects/[^/]+/locations/[^/]+$", 674 "required": true, 675 "type": "string" 676 }, 677 "query": { 678 "description": "Required. String used to search for available domain names.", 679 "location": "query", 680 "type": "string" 681 } 682 }, 683 "path": "v1beta1/{+location}/registrations:searchDomains", 684 "response": { 685 "$ref": "SearchDomainsResponse" 686 }, 687 "scopes": [ 688 "https://www.googleapis.com/auth/cloud-platform" 689 ] 690 }, 691 "setIamPolicy": { 692 "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", 693 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:setIamPolicy", 694 "httpMethod": "POST", 695 "id": "domains.projects.locations.registrations.setIamPolicy", 696 "parameterOrder": [ 697 "resource" 698 ], 699 "parameters": { 700 "resource": { 701 "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", 702 "location": "path", 703 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 704 "required": true, 705 "type": "string" 706 } 707 }, 708 "path": "v1beta1/{+resource}:setIamPolicy", 709 "request": { 710 "$ref": "SetIamPolicyRequest" 711 }, 712 "response": { 713 "$ref": "Policy" 714 }, 715 "scopes": [ 716 "https://www.googleapis.com/auth/cloud-platform" 717 ] 718 }, 719 "testIamPermissions": { 720 "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", 721 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:testIamPermissions", 722 "httpMethod": "POST", 723 "id": "domains.projects.locations.registrations.testIamPermissions", 724 "parameterOrder": [ 725 "resource" 726 ], 727 "parameters": { 728 "resource": { 729 "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", 730 "location": "path", 731 "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", 732 "required": true, 733 "type": "string" 734 } 735 }, 736 "path": "v1beta1/{+resource}:testIamPermissions", 737 "request": { 738 "$ref": "TestIamPermissionsRequest" 739 }, 740 "response": { 741 "$ref": "TestIamPermissionsResponse" 742 }, 743 "scopes": [ 744 "https://www.googleapis.com/auth/cloud-platform" 745 ] 746 }, 747 "transfer": { 748 "description": "Transfers a domain name from another registrar to Cloud Domains. For domains managed by Google Domains, transferring to Cloud Domains is not supported. Before calling this method, go to the domain's current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to this method. A successful call creates a `Registration` resource in state `TRANSFER_PENDING`. It can take several days to complete the transfer process. The registrant can often speed up this process by approving the transfer through the current registrar, either by clicking a link in an email from the registrar or by visiting the registrar's website. A few minutes after transfer approval, the resource transitions to state `ACTIVE`, indicating that the transfer was successful. If the transfer is rejected or the request expires without being approved, the resource can end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete the resource and retry the transfer.", 749 "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:transfer", 750 "httpMethod": "POST", 751 "id": "domains.projects.locations.registrations.transfer", 752 "parameterOrder": [ 753 "parent" 754 ], 755 "parameters": { 756 "parent": { 757 "description": "Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.", 758 "location": "path", 759 "pattern": "^projects/[^/]+/locations/[^/]+$", 760 "required": true, 761 "type": "string" 762 } 763 }, 764 "path": "v1beta1/{+parent}/registrations:transfer", 765 "request": { 766 "$ref": "TransferDomainRequest" 767 }, 768 "response": { 769 "$ref": "Operation" 770 }, 771 "scopes": [ 772 "https://www.googleapis.com/auth/cloud-platform" 773 ] 774 } 775 } 776 } 777 } 778 } 779 } 780 } 781 }, 782 "revision": "20211210", 783 "rootUrl": "https://domains.googleapis.com/", 784 "schemas": { 785 "AuditConfig": { 786 "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", 787 "id": "AuditConfig", 788 "properties": { 789 "auditLogConfigs": { 790 "description": "The configuration for logging of each type of permission.", 791 "items": { 792 "$ref": "AuditLogConfig" 793 }, 794 "type": "array" 795 }, 796 "service": { 797 "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", 798 "type": "string" 799 } 800 }, 801 "type": "object" 802 }, 803 "AuditLogConfig": { 804 "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", 805 "id": "AuditLogConfig", 806 "properties": { 807 "exemptedMembers": { 808 "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", 809 "items": { 810 "type": "string" 811 }, 812 "type": "array" 813 }, 814 "logType": { 815 "description": "The log type that this config enables.", 816 "enum": [ 817 "LOG_TYPE_UNSPECIFIED", 818 "ADMIN_READ", 819 "DATA_WRITE", 820 "DATA_READ" 821 ], 822 "enumDescriptions": [ 823 "Default case. Should never be this.", 824 "Admin reads. Example: CloudIAM getIamPolicy", 825 "Data writes. Example: CloudSQL Users create", 826 "Data reads. Example: CloudSQL Users list" 827 ], 828 "type": "string" 829 } 830 }, 831 "type": "object" 832 }, 833 "AuthorizationCode": { 834 "description": "Defines an authorization code.", 835 "id": "AuthorizationCode", 836 "properties": { 837 "code": { 838 "description": "The Authorization Code in ASCII. It can be used to transfer the domain to or from another registrar.", 839 "type": "string" 840 } 841 }, 842 "type": "object" 843 }, 844 "Binding": { 845 "description": "Associates `members`, or principals, with a `role`.", 846 "id": "Binding", 847 "properties": { 848 "condition": { 849 "$ref": "Expr", 850 "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." 851 }, 852 "members": { 853 "description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", 854 "items": { 855 "type": "string" 856 }, 857 "type": "array" 858 }, 859 "role": { 860 "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", 861 "type": "string" 862 } 863 }, 864 "type": "object" 865 }, 866 "ConfigureContactSettingsRequest": { 867 "description": "Request for the `ConfigureContactSettings` method.", 868 "id": "ConfigureContactSettingsRequest", 869 "properties": { 870 "contactNotices": { 871 "description": "The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `contact_settings`.", 872 "items": { 873 "enum": [ 874 "CONTACT_NOTICE_UNSPECIFIED", 875 "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" 876 ], 877 "enumDescriptions": [ 878 "The notice is undefined.", 879 "Required when setting the `privacy` field of `ContactSettings` to `PUBLIC_CONTACT_DATA`, which exposes contact data publicly." 880 ], 881 "type": "string" 882 }, 883 "type": "array" 884 }, 885 "contactSettings": { 886 "$ref": "ContactSettings", 887 "description": "Fields of the `ContactSettings` to update." 888 }, 889 "updateMask": { 890 "description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the `update_mask` is `\"registrant_contact\"`.", 891 "format": "google-fieldmask", 892 "type": "string" 893 }, 894 "validateOnly": { 895 "description": "Validate the request without actually updating the contact settings.", 896 "type": "boolean" 897 } 898 }, 899 "type": "object" 900 }, 901 "ConfigureDnsSettingsRequest": { 902 "description": "Request for the `ConfigureDnsSettings` method.", 903 "id": "ConfigureDnsSettingsRequest", 904 "properties": { 905 "dnsSettings": { 906 "$ref": "DnsSettings", 907 "description": "Fields of the `DnsSettings` to update." 908 }, 909 "updateMask": { 910 "description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the name servers are being updated for an existing Custom DNS configuration, the `update_mask` is `\"custom_dns.name_servers\"`. When changing the DNS provider from one type to another, pass the new provider's field name as part of the field mask. For example, when changing from a Google Domains DNS configuration to a Custom DNS configuration, the `update_mask` is `\"custom_dns\"`. //", 911 "format": "google-fieldmask", 912 "type": "string" 913 }, 914 "validateOnly": { 915 "description": "Validate the request without actually updating the DNS settings.", 916 "type": "boolean" 917 } 918 }, 919 "type": "object" 920 }, 921 "ConfigureManagementSettingsRequest": { 922 "description": "Request for the `ConfigureManagementSettings` method.", 923 "id": "ConfigureManagementSettingsRequest", 924 "properties": { 925 "managementSettings": { 926 "$ref": "ManagementSettings", 927 "description": "Fields of the `ManagementSettings` to update." 928 }, 929 "updateMask": { 930 "description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the transfer lock is being updated, the `update_mask` is `\"transfer_lock_state\"`.", 931 "format": "google-fieldmask", 932 "type": "string" 933 } 934 }, 935 "type": "object" 936 }, 937 "Contact": { 938 "description": "Details required for a contact associated with a `Registration`.", 939 "id": "Contact", 940 "properties": { 941 "email": { 942 "description": "Required. Email address of the contact.", 943 "type": "string" 944 }, 945 "faxNumber": { 946 "description": "Fax number of the contact in international format. For example, `\"+1-800-555-0123\"`.", 947 "type": "string" 948 }, 949 "phoneNumber": { 950 "description": "Required. Phone number of the contact in international format. For example, `\"+1-800-555-0123\"`.", 951 "type": "string" 952 }, 953 "postalAddress": { 954 "$ref": "PostalAddress", 955 "description": "Required. Postal address of the contact." 956 } 957 }, 958 "type": "object" 959 }, 960 "ContactSettings": { 961 "description": "Defines the contact information associated with a `Registration`. [ICANN](https://icann.org/) requires all domain names to have associated contact information. The `registrant_contact` is considered the domain's legal owner, and often the other contacts are identical.", 962 "id": "ContactSettings", 963 "properties": { 964 "adminContact": { 965 "$ref": "Contact", 966 "description": "Required. The administrative contact for the `Registration`." 967 }, 968 "privacy": { 969 "description": "Required. Privacy setting for the contacts associated with the `Registration`.", 970 "enum": [ 971 "CONTACT_PRIVACY_UNSPECIFIED", 972 "PUBLIC_CONTACT_DATA", 973 "PRIVATE_CONTACT_DATA", 974 "REDACTED_CONTACT_DATA" 975 ], 976 "enumDescriptions": [ 977 "The contact privacy settings are undefined.", 978 "All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", 979 "None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", 980 "Some data from `ContactSettings` is publicly available. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." 981 ], 982 "type": "string" 983 }, 984 "registrantContact": { 985 "$ref": "Contact", 986 "description": "Required. The registrant contact for the `Registration`. *Caution: Anyone with access to this email address, phone number, and/or postal address can take control of the domain.* *Warning: For new `Registration`s, the registrant receives an email confirmation that they must complete within 15 days to avoid domain suspension.*" 987 }, 988 "technicalContact": { 989 "$ref": "Contact", 990 "description": "Required. The technical contact for the `Registration`." 991 } 992 }, 993 "type": "object" 994 }, 995 "CustomDns": { 996 "description": "Configuration for an arbitrary DNS provider.", 997 "id": "CustomDns", 998 "properties": { 999 "dsRecords": { 1000 "description": "The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.", 1001 "items": { 1002 "$ref": "DsRecord" 1003 }, 1004 "type": "array" 1005 }, 1006 "nameServers": { 1007 "description": "Required. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format.", 1008 "items": { 1009 "type": "string" 1010 }, 1011 "type": "array" 1012 } 1013 }, 1014 "type": "object" 1015 }, 1016 "DnsSettings": { 1017 "description": "Defines the DNS configuration of a `Registration`, including name servers, DNSSEC, and glue records.", 1018 "id": "DnsSettings", 1019 "properties": { 1020 "customDns": { 1021 "$ref": "CustomDns", 1022 "description": "An arbitrary DNS provider identified by its name servers." 1023 }, 1024 "glueRecords": { 1025 "description": "The list of glue records for this `Registration`. Commonly empty.", 1026 "items": { 1027 "$ref": "GlueRecord" 1028 }, 1029 "type": "array" 1030 }, 1031 "googleDomainsDns": { 1032 "$ref": "GoogleDomainsDns", 1033 "description": "The free DNS zone provided by [Google Domains](https://domains.google/)." 1034 } 1035 }, 1036 "type": "object" 1037 }, 1038 "DsRecord": { 1039 "description": "Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone.", 1040 "id": "DsRecord", 1041 "properties": { 1042 "algorithm": { 1043 "description": "The algorithm used to generate the referenced DNSKEY.", 1044 "enum": [ 1045 "ALGORITHM_UNSPECIFIED", 1046 "RSAMD5", 1047 "DH", 1048 "DSA", 1049 "ECC", 1050 "RSASHA1", 1051 "DSANSEC3SHA1", 1052 "RSASHA1NSEC3SHA1", 1053 "RSASHA256", 1054 "RSASHA512", 1055 "ECCGOST", 1056 "ECDSAP256SHA256", 1057 "ECDSAP384SHA384", 1058 "ED25519", 1059 "ED448", 1060 "INDIRECT", 1061 "PRIVATEDNS", 1062 "PRIVATEOID" 1063 ], 1064 "enumDescriptions": [ 1065 "The algorithm is unspecified.", 1066 "RSA/MD5. Cannot be used for new deployments.", 1067 "Diffie-Hellman. Cannot be used for new deployments.", 1068 "DSA/SHA1. Not recommended for new deployments.", 1069 "ECC. Not recommended for new deployments.", 1070 "RSA/SHA-1. Not recommended for new deployments.", 1071 "DSA-NSEC3-SHA1. Not recommended for new deployments.", 1072 "RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.", 1073 "RSA/SHA-256.", 1074 "RSA/SHA-512.", 1075 "GOST R 34.10-2001.", 1076 "ECDSA Curve P-256 with SHA-256.", 1077 "ECDSA Curve P-384 with SHA-384.", 1078 "Ed25519.", 1079 "Ed448.", 1080 "Reserved for Indirect Keys. Cannot be used for new deployments.", 1081 "Private algorithm. Cannot be used for new deployments.", 1082 "Private algorithm OID. Cannot be used for new deployments." 1083 ], 1084 "type": "string" 1085 }, 1086 "digest": { 1087 "description": "The digest generated from the referenced DNSKEY.", 1088 "type": "string" 1089 }, 1090 "digestType": { 1091 "description": "The hash function used to generate the digest of the referenced DNSKEY.", 1092 "enum": [ 1093 "DIGEST_TYPE_UNSPECIFIED", 1094 "SHA1", 1095 "SHA256", 1096 "GOST3411", 1097 "SHA384" 1098 ], 1099 "enumDescriptions": [ 1100 "The DigestType is unspecified.", 1101 "SHA-1. Not recommended for new deployments.", 1102 "SHA-256.", 1103 "GOST R 34.11-94.", 1104 "SHA-384." 1105 ], 1106 "type": "string" 1107 }, 1108 "keyTag": { 1109 "description": "The key tag of the record. Must be set in range 0 -- 65535.", 1110 "format": "int32", 1111 "type": "integer" 1112 } 1113 }, 1114 "type": "object" 1115 }, 1116 "ExportRegistrationRequest": { 1117 "description": "Request for the `ExportRegistration` method.", 1118 "id": "ExportRegistrationRequest", 1119 "properties": {}, 1120 "type": "object" 1121 }, 1122 "Expr": { 1123 "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", 1124 "id": "Expr", 1125 "properties": { 1126 "description": { 1127 "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", 1128 "type": "string" 1129 }, 1130 "expression": { 1131 "description": "Textual representation of an expression in Common Expression Language syntax.", 1132 "type": "string" 1133 }, 1134 "location": { 1135 "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", 1136 "type": "string" 1137 }, 1138 "title": { 1139 "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", 1140 "type": "string" 1141 } 1142 }, 1143 "type": "object" 1144 }, 1145 "GlueRecord": { 1146 "description": "Defines a host on your domain that is a DNS name server for your domain and/or other domains. Glue records are a way of making the IP address of a name server known, even when it serves DNS queries for its parent domain. For example, when `ns.example.com` is a name server for `example.com`, the host `ns.example.com` must have a glue record to break the circular DNS reference.", 1147 "id": "GlueRecord", 1148 "properties": { 1149 "hostName": { 1150 "description": "Required. Domain name of the host in Punycode format.", 1151 "type": "string" 1152 }, 1153 "ipv4Addresses": { 1154 "description": "List of IPv4 addresses corresponding to this host in the standard decimal format (e.g. `198.51.100.1`). At least one of `ipv4_address` and `ipv6_address` must be set.", 1155 "items": { 1156 "type": "string" 1157 }, 1158 "type": "array" 1159 }, 1160 "ipv6Addresses": { 1161 "description": "List of IPv6 addresses corresponding to this host in the standard hexadecimal format (e.g. `2001:db8::`). At least one of `ipv4_address` and `ipv6_address` must be set.", 1162 "items": { 1163 "type": "string" 1164 }, 1165 "type": "array" 1166 } 1167 }, 1168 "type": "object" 1169 }, 1170 "GoogleDomainsDns": { 1171 "description": "Configuration for using the free DNS zone provided by Google Domains as a `Registration`'s `dns_provider`. You cannot configure the DNS zone itself using the API. To configure the DNS zone, go to [Google Domains](https://domains.google/).", 1172 "id": "GoogleDomainsDns", 1173 "properties": { 1174 "dsRecords": { 1175 "description": "Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.", 1176 "items": { 1177 "$ref": "DsRecord" 1178 }, 1179 "readOnly": true, 1180 "type": "array" 1181 }, 1182 "dsState": { 1183 "description": "Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.", 1184 "enum": [ 1185 "DS_STATE_UNSPECIFIED", 1186 "DS_RECORDS_UNPUBLISHED", 1187 "DS_RECORDS_PUBLISHED" 1188 ], 1189 "enumDescriptions": [ 1190 "DS state is unspecified.", 1191 "DNSSEC is disabled for this domain. No DS records for this domain are published in the parent DNS zone.", 1192 "DNSSEC is enabled for this domain. Appropriate DS records for this domain are published in the parent DNS zone. This option is valid only if the DNS zone referenced in the `Registration`'s `dns_provider` field is already DNSSEC-signed." 1193 ], 1194 "type": "string" 1195 }, 1196 "nameServers": { 1197 "description": "Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.", 1198 "items": { 1199 "type": "string" 1200 }, 1201 "readOnly": true, 1202 "type": "array" 1203 } 1204 }, 1205 "type": "object" 1206 }, 1207 "ListLocationsResponse": { 1208 "description": "The response message for Locations.ListLocations.", 1209 "id": "ListLocationsResponse", 1210 "properties": { 1211 "locations": { 1212 "description": "A list of locations that matches the specified filter in the request.", 1213 "items": { 1214 "$ref": "Location" 1215 }, 1216 "type": "array" 1217 }, 1218 "nextPageToken": { 1219 "description": "The standard List next-page token.", 1220 "type": "string" 1221 } 1222 }, 1223 "type": "object" 1224 }, 1225 "ListOperationsResponse": { 1226 "description": "The response message for Operations.ListOperations.", 1227 "id": "ListOperationsResponse", 1228 "properties": { 1229 "nextPageToken": { 1230 "description": "The standard List next-page token.", 1231 "type": "string" 1232 }, 1233 "operations": { 1234 "description": "A list of operations that matches the specified filter in the request.", 1235 "items": { 1236 "$ref": "Operation" 1237 }, 1238 "type": "array" 1239 } 1240 }, 1241 "type": "object" 1242 }, 1243 "ListRegistrationsResponse": { 1244 "description": "Response for the `ListRegistrations` method.", 1245 "id": "ListRegistrationsResponse", 1246 "properties": { 1247 "nextPageToken": { 1248 "description": "When present, there are more results to retrieve. Set `page_token` to this value on a subsequent call to get the next page of results.", 1249 "type": "string" 1250 }, 1251 "registrations": { 1252 "description": "A list of `Registration`s.", 1253 "items": { 1254 "$ref": "Registration" 1255 }, 1256 "type": "array" 1257 } 1258 }, 1259 "type": "object" 1260 }, 1261 "Location": { 1262 "description": "A resource that represents Google Cloud Platform location.", 1263 "id": "Location", 1264 "properties": { 1265 "displayName": { 1266 "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", 1267 "type": "string" 1268 }, 1269 "labels": { 1270 "additionalProperties": { 1271 "type": "string" 1272 }, 1273 "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", 1274 "type": "object" 1275 }, 1276 "locationId": { 1277 "description": "The canonical id for this location. For example: `\"us-east1\"`.", 1278 "type": "string" 1279 }, 1280 "metadata": { 1281 "additionalProperties": { 1282 "description": "Properties of the object. Contains field @type with type URL.", 1283 "type": "any" 1284 }, 1285 "description": "Service-specific metadata. For example the available capacity at the given location.", 1286 "type": "object" 1287 }, 1288 "name": { 1289 "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", 1290 "type": "string" 1291 } 1292 }, 1293 "type": "object" 1294 }, 1295 "ManagementSettings": { 1296 "description": "Defines renewal, billing, and transfer settings for a `Registration`.", 1297 "id": "ManagementSettings", 1298 "properties": { 1299 "renewalMethod": { 1300 "description": "Output only. The renewal method for this `Registration`.", 1301 "enum": [ 1302 "RENEWAL_METHOD_UNSPECIFIED", 1303 "AUTOMATIC_RENEWAL", 1304 "MANUAL_RENEWAL" 1305 ], 1306 "enumDescriptions": [ 1307 "The renewal method is undefined.", 1308 "The domain is automatically renewed each year . To disable automatic renewals, delete the resource by calling `DeleteRegistration` or export it by calling `ExportRegistration`.", 1309 "The domain must be explicitly renewed each year before its `expire_time`. This option is only available when the `Registration` is in state `EXPORTED`. To manage the domain's current billing and renewal settings, go to [Google Domains](https://domains.google/)." 1310 ], 1311 "readOnly": true, 1312 "type": "string" 1313 }, 1314 "transferLockState": { 1315 "description": "Controls whether the domain can be transferred to another registrar.", 1316 "enum": [ 1317 "TRANSFER_LOCK_STATE_UNSPECIFIED", 1318 "UNLOCKED", 1319 "LOCKED" 1320 ], 1321 "enumDescriptions": [ 1322 "The state is unspecified.", 1323 "The domain is unlocked and can be transferred to another registrar.", 1324 "The domain is locked and cannot be transferred to another registrar." 1325 ], 1326 "type": "string" 1327 } 1328 }, 1329 "type": "object" 1330 }, 1331 "Money": { 1332 "description": "Represents an amount of money with its currency type.", 1333 "id": "Money", 1334 "properties": { 1335 "currencyCode": { 1336 "description": "The three-letter currency code defined in ISO 4217.", 1337 "type": "string" 1338 }, 1339 "nanos": { 1340 "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", 1341 "format": "int32", 1342 "type": "integer" 1343 }, 1344 "units": { 1345 "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", 1346 "format": "int64", 1347 "type": "string" 1348 } 1349 }, 1350 "type": "object" 1351 }, 1352 "Operation": { 1353 "description": "This resource represents a long-running operation that is the result of a network API call.", 1354 "id": "Operation", 1355 "properties": { 1356 "done": { 1357 "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", 1358 "type": "boolean" 1359 }, 1360 "error": { 1361 "$ref": "Status", 1362 "description": "The error result of the operation in case of failure or cancellation." 1363 }, 1364 "metadata": { 1365 "additionalProperties": { 1366 "description": "Properties of the object. Contains field @type with type URL.", 1367 "type": "any" 1368 }, 1369 "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", 1370 "type": "object" 1371 }, 1372 "name": { 1373 "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", 1374 "type": "string" 1375 }, 1376 "response": { 1377 "additionalProperties": { 1378 "description": "Properties of the object. Contains field @type with type URL.", 1379 "type": "any" 1380 }, 1381 "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", 1382 "type": "object" 1383 } 1384 }, 1385 "type": "object" 1386 }, 1387 "OperationMetadata": { 1388 "description": "Represents the metadata of the long-running operation. Output only.", 1389 "id": "OperationMetadata", 1390 "properties": { 1391 "apiVersion": { 1392 "description": "API version used to start the operation.", 1393 "type": "string" 1394 }, 1395 "createTime": { 1396 "description": "The time the operation was created.", 1397 "format": "google-datetime", 1398 "type": "string" 1399 }, 1400 "endTime": { 1401 "description": "The time the operation finished running.", 1402 "format": "google-datetime", 1403 "type": "string" 1404 }, 1405 "statusDetail": { 1406 "description": "Human-readable status of the operation, if any.", 1407 "type": "string" 1408 }, 1409 "target": { 1410 "description": "Server-defined resource path for the target of the operation.", 1411 "type": "string" 1412 }, 1413 "verb": { 1414 "description": "Name of the verb executed by the operation.", 1415 "type": "string" 1416 } 1417 }, 1418 "type": "object" 1419 }, 1420 "Policy": { 1421 "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", 1422 "id": "Policy", 1423 "properties": { 1424 "auditConfigs": { 1425 "description": "Specifies cloud audit logging configuration for this policy.", 1426 "items": { 1427 "$ref": "AuditConfig" 1428 }, 1429 "type": "array" 1430 }, 1431 "bindings": { 1432 "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", 1433 "items": { 1434 "$ref": "Binding" 1435 }, 1436 "type": "array" 1437 }, 1438 "etag": { 1439 "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", 1440 "format": "byte", 1441 "type": "string" 1442 }, 1443 "version": { 1444 "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", 1445 "format": "int32", 1446 "type": "integer" 1447 } 1448 }, 1449 "type": "object" 1450 }, 1451 "PostalAddress": { 1452 "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", 1453 "id": "PostalAddress", 1454 "properties": { 1455 "addressLines": { 1456 "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", 1457 "items": { 1458 "type": "string" 1459 }, 1460 "type": "array" 1461 }, 1462 "administrativeArea": { 1463 "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", 1464 "type": "string" 1465 }, 1466 "languageCode": { 1467 "description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", 1468 "type": "string" 1469 }, 1470 "locality": { 1471 "description": "Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.", 1472 "type": "string" 1473 }, 1474 "organization": { 1475 "description": "Optional. The name of the organization at the address.", 1476 "type": "string" 1477 }, 1478 "postalCode": { 1479 "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", 1480 "type": "string" 1481 }, 1482 "recipients": { 1483 "description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", 1484 "items": { 1485 "type": "string" 1486 }, 1487 "type": "array" 1488 }, 1489 "regionCode": { 1490 "description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", 1491 "type": "string" 1492 }, 1493 "revision": { 1494 "description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", 1495 "format": "int32", 1496 "type": "integer" 1497 }, 1498 "sortingCode": { 1499 "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. C\u00f4te d'Ivoire).", 1500 "type": "string" 1501 }, 1502 "sublocality": { 1503 "description": "Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.", 1504 "type": "string" 1505 } 1506 }, 1507 "type": "object" 1508 }, 1509 "RegisterDomainRequest": { 1510 "description": "Request for the `RegisterDomain` method.", 1511 "id": "RegisterDomainRequest", 1512 "properties": { 1513 "contactNotices": { 1514 "description": "The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `registration.contact_settings`.", 1515 "items": { 1516 "enum": [ 1517 "CONTACT_NOTICE_UNSPECIFIED", 1518 "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" 1519 ], 1520 "enumDescriptions": [ 1521 "The notice is undefined.", 1522 "Required when setting the `privacy` field of `ContactSettings` to `PUBLIC_CONTACT_DATA`, which exposes contact data publicly." 1523 ], 1524 "type": "string" 1525 }, 1526 "type": "array" 1527 }, 1528 "domainNotices": { 1529 "description": "The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.", 1530 "items": { 1531 "enum": [ 1532 "DOMAIN_NOTICE_UNSPECIFIED", 1533 "HSTS_PRELOADED" 1534 ], 1535 "enumDescriptions": [ 1536 "The notice is undefined.", 1537 "Indicates that the domain is preloaded on the HTTP Strict Transport Security list in browsers. Serving a website on such domain requires an SSL certificate. For details, see [how to get an SSL certificate](https://support.google.com/domains/answer/7638036)." 1538 ], 1539 "type": "string" 1540 }, 1541 "type": "array" 1542 }, 1543 "registration": { 1544 "$ref": "Registration", 1545 "description": "Required. The complete `Registration` resource to be created." 1546 }, 1547 "validateOnly": { 1548 "description": "When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation", 1549 "type": "boolean" 1550 }, 1551 "yearlyPrice": { 1552 "$ref": "Money", 1553 "description": "Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls." 1554 } 1555 }, 1556 "type": "object" 1557 }, 1558 "RegisterParameters": { 1559 "description": "Parameters required to register a new domain.", 1560 "id": "RegisterParameters", 1561 "properties": { 1562 "availability": { 1563 "description": "Indicates whether the domain is available for registration. This value is accurate when obtained by calling `RetrieveRegisterParameters`, but is approximate when obtained by calling `SearchDomains`.", 1564 "enum": [ 1565 "AVAILABILITY_UNSPECIFIED", 1566 "AVAILABLE", 1567 "UNAVAILABLE", 1568 "UNSUPPORTED", 1569 "UNKNOWN" 1570 ], 1571 "enumDescriptions": [ 1572 "The availability is unspecified.", 1573 "The domain is available for registration.", 1574 "The domain is not available for registration. Generally this means it is already registered to another party.", 1575 "The domain is not currently supported by Cloud Domains, but may be available elsewhere.", 1576 "Cloud Domains is unable to determine domain availability, generally due to system maintenance at the domain name registry." 1577 ], 1578 "type": "string" 1579 }, 1580 "domainName": { 1581 "description": "The domain name. Unicode domain names are expressed in Punycode format.", 1582 "type": "string" 1583 }, 1584 "domainNotices": { 1585 "description": "Notices about special properties of the domain.", 1586 "items": { 1587 "enum": [ 1588 "DOMAIN_NOTICE_UNSPECIFIED", 1589 "HSTS_PRELOADED" 1590 ], 1591 "enumDescriptions": [ 1592 "The notice is undefined.", 1593 "Indicates that the domain is preloaded on the HTTP Strict Transport Security list in browsers. Serving a website on such domain requires an SSL certificate. For details, see [how to get an SSL certificate](https://support.google.com/domains/answer/7638036)." 1594 ], 1595 "type": "string" 1596 }, 1597 "type": "array" 1598 }, 1599 "supportedPrivacy": { 1600 "description": "Contact privacy options that the domain supports.", 1601 "items": { 1602 "enum": [ 1603 "CONTACT_PRIVACY_UNSPECIFIED", 1604 "PUBLIC_CONTACT_DATA", 1605 "PRIVATE_CONTACT_DATA", 1606 "REDACTED_CONTACT_DATA" 1607 ], 1608 "enumDescriptions": [ 1609 "The contact privacy settings are undefined.", 1610 "All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", 1611 "None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", 1612 "Some data from `ContactSettings` is publicly available. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." 1613 ], 1614 "type": "string" 1615 }, 1616 "type": "array" 1617 }, 1618 "yearlyPrice": { 1619 "$ref": "Money", 1620 "description": "Price to register or renew the domain for one year." 1621 } 1622 }, 1623 "type": "object" 1624 }, 1625 "Registration": { 1626 "description": "The `Registration` resource facilitates managing and configuring domain name registrations. There are several ways to create a new `Registration` resource: To create a new `Registration` resource, find a suitable domain name by calling the `SearchDomains` method with a query to see available domain name options. After choosing a name, call `RetrieveRegisterParameters` to ensure availability and obtain information like pricing, which is needed to build a call to `RegisterDomain`. Another way to create a new `Registration` is to transfer an existing domain from another registrar. First, go to the current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to `TransferDomain`.", 1627 "id": "Registration", 1628 "properties": { 1629 "contactSettings": { 1630 "$ref": "ContactSettings", 1631 "description": "Required. Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method." 1632 }, 1633 "createTime": { 1634 "description": "Output only. The creation timestamp of the `Registration` resource.", 1635 "format": "google-datetime", 1636 "readOnly": true, 1637 "type": "string" 1638 }, 1639 "dnsSettings": { 1640 "$ref": "DnsSettings", 1641 "description": "Settings controlling the DNS configuration of the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureDnsSettings` method." 1642 }, 1643 "domainName": { 1644 "description": "Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.", 1645 "type": "string" 1646 }, 1647 "expireTime": { 1648 "description": "Output only. The expiration timestamp of the `Registration`.", 1649 "format": "google-datetime", 1650 "readOnly": true, 1651 "type": "string" 1652 }, 1653 "issues": { 1654 "description": "Output only. The set of issues with the `Registration` that require attention.", 1655 "items": { 1656 "enum": [ 1657 "ISSUE_UNSPECIFIED", 1658 "CONTACT_SUPPORT", 1659 "UNVERIFIED_EMAIL" 1660 ], 1661 "enumDescriptions": [ 1662 "The issue is undefined.", 1663 "Contact the Cloud Support team to resolve a problem with this domain.", 1664 "[ICANN](https://icann.org/) requires verification of the email address in the `Registration`'s `contact_settings.registrant_contact` field. To verify the email address, follow the instructions in the email the `registrant_contact` receives following registration. If you do not complete email verification within 15 days of registration, the domain is suspended. To resend the verification email, call ConfigureContactSettings and provide the current `registrant_contact.email`." 1665 ], 1666 "type": "string" 1667 }, 1668 "readOnly": true, 1669 "type": "array" 1670 }, 1671 "labels": { 1672 "additionalProperties": { 1673 "type": "string" 1674 }, 1675 "description": "Set of labels associated with the `Registration`.", 1676 "type": "object" 1677 }, 1678 "managementSettings": { 1679 "$ref": "ManagementSettings", 1680 "description": "Settings for management of the `Registration`, including renewal, billing, and transfer. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureManagementSettings` method." 1681 }, 1682 "name": { 1683 "description": "Output only. Name of the `Registration` resource, in the format `projects/*/locations/*/registrations/`.", 1684 "readOnly": true, 1685 "type": "string" 1686 }, 1687 "pendingContactSettings": { 1688 "$ref": "ContactSettings", 1689 "description": "Output only. Pending contact settings for the `Registration`. Updates to the `contact_settings` field that change its `registrant_contact` or `privacy` fields require email confirmation by the `registrant_contact` before taking effect. This field is set only if there are pending updates to the `contact_settings` that have not been confirmed. To confirm the changes, the `registrant_contact` must follow the instructions in the email they receive.", 1690 "readOnly": true 1691 }, 1692 "state": { 1693 "description": "Output only. The state of the `Registration`", 1694 "enum": [ 1695 "STATE_UNSPECIFIED", 1696 "REGISTRATION_PENDING", 1697 "REGISTRATION_FAILED", 1698 "TRANSFER_PENDING", 1699 "TRANSFER_FAILED", 1700 "ACTIVE", 1701 "SUSPENDED", 1702 "EXPORTED" 1703 ], 1704 "enumDescriptions": [ 1705 "The state is undefined.", 1706 "The domain is being registered.", 1707 "The domain registration failed. You can delete resources in this state to allow registration to be retried.", 1708 "The domain is being transferred from another registrar to Cloud Domains.", 1709 "The attempt to transfer the domain from another registrar to Cloud Domains failed. You can delete resources in this state and retry the transfer.", 1710 "The domain is registered and operational. The domain renews automatically as long as it remains in this state.", 1711 "The domain is suspended and inoperative. For more details, see the `issues` field.", 1712 "The domain is no longer managed with Cloud Domains. It may have been transferred to another registrar or exported for management in [Google Domains](https://domains.google/). You can no longer update it with this API, and information shown about it may be stale. Domains in this state are not automatically renewed by Cloud Domains." 1713 ], 1714 "readOnly": true, 1715 "type": "string" 1716 }, 1717 "supportedPrivacy": { 1718 "description": "Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports.", 1719 "items": { 1720 "enum": [ 1721 "CONTACT_PRIVACY_UNSPECIFIED", 1722 "PUBLIC_CONTACT_DATA", 1723 "PRIVATE_CONTACT_DATA", 1724 "REDACTED_CONTACT_DATA" 1725 ], 1726 "enumDescriptions": [ 1727 "The contact privacy settings are undefined.", 1728 "All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", 1729 "None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", 1730 "Some data from `ContactSettings` is publicly available. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." 1731 ], 1732 "type": "string" 1733 }, 1734 "readOnly": true, 1735 "type": "array" 1736 } 1737 }, 1738 "type": "object" 1739 }, 1740 "ResetAuthorizationCodeRequest": { 1741 "description": "Request for the `ResetAuthorizationCode` method.", 1742 "id": "ResetAuthorizationCodeRequest", 1743 "properties": {}, 1744 "type": "object" 1745 }, 1746 "RetrieveRegisterParametersResponse": { 1747 "description": "Response for the `RetrieveRegisterParameters` method.", 1748 "id": "RetrieveRegisterParametersResponse", 1749 "properties": { 1750 "registerParameters": { 1751 "$ref": "RegisterParameters", 1752 "description": "Parameters to use when calling the `RegisterDomain` method." 1753 } 1754 }, 1755 "type": "object" 1756 }, 1757 "RetrieveTransferParametersResponse": { 1758 "description": "Response for the `RetrieveTransferParameters` method.", 1759 "id": "RetrieveTransferParametersResponse", 1760 "properties": { 1761 "transferParameters": { 1762 "$ref": "TransferParameters", 1763 "description": "Parameters to use when calling the `TransferDomain` method." 1764 } 1765 }, 1766 "type": "object" 1767 }, 1768 "SearchDomainsResponse": { 1769 "description": "Response for the `SearchDomains` method.", 1770 "id": "SearchDomainsResponse", 1771 "properties": { 1772 "registerParameters": { 1773 "description": "Results of the domain name search.", 1774 "items": { 1775 "$ref": "RegisterParameters" 1776 }, 1777 "type": "array" 1778 } 1779 }, 1780 "type": "object" 1781 }, 1782 "SetIamPolicyRequest": { 1783 "description": "Request message for `SetIamPolicy` method.", 1784 "id": "SetIamPolicyRequest", 1785 "properties": { 1786 "policy": { 1787 "$ref": "Policy", 1788 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." 1789 }, 1790 "updateMask": { 1791 "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", 1792 "format": "google-fieldmask", 1793 "type": "string" 1794 } 1795 }, 1796 "type": "object" 1797 }, 1798 "Status": { 1799 "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", 1800 "id": "Status", 1801 "properties": { 1802 "code": { 1803 "description": "The status code, which should be an enum value of google.rpc.Code.", 1804 "format": "int32", 1805 "type": "integer" 1806 }, 1807 "details": { 1808 "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", 1809 "items": { 1810 "additionalProperties": { 1811 "description": "Properties of the object. Contains field @type with type URL.", 1812 "type": "any" 1813 }, 1814 "type": "object" 1815 }, 1816 "type": "array" 1817 }, 1818 "message": { 1819 "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", 1820 "type": "string" 1821 } 1822 }, 1823 "type": "object" 1824 }, 1825 "TestIamPermissionsRequest": { 1826 "description": "Request message for `TestIamPermissions` method.", 1827 "id": "TestIamPermissionsRequest", 1828 "properties": { 1829 "permissions": { 1830 "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", 1831 "items": { 1832 "type": "string" 1833 }, 1834 "type": "array" 1835 } 1836 }, 1837 "type": "object" 1838 }, 1839 "TestIamPermissionsResponse": { 1840 "description": "Response message for `TestIamPermissions` method.", 1841 "id": "TestIamPermissionsResponse", 1842 "properties": { 1843 "permissions": { 1844 "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", 1845 "items": { 1846 "type": "string" 1847 }, 1848 "type": "array" 1849 } 1850 }, 1851 "type": "object" 1852 }, 1853 "TransferDomainRequest": { 1854 "description": "Request for the `TransferDomain` method.", 1855 "id": "TransferDomainRequest", 1856 "properties": { 1857 "authorizationCode": { 1858 "$ref": "AuthorizationCode", 1859 "description": "The domain's transfer authorization code. You can obtain this from the domain's current registrar." 1860 }, 1861 "contactNotices": { 1862 "description": "The list of contact notices that you acknowledge. The notices needed here depend on the values specified in `registration.contact_settings`.", 1863 "items": { 1864 "enum": [ 1865 "CONTACT_NOTICE_UNSPECIFIED", 1866 "PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" 1867 ], 1868 "enumDescriptions": [ 1869 "The notice is undefined.", 1870 "Required when setting the `privacy` field of `ContactSettings` to `PUBLIC_CONTACT_DATA`, which exposes contact data publicly." 1871 ], 1872 "type": "string" 1873 }, 1874 "type": "array" 1875 }, 1876 "registration": { 1877 "$ref": "Registration", 1878 "description": "Required. The complete `Registration` resource to be created. You can leave `registration.dns_settings` unset to import the domain's current DNS configuration from its current registrar. Use this option only if you are sure that the domain's current DNS service does not cease upon transfer, as is often the case for DNS services provided for free by the registrar." 1879 }, 1880 "validateOnly": { 1881 "description": "Validate the request without actually transferring the domain.", 1882 "type": "boolean" 1883 }, 1884 "yearlyPrice": { 1885 "$ref": "Money", 1886 "description": "Required. Acknowledgement of the price to transfer or renew the domain for one year. Call `RetrieveTransferParameters` to obtain the price, which you must acknowledge." 1887 } 1888 }, 1889 "type": "object" 1890 }, 1891 "TransferParameters": { 1892 "description": "Parameters required to transfer a domain from another registrar.", 1893 "id": "TransferParameters", 1894 "properties": { 1895 "currentRegistrar": { 1896 "description": "The registrar that currently manages the domain.", 1897 "type": "string" 1898 }, 1899 "domainName": { 1900 "description": "The domain name. Unicode domain names are expressed in Punycode format.", 1901 "type": "string" 1902 }, 1903 "nameServers": { 1904 "description": "The name servers that currently store the configuration of the domain.", 1905 "items": { 1906 "type": "string" 1907 }, 1908 "type": "array" 1909 }, 1910 "supportedPrivacy": { 1911 "description": "Contact privacy options that the domain supports.", 1912 "items": { 1913 "enum": [ 1914 "CONTACT_PRIVACY_UNSPECIFIED", 1915 "PUBLIC_CONTACT_DATA", 1916 "PRIVATE_CONTACT_DATA", 1917 "REDACTED_CONTACT_DATA" 1918 ], 1919 "enumDescriptions": [ 1920 "The contact privacy settings are undefined.", 1921 "All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", 1922 "None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", 1923 "Some data from `ContactSettings` is publicly available. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." 1924 ], 1925 "type": "string" 1926 }, 1927 "type": "array" 1928 }, 1929 "transferLockState": { 1930 "description": "Indicates whether the domain is protected by a transfer lock. For a transfer to succeed, this must show `UNLOCKED`. To unlock a domain, go to its current registrar.", 1931 "enum": [ 1932 "TRANSFER_LOCK_STATE_UNSPECIFIED", 1933 "UNLOCKED", 1934 "LOCKED" 1935 ], 1936 "enumDescriptions": [ 1937 "The state is unspecified.", 1938 "The domain is unlocked and can be transferred to another registrar.", 1939 "The domain is locked and cannot be transferred to another registrar." 1940 ], 1941 "type": "string" 1942 }, 1943 "yearlyPrice": { 1944 "$ref": "Money", 1945 "description": "Price to transfer or renew the domain for one year." 1946 } 1947 }, 1948 "type": "object" 1949 } 1950 }, 1951 "servicePath": "", 1952 "title": "Cloud Domains API", 1953 "version": "v1beta1", 1954 "version_module": true 1955}