diff --git a/clients/domains/lib/google_api/domains/v1/api/projects.ex b/clients/domains/lib/google_api/domains/v1/api/projects.ex index 57bc1a6b98..a4bc8dc589 100644 --- a/clients/domains/lib/google_api/domains/v1/api/projects.ex +++ b/clients/domains/lib/google_api/domains/v1/api/projects.ex @@ -222,7 +222,7 @@ defmodule GoogleApi.Domains.V1.Api.Projects do end @doc """ - 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. + Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. ## Parameters @@ -514,7 +514,7 @@ defmodule GoogleApi.Domains.V1.Api.Projects do end @doc """ - 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. + 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. 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. After January 2024 you will only be able to delete `Registration` resources when `state` is one of: `EXPORTED`, `EXPIRED`,`REGISTRATION_FAILED` or `TRANSFER_FAILED`. See [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) for more details. ## Parameters @@ -584,7 +584,7 @@ defmodule GoogleApi.Domains.V1.Api.Projects do end @doc """ - 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. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) 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. ## Parameters @@ -798,7 +798,7 @@ defmodule GoogleApi.Domains.V1.Api.Projects do end @doc """ - Imports a domain name from [Google Domains](https://domains.google/) for use in Cloud Domains. To transfer a domain from another registrar, use the `TransferDomain` method instead. Since individual users can own domains in Google Domains, the calling user must have ownership permission on the domain. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Imports a domain name from [Google Domains](https://domains.google/) for use in Cloud Domains. To transfer a domain from another registrar, use the `TransferDomain` method instead. Since individual users can own domains in Google Domains, the calling user must have ownership permission on the domain. ## Parameters @@ -1234,7 +1234,7 @@ defmodule GoogleApi.Domains.V1.Api.Projects do end @doc """ - Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned. ## Parameters @@ -1384,7 +1384,7 @@ defmodule GoogleApi.Domains.V1.Api.Projects do end @doc """ - Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Use the returned values to call `TransferDomain`. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Use the returned values to call `TransferDomain`. ## Parameters @@ -1674,7 +1674,7 @@ defmodule GoogleApi.Domains.V1.Api.Projects do end @doc """ - Transfers a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. 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. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Transfers a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. 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. ## Parameters diff --git a/clients/domains/lib/google_api/domains/v1/metadata.ex b/clients/domains/lib/google_api/domains/v1/metadata.ex index 6fa182e5e2..656879af1f 100644 --- a/clients/domains/lib/google_api/domains/v1/metadata.ex +++ b/clients/domains/lib/google_api/domains/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Domains.V1 do API client metadata for GoogleApi.Domains.V1. """ - @discovery_revision "20221101" + @discovery_revision "20240305" def discovery_revision(), do: @discovery_revision end diff --git a/clients/domains/lib/google_api/domains/v1/model/binding.ex b/clients/domains/lib/google_api/domains/v1/model/binding.ex index f7db8b6fc3..ed8d3a20ad 100644 --- a/clients/domains/lib/google_api/domains/v1/model/binding.ex +++ b/clients/domains/lib/google_api/domains/v1/model/binding.ex @@ -22,8 +22,8 @@ defmodule GoogleApi.Domains.V1.Model.Binding do ## Attributes * `condition` (*type:* `GoogleApi.Domains.V1.Model.Expr.t`, *default:* `nil`) - 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). - * `members` (*type:* `list(String.t)`, *default:* `nil`) - Specifies the principals requesting access for a Google Cloud 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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`. - * `role` (*type:* `String.t`, *default:* `nil`) - Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * `members` (*type:* `list(String.t)`, *default:* `nil`) - Specifies the principals requesting access for a Google Cloud 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `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. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + * `role` (*type:* `String.t`, *default:* `nil`) - Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1/model/dns_settings.ex b/clients/domains/lib/google_api/domains/v1/model/dns_settings.ex index 35c1aef97f..bd0b793c78 100644 --- a/clients/domains/lib/google_api/domains/v1/model/dns_settings.ex +++ b/clients/domains/lib/google_api/domains/v1/model/dns_settings.ex @@ -23,7 +23,7 @@ defmodule GoogleApi.Domains.V1.Model.DnsSettings do * `customDns` (*type:* `GoogleApi.Domains.V1.Model.CustomDns.t`, *default:* `nil`) - An arbitrary DNS provider identified by its name servers. * `glueRecords` (*type:* `list(GoogleApi.Domains.V1.Model.GlueRecord.t)`, *default:* `nil`) - The list of glue records for this `Registration`. Commonly empty. - * `googleDomainsDns` (*type:* `GoogleApi.Domains.V1.Model.GoogleDomainsDns.t`, *default:* `nil`) - The free DNS zone provided by [Google Domains](https://domains.google/). + * `googleDomainsDns` (*type:* `GoogleApi.Domains.V1.Model.GoogleDomainsDns.t`, *default:* `nil`) - Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). The free DNS zone provided by [Google Domains](https://domains.google/). """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1/model/export_registration_request.ex b/clients/domains/lib/google_api/domains/v1/model/export_registration_request.ex index 15e828c690..53ec2cacf3 100644 --- a/clients/domains/lib/google_api/domains/v1/model/export_registration_request.ex +++ b/clients/domains/lib/google_api/domains/v1/model/export_registration_request.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1.Model.ExportRegistrationRequest do @moduledoc """ - Request for the `ExportRegistration` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ExportRegistration` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1/model/google_domains_dns.ex b/clients/domains/lib/google_api/domains/v1/model/google_domains_dns.ex index 1383877dd4..b3924855a4 100644 --- a/clients/domains/lib/google_api/domains/v1/model/google_domains_dns.ex +++ b/clients/domains/lib/google_api/domains/v1/model/google_domains_dns.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1.Model.GoogleDomainsDns do @moduledoc """ - 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/). + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). 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/). ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1/model/import_domain_request.ex b/clients/domains/lib/google_api/domains/v1/model/import_domain_request.ex index 2d0e643c9e..79406f7052 100644 --- a/clients/domains/lib/google_api/domains/v1/model/import_domain_request.ex +++ b/clients/domains/lib/google_api/domains/v1/model/import_domain_request.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1.Model.ImportDomainRequest do @moduledoc """ - Request for the `ImportDomain` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ImportDomain` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1/model/location.ex b/clients/domains/lib/google_api/domains/v1/model/location.ex index b6bc045b82..4199ce7c67 100644 --- a/clients/domains/lib/google_api/domains/v1/model/location.ex +++ b/clients/domains/lib/google_api/domains/v1/model/location.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1.Model.Location do @moduledoc """ - A resource that represents Google Cloud Platform location. + A resource that represents a Google Cloud location. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1/model/management_settings.ex b/clients/domains/lib/google_api/domains/v1/model/management_settings.ex index 392ff5fd13..7af1654396 100644 --- a/clients/domains/lib/google_api/domains/v1/model/management_settings.ex +++ b/clients/domains/lib/google_api/domains/v1/model/management_settings.ex @@ -21,17 +21,20 @@ defmodule GoogleApi.Domains.V1.Model.ManagementSettings do ## Attributes - * `renewalMethod` (*type:* `String.t`, *default:* `nil`) - Output only. The renewal method for this `Registration`. + * `preferredRenewalMethod` (*type:* `String.t`, *default:* `nil`) - Optional. The desired renewal method for this `Registration`. The actual `renewal_method` is automatically updated to reflect this choice. If unset or equal to `RENEWAL_METHOD_UNSPECIFIED`, the actual `renewalMethod` is treated as if it were set to `AUTOMATIC_RENEWAL`. You cannot use `RENEWAL_DISABLED` during resource creation, and you can update the renewal status only when the `Registration` resource has state `ACTIVE` or `SUSPENDED`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be set to `RENEWAL_DISABLED` in case of problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours. + * `renewalMethod` (*type:* `String.t`, *default:* `nil`) - Output only. The actual renewal method for this `Registration`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be equal to `RENEWAL_DISABLED`—for example, when there are problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours. * `transferLockState` (*type:* `String.t`, *default:* `nil`) - Controls whether the domain can be transferred to another registrar. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :preferredRenewalMethod => String.t() | nil, :renewalMethod => String.t() | nil, :transferLockState => String.t() | nil } + field(:preferredRenewalMethod) field(:renewalMethod) field(:transferLockState) end diff --git a/clients/domains/lib/google_api/domains/v1/model/operation.ex b/clients/domains/lib/google_api/domains/v1/model/operation.ex index e2b19ff7c3..085c108dce 100644 --- a/clients/domains/lib/google_api/domains/v1/model/operation.ex +++ b/clients/domains/lib/google_api/domains/v1/model/operation.ex @@ -25,7 +25,7 @@ defmodule GoogleApi.Domains.V1.Model.Operation do * `error` (*type:* `GoogleApi.Domains.V1.Model.Status.t`, *default:* `nil`) - The error result of the operation in case of failure or cancellation. * `metadata` (*type:* `map()`, *default:* `nil`) - 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. * `name` (*type:* `String.t`, *default:* `nil`) - 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}`. - * `response` (*type:* `map()`, *default:* `nil`) - 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`. + * `response` (*type:* `map()`, *default:* `nil`) - The normal, successful response of the operation. 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`. """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1/model/policy.ex b/clients/domains/lib/google_api/domains/v1/model/policy.ex index eb809c3f67..5ed394940f 100644 --- a/clients/domains/lib/google_api/domains/v1/model/policy.ex +++ b/clients/domains/lib/google_api/domains/v1/model/policy.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1.Model.Policy do @moduledoc """ - 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/). + 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/). ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1/model/registration.ex b/clients/domains/lib/google_api/domains/v1/model/registration.ex index 11760898a4..51a34ebbd2 100644 --- a/clients/domains/lib/google_api/domains/v1/model/registration.ex +++ b/clients/domains/lib/google_api/domains/v1/model/registration.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1.Model.Registration do @moduledoc """ - 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`. Finally, you can create a new `Registration` by importing an existing domain managed with [Google Domains](https://domains.google/). First, call `RetrieveImportableDomains` to list domains to which the calling user has sufficient access. Then call `ImportDomain` on any domain names you want to use with Cloud Domains. + 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 (Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). 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`. Finally, you can create a new `Registration` by importing an existing domain managed with [Google Domains](https://domains.google/) (Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). First, call `RetrieveImportableDomains` to list domains to which the calling user has sufficient access. Then call `ImportDomain` on any domain names you want to use with Cloud Domains. ## Attributes @@ -34,7 +34,7 @@ defmodule GoogleApi.Domains.V1.Model.Registration do * `registerFailureReason` (*type:* `String.t`, *default:* `nil`) - Output only. The reason the domain registration failed. Only set for domains in REGISTRATION_FAILED state. * `state` (*type:* `String.t`, *default:* `nil`) - Output only. The state of the `Registration` * `supportedPrivacy` (*type:* `list(String.t)`, *default:* `nil`) - Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports. - * `transferFailureReason` (*type:* `String.t`, *default:* `nil`) - Output only. The reason the domain transfer failed. Only set for domains in TRANSFER_FAILED state. + * `transferFailureReason` (*type:* `String.t`, *default:* `nil`) - Output only. Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). The reason the domain transfer failed. Only set for domains in TRANSFER_FAILED state. """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1/model/retrieve_importable_domains_response.ex b/clients/domains/lib/google_api/domains/v1/model/retrieve_importable_domains_response.ex index ee9285388b..ec89309807 100644 --- a/clients/domains/lib/google_api/domains/v1/model/retrieve_importable_domains_response.ex +++ b/clients/domains/lib/google_api/domains/v1/model/retrieve_importable_domains_response.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1.Model.RetrieveImportableDomainsResponse do @moduledoc """ - Response for the `RetrieveImportableDomains` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveImportableDomains` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1/model/retrieve_transfer_parameters_response.ex b/clients/domains/lib/google_api/domains/v1/model/retrieve_transfer_parameters_response.ex index 38f563e11a..8c26f53d8a 100644 --- a/clients/domains/lib/google_api/domains/v1/model/retrieve_transfer_parameters_response.ex +++ b/clients/domains/lib/google_api/domains/v1/model/retrieve_transfer_parameters_response.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1.Model.RetrieveTransferParametersResponse do @moduledoc """ - Response for the `RetrieveTransferParameters` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveTransferParameters` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1/model/transfer_domain_request.ex b/clients/domains/lib/google_api/domains/v1/model/transfer_domain_request.ex index 6558f61f85..fe08e6c31d 100644 --- a/clients/domains/lib/google_api/domains/v1/model/transfer_domain_request.ex +++ b/clients/domains/lib/google_api/domains/v1/model/transfer_domain_request.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1.Model.TransferDomainRequest do @moduledoc """ - Request for the `TransferDomain` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `TransferDomain` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1/model/transfer_parameters.ex b/clients/domains/lib/google_api/domains/v1/model/transfer_parameters.ex index 4d4cbf3ff1..9791a1e0d2 100644 --- a/clients/domains/lib/google_api/domains/v1/model/transfer_parameters.ex +++ b/clients/domains/lib/google_api/domains/v1/model/transfer_parameters.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1.Model.TransferParameters do @moduledoc """ - Parameters required to transfer a domain from another registrar. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Parameters required to transfer a domain from another registrar. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1alpha2/api/projects.ex b/clients/domains/lib/google_api/domains/v1alpha2/api/projects.ex index 7b0e53dd28..579efb5932 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/api/projects.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/api/projects.ex @@ -224,7 +224,7 @@ defmodule GoogleApi.Domains.V1alpha2.Api.Projects do end @doc """ - 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. + Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. ## Parameters @@ -518,7 +518,7 @@ defmodule GoogleApi.Domains.V1alpha2.Api.Projects do end @doc """ - 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. + 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. 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. After January 2024 you will only be able to delete `Registration` resources when `state` is one of: `EXPORTED`, `EXPIRED`,`REGISTRATION_FAILED` or `TRANSFER_FAILED`. See [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) for more details. ## Parameters @@ -588,7 +588,7 @@ defmodule GoogleApi.Domains.V1alpha2.Api.Projects do end @doc """ - 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. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) 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. ## Parameters @@ -802,7 +802,7 @@ defmodule GoogleApi.Domains.V1alpha2.Api.Projects do end @doc """ - Imports a domain name from [Google Domains](https://domains.google/) for use in Cloud Domains. To transfer a domain from another registrar, use the `TransferDomain` method instead. Since individual users can own domains in Google Domains, the calling user must have ownership permission on the domain. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Imports a domain name from [Google Domains](https://domains.google/) for use in Cloud Domains. To transfer a domain from another registrar, use the `TransferDomain` method instead. Since individual users can own domains in Google Domains, the calling user must have ownership permission on the domain. ## Parameters @@ -1240,7 +1240,7 @@ defmodule GoogleApi.Domains.V1alpha2.Api.Projects do end @doc """ - Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned. ## Parameters @@ -1390,7 +1390,7 @@ defmodule GoogleApi.Domains.V1alpha2.Api.Projects do end @doc """ - Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Use the returned values to call `TransferDomain`. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Use the returned values to call `TransferDomain`. ## Parameters @@ -1684,7 +1684,7 @@ defmodule GoogleApi.Domains.V1alpha2.Api.Projects do end @doc """ - Transfers a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. 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. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Transfers a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. 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. ## Parameters diff --git a/clients/domains/lib/google_api/domains/v1alpha2/metadata.ex b/clients/domains/lib/google_api/domains/v1alpha2/metadata.ex index 2066b0a5d2..e533bb9301 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/metadata.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Domains.V1alpha2 do API client metadata for GoogleApi.Domains.V1alpha2. """ - @discovery_revision "20221101" + @discovery_revision "20240305" def discovery_revision(), do: @discovery_revision end diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/binding.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/binding.ex index eebd7c49ae..5b43fa522e 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/binding.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/binding.ex @@ -22,8 +22,8 @@ defmodule GoogleApi.Domains.V1alpha2.Model.Binding do ## Attributes * `condition` (*type:* `GoogleApi.Domains.V1alpha2.Model.Expr.t`, *default:* `nil`) - 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). - * `members` (*type:* `list(String.t)`, *default:* `nil`) - Specifies the principals requesting access for a Google Cloud 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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`. - * `role` (*type:* `String.t`, *default:* `nil`) - Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * `members` (*type:* `list(String.t)`, *default:* `nil`) - Specifies the principals requesting access for a Google Cloud 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `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. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + * `role` (*type:* `String.t`, *default:* `nil`) - Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/dns_settings.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/dns_settings.ex index 224283a5cc..257d94794f 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/dns_settings.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/dns_settings.ex @@ -23,7 +23,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.DnsSettings do * `customDns` (*type:* `GoogleApi.Domains.V1alpha2.Model.CustomDns.t`, *default:* `nil`) - An arbitrary DNS provider identified by its name servers. * `glueRecords` (*type:* `list(GoogleApi.Domains.V1alpha2.Model.GlueRecord.t)`, *default:* `nil`) - The list of glue records for this `Registration`. Commonly empty. - * `googleDomainsDns` (*type:* `GoogleApi.Domains.V1alpha2.Model.GoogleDomainsDns.t`, *default:* `nil`) - The free DNS zone provided by [Google Domains](https://domains.google/). + * `googleDomainsDns` (*type:* `GoogleApi.Domains.V1alpha2.Model.GoogleDomainsDns.t`, *default:* `nil`) - Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). The free DNS zone provided by [Google Domains](https://domains.google/). """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/export_registration_request.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/export_registration_request.ex index bd77d9b70f..96b1179ec9 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/export_registration_request.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/export_registration_request.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.ExportRegistrationRequest do @moduledoc """ - Request for the `ExportRegistration` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ExportRegistration` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/google_domains_dns.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/google_domains_dns.ex index 8c4f375675..ee08e3cfa7 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/google_domains_dns.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/google_domains_dns.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.GoogleDomainsDns do @moduledoc """ - 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/). + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). 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/). ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/import_domain_request.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/import_domain_request.ex index 44e53b2ed5..022ae870ff 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/import_domain_request.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/import_domain_request.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.ImportDomainRequest do @moduledoc """ - Request for the `ImportDomain` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ImportDomain` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/location.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/location.ex index 27b66efce3..1076e3ac64 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/location.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/location.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.Location do @moduledoc """ - A resource that represents Google Cloud Platform location. + A resource that represents a Google Cloud location. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/management_settings.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/management_settings.ex index 584ef45d50..2a18ddfc79 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/management_settings.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/management_settings.ex @@ -21,17 +21,20 @@ defmodule GoogleApi.Domains.V1alpha2.Model.ManagementSettings do ## Attributes - * `renewalMethod` (*type:* `String.t`, *default:* `nil`) - Output only. The renewal method for this `Registration`. + * `preferredRenewalMethod` (*type:* `String.t`, *default:* `nil`) - Optional. The desired renewal method for this `Registration`. The actual `renewal_method` is automatically updated to reflect this choice. If unset or equal to `RENEWAL_METHOD_UNSPECIFIED`, the actual `renewalMethod` is treated as if it were set to `AUTOMATIC_RENEWAL`. You cannot use `RENEWAL_DISABLED` during resource creation, and you can update the renewal status only when the `Registration` resource has state `ACTIVE` or `SUSPENDED`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be set to `RENEWAL_DISABLED` in case of problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours. + * `renewalMethod` (*type:* `String.t`, *default:* `nil`) - Output only. The actual renewal method for this `Registration`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be equal to `RENEWAL_DISABLED`—for example, when there are problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours. * `transferLockState` (*type:* `String.t`, *default:* `nil`) - Controls whether the domain can be transferred to another registrar. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :preferredRenewalMethod => String.t() | nil, :renewalMethod => String.t() | nil, :transferLockState => String.t() | nil } + field(:preferredRenewalMethod) field(:renewalMethod) field(:transferLockState) end diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/operation.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/operation.ex index 7ac23313db..0e88dc8225 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/operation.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/operation.ex @@ -25,7 +25,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.Operation do * `error` (*type:* `GoogleApi.Domains.V1alpha2.Model.Status.t`, *default:* `nil`) - The error result of the operation in case of failure or cancellation. * `metadata` (*type:* `map()`, *default:* `nil`) - 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. * `name` (*type:* `String.t`, *default:* `nil`) - 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}`. - * `response` (*type:* `map()`, *default:* `nil`) - 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`. + * `response` (*type:* `map()`, *default:* `nil`) - The normal, successful response of the operation. 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`. """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/policy.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/policy.ex index 71fb81fde0..95b18603a6 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/policy.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/policy.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.Policy do @moduledoc """ - 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/). + 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/). ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/registration.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/registration.ex index 02b15b46c3..b625298e4e 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/registration.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/registration.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.Registration do @moduledoc """ - 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`. Finally, you can create a new `Registration` by importing an existing domain managed with [Google Domains](https://domains.google/). First, call `RetrieveImportableDomains` to list domains to which the calling user has sufficient access. Then call `ImportDomain` on any domain names you want to use with Cloud Domains. + 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 (Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). 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`. Finally, you can create a new `Registration` by importing an existing domain managed with [Google Domains](https://domains.google/) (Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). First, call `RetrieveImportableDomains` to list domains to which the calling user has sufficient access. Then call `ImportDomain` on any domain names you want to use with Cloud Domains. ## Attributes @@ -34,7 +34,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.Registration do * `registerFailureReason` (*type:* `String.t`, *default:* `nil`) - Output only. The reason the domain registration failed. Only set for domains in REGISTRATION_FAILED state. * `state` (*type:* `String.t`, *default:* `nil`) - Output only. The state of the `Registration` * `supportedPrivacy` (*type:* `list(String.t)`, *default:* `nil`) - Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports. - * `transferFailureReason` (*type:* `String.t`, *default:* `nil`) - Output only. The reason the domain transfer failed. Only set for domains in TRANSFER_FAILED state. + * `transferFailureReason` (*type:* `String.t`, *default:* `nil`) - Output only. Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). The reason the domain transfer failed. Only set for domains in TRANSFER_FAILED state. """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/retrieve_importable_domains_response.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/retrieve_importable_domains_response.ex index e602bd4d7e..8bc2c558eb 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/retrieve_importable_domains_response.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/retrieve_importable_domains_response.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.RetrieveImportableDomainsResponse do @moduledoc """ - Response for the `RetrieveImportableDomains` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveImportableDomains` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/retrieve_transfer_parameters_response.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/retrieve_transfer_parameters_response.ex index 558c7c3a61..e90de6336e 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/retrieve_transfer_parameters_response.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/retrieve_transfer_parameters_response.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.RetrieveTransferParametersResponse do @moduledoc """ - Response for the `RetrieveTransferParameters` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveTransferParameters` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/transfer_domain_request.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/transfer_domain_request.ex index 0130b8f961..a695674af3 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/transfer_domain_request.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/transfer_domain_request.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.TransferDomainRequest do @moduledoc """ - Request for the `TransferDomain` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `TransferDomain` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1alpha2/model/transfer_parameters.ex b/clients/domains/lib/google_api/domains/v1alpha2/model/transfer_parameters.ex index 18e4568775..faa7dd2bb0 100644 --- a/clients/domains/lib/google_api/domains/v1alpha2/model/transfer_parameters.ex +++ b/clients/domains/lib/google_api/domains/v1alpha2/model/transfer_parameters.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1alpha2.Model.TransferParameters do @moduledoc """ - Parameters required to transfer a domain from another registrar. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Parameters required to transfer a domain from another registrar. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1beta1/api/projects.ex b/clients/domains/lib/google_api/domains/v1beta1/api/projects.ex index 57c54def97..860b1fc801 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/api/projects.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/api/projects.ex @@ -222,7 +222,7 @@ defmodule GoogleApi.Domains.V1beta1.Api.Projects do end @doc """ - 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. + Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. ## Parameters @@ -516,7 +516,7 @@ defmodule GoogleApi.Domains.V1beta1.Api.Projects do end @doc """ - 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. + 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. 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. After January 2024 you will only be able to delete `Registration` resources when `state` is one of: `EXPORTED`, `EXPIRED`,`REGISTRATION_FAILED` or `TRANSFER_FAILED`. See [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) for more details. ## Parameters @@ -586,7 +586,7 @@ defmodule GoogleApi.Domains.V1beta1.Api.Projects do end @doc """ - 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. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) 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. ## Parameters @@ -800,7 +800,7 @@ defmodule GoogleApi.Domains.V1beta1.Api.Projects do end @doc """ - Imports a domain name from [Google Domains](https://domains.google/) for use in Cloud Domains. To transfer a domain from another registrar, use the `TransferDomain` method instead. Since individual users can own domains in Google Domains, the calling user must have ownership permission on the domain. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Imports a domain name from [Google Domains](https://domains.google/) for use in Cloud Domains. To transfer a domain from another registrar, use the `TransferDomain` method instead. Since individual users can own domains in Google Domains, the calling user must have ownership permission on the domain. ## Parameters @@ -1238,7 +1238,7 @@ defmodule GoogleApi.Domains.V1beta1.Api.Projects do end @doc """ - Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned. ## Parameters @@ -1388,7 +1388,7 @@ defmodule GoogleApi.Domains.V1beta1.Api.Projects do end @doc """ - Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Use the returned values to call `TransferDomain`. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Use the returned values to call `TransferDomain`. ## Parameters @@ -1680,7 +1680,7 @@ defmodule GoogleApi.Domains.V1beta1.Api.Projects do end @doc """ - Transfers a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. 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. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Transfers a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. 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. ## Parameters diff --git a/clients/domains/lib/google_api/domains/v1beta1/metadata.ex b/clients/domains/lib/google_api/domains/v1beta1/metadata.ex index c7129c798e..11a0ebdf33 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/metadata.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Domains.V1beta1 do API client metadata for GoogleApi.Domains.V1beta1. """ - @discovery_revision "20221101" + @discovery_revision "20240305" def discovery_revision(), do: @discovery_revision end diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/binding.ex b/clients/domains/lib/google_api/domains/v1beta1/model/binding.ex index d331929121..bb8891c236 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/binding.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/binding.ex @@ -22,8 +22,8 @@ defmodule GoogleApi.Domains.V1beta1.Model.Binding do ## Attributes * `condition` (*type:* `GoogleApi.Domains.V1beta1.Model.Expr.t`, *default:* `nil`) - 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). - * `members` (*type:* `list(String.t)`, *default:* `nil`) - Specifies the principals requesting access for a Google Cloud 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `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`. - * `role` (*type:* `String.t`, *default:* `nil`) - Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + * `members` (*type:* `list(String.t)`, *default:* `nil`) - Specifies the principals requesting access for a Google Cloud 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. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `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. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + * `role` (*type:* `String.t`, *default:* `nil`) - Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/dns_settings.ex b/clients/domains/lib/google_api/domains/v1beta1/model/dns_settings.ex index 62d850bd9e..b06e89caee 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/dns_settings.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/dns_settings.ex @@ -23,7 +23,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.DnsSettings do * `customDns` (*type:* `GoogleApi.Domains.V1beta1.Model.CustomDns.t`, *default:* `nil`) - An arbitrary DNS provider identified by its name servers. * `glueRecords` (*type:* `list(GoogleApi.Domains.V1beta1.Model.GlueRecord.t)`, *default:* `nil`) - The list of glue records for this `Registration`. Commonly empty. - * `googleDomainsDns` (*type:* `GoogleApi.Domains.V1beta1.Model.GoogleDomainsDns.t`, *default:* `nil`) - The free DNS zone provided by [Google Domains](https://domains.google/). + * `googleDomainsDns` (*type:* `GoogleApi.Domains.V1beta1.Model.GoogleDomainsDns.t`, *default:* `nil`) - Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). The free DNS zone provided by [Google Domains](https://domains.google/). """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/export_registration_request.ex b/clients/domains/lib/google_api/domains/v1beta1/model/export_registration_request.ex index a747e6826b..632b137885 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/export_registration_request.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/export_registration_request.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.ExportRegistrationRequest do @moduledoc """ - Request for the `ExportRegistration` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ExportRegistration` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/google_domains_dns.ex b/clients/domains/lib/google_api/domains/v1beta1/model/google_domains_dns.ex index af429b70a5..3eea9bd329 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/google_domains_dns.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/google_domains_dns.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.GoogleDomainsDns do @moduledoc """ - 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/). + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). 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/). ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/import_domain_request.ex b/clients/domains/lib/google_api/domains/v1beta1/model/import_domain_request.ex index dfe09dcdfe..a2d3d77990 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/import_domain_request.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/import_domain_request.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.ImportDomainRequest do @moduledoc """ - Request for the `ImportDomain` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ImportDomain` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/location.ex b/clients/domains/lib/google_api/domains/v1beta1/model/location.ex index 0cc50e5dad..fdecbcbd82 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/location.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/location.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.Location do @moduledoc """ - A resource that represents Google Cloud Platform location. + A resource that represents a Google Cloud location. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/management_settings.ex b/clients/domains/lib/google_api/domains/v1beta1/model/management_settings.ex index ea8840cda9..8684e380c7 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/management_settings.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/management_settings.ex @@ -21,17 +21,20 @@ defmodule GoogleApi.Domains.V1beta1.Model.ManagementSettings do ## Attributes - * `renewalMethod` (*type:* `String.t`, *default:* `nil`) - Output only. The renewal method for this `Registration`. + * `preferredRenewalMethod` (*type:* `String.t`, *default:* `nil`) - Optional. The desired renewal method for this `Registration`. The actual `renewal_method` is automatically updated to reflect this choice. If unset or equal to `RENEWAL_METHOD_UNSPECIFIED`, the actual `renewalMethod` is treated as if it were set to `AUTOMATIC_RENEWAL`. You cannot use `RENEWAL_DISABLED` during resource creation, and you can update the renewal status only when the `Registration` resource has state `ACTIVE` or `SUSPENDED`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be set to `RENEWAL_DISABLED` in case of problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours. + * `renewalMethod` (*type:* `String.t`, *default:* `nil`) - Output only. The actual renewal method for this `Registration`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be equal to `RENEWAL_DISABLED`—for example, when there are problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours. * `transferLockState` (*type:* `String.t`, *default:* `nil`) - Controls whether the domain can be transferred to another registrar. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :preferredRenewalMethod => String.t() | nil, :renewalMethod => String.t() | nil, :transferLockState => String.t() | nil } + field(:preferredRenewalMethod) field(:renewalMethod) field(:transferLockState) end diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/operation.ex b/clients/domains/lib/google_api/domains/v1beta1/model/operation.ex index 6d5c886ef9..f7b06d219c 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/operation.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/operation.ex @@ -25,7 +25,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.Operation do * `error` (*type:* `GoogleApi.Domains.V1beta1.Model.Status.t`, *default:* `nil`) - The error result of the operation in case of failure or cancellation. * `metadata` (*type:* `map()`, *default:* `nil`) - 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. * `name` (*type:* `String.t`, *default:* `nil`) - 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}`. - * `response` (*type:* `map()`, *default:* `nil`) - 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`. + * `response` (*type:* `map()`, *default:* `nil`) - The normal, successful response of the operation. 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`. """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/policy.ex b/clients/domains/lib/google_api/domains/v1beta1/model/policy.ex index 9b6df511cd..0d068d871f 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/policy.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/policy.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.Policy do @moduledoc """ - 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/). + 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/). ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/registration.ex b/clients/domains/lib/google_api/domains/v1beta1/model/registration.ex index 44c74eee7c..8a37e2e51d 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/registration.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/registration.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.Registration do @moduledoc """ - 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`. Finally, you can create a new `Registration` by importing an existing domain managed with [Google Domains](https://domains.google/). First, call `RetrieveImportableDomains` to list domains to which the calling user has sufficient access. Then call `ImportDomain` on any domain names you want to use with Cloud Domains. + 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 (Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). 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`. Finally, you can create a new `Registration` by importing an existing domain managed with [Google Domains](https://domains.google/) (Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). First, call `RetrieveImportableDomains` to list domains to which the calling user has sufficient access. Then call `ImportDomain` on any domain names you want to use with Cloud Domains. ## Attributes @@ -34,7 +34,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.Registration do * `registerFailureReason` (*type:* `String.t`, *default:* `nil`) - Output only. The reason the domain registration failed. Only set for domains in REGISTRATION_FAILED state. * `state` (*type:* `String.t`, *default:* `nil`) - Output only. The state of the `Registration` * `supportedPrivacy` (*type:* `list(String.t)`, *default:* `nil`) - Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports. - * `transferFailureReason` (*type:* `String.t`, *default:* `nil`) - Output only. The reason the domain transfer failed. Only set for domains in TRANSFER_FAILED state. + * `transferFailureReason` (*type:* `String.t`, *default:* `nil`) - Output only. Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). The reason the domain transfer failed. Only set for domains in TRANSFER_FAILED state. """ use GoogleApi.Gax.ModelBase diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/retrieve_importable_domains_response.ex b/clients/domains/lib/google_api/domains/v1beta1/model/retrieve_importable_domains_response.ex index f18b27d526..f23099c5f7 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/retrieve_importable_domains_response.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/retrieve_importable_domains_response.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.RetrieveImportableDomainsResponse do @moduledoc """ - Response for the `RetrieveImportableDomains` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveImportableDomains` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/retrieve_transfer_parameters_response.ex b/clients/domains/lib/google_api/domains/v1beta1/model/retrieve_transfer_parameters_response.ex index cf0181a5b6..2babdd82f6 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/retrieve_transfer_parameters_response.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/retrieve_transfer_parameters_response.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.RetrieveTransferParametersResponse do @moduledoc """ - Response for the `RetrieveTransferParameters` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveTransferParameters` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/transfer_domain_request.ex b/clients/domains/lib/google_api/domains/v1beta1/model/transfer_domain_request.ex index 06ef2e1fc2..4567cf6a42 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/transfer_domain_request.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/transfer_domain_request.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.TransferDomainRequest do @moduledoc """ - Request for the `TransferDomain` method. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `TransferDomain` method. ## Attributes diff --git a/clients/domains/lib/google_api/domains/v1beta1/model/transfer_parameters.ex b/clients/domains/lib/google_api/domains/v1beta1/model/transfer_parameters.ex index c87e7a1b67..e4dbb1a425 100644 --- a/clients/domains/lib/google_api/domains/v1beta1/model/transfer_parameters.ex +++ b/clients/domains/lib/google_api/domains/v1beta1/model/transfer_parameters.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Domains.V1beta1.Model.TransferParameters do @moduledoc """ - Parameters required to transfer a domain from another registrar. + Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Parameters required to transfer a domain from another registrar. ## Attributes