# Modify the configuration for all AuthorizedDomains clients::Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client.configuredo|config|config.timeout=10.0end
The configuration is set to the derived mode, meaning that values can be changed,
but structural changes (adding new fields, etc.) are not allowed. Structural changes
should be made on Client.configure.
See Configuration
for a description of the configuration fields.
# Create a client using the default configurationclient=::Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client.new# Create a client using a custom configurationclient=::Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client.newdo|config|config.timeout=10.0end
Pass arguments to list_authorized_domains via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
Parameters
parent (::String) — Name of the parent Application resource. Example: apps/myapp.
page_size (::Integer) — Maximum results to return per page.
page_token (::String) — Continuation token for fetching the next page of results.
Yields
(result, operation) — Access the result along with the TransportOperation object
(::Google::Cloud::Error) — if the REST call is aborted.
Example
Basic example
require"google/cloud/app_engine/v1"# Create a client object. The client can be reused for multiple calls.client=Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client.new# Create a request. To set request fields, pass in keyword arguments.request=Google::Cloud::AppEngine::V1::ListAuthorizedDomainsRequest.new# Call the list_authorized_domains method.result=client.list_authorized_domainsrequest# The returned object is of type Gapic::PagedEnumerable. You can iterate# over elements, and API calls will be issued to fetch pages as needed.result.eachdo|item|# Each element is of type ::Google::Cloud::AppEngine::V1::AuthorizedDomain.pitemend
#logger
deflogger()->Logger
The logger used for request/response debug logging.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [1.2.1](/ruby/docs/reference/google-cloud-app_engine-v1/1.2.1/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [1.1.0](/ruby/docs/reference/google-cloud-app_engine-v1/1.1.0/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [1.0.1](/ruby/docs/reference/google-cloud-app_engine-v1/1.0.1/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [0.10.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.10.0/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [0.9.2](/ruby/docs/reference/google-cloud-app_engine-v1/0.9.2/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [0.8.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.8.0/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [0.7.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.7.0/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [0.6.1](/ruby/docs/reference/google-cloud-app_engine-v1/0.6.1/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [0.5.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.5.0/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [0.4.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.4.0/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)\n- [0.3.6](/ruby/docs/reference/google-cloud-app_engine-v1/0.3.6/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client) \nReference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client.\n\nREST client for the AuthorizedDomains service.\n\n\n\u003cbr /\u003e\n\nManages domains a user is authorized to administer. To authorize use of a\ndomain, verify ownership via\n[Webmaster Central](https://www.google.com/webmasters/verification/home). \n\nInherits\n--------\n\n- Object\n\nMethods\n-------\n\n### .configure\n\n def self.configure() { |config| ... } -\u003e Client::Configuration\n\nConfigure the AuthorizedDomains Client class.\n\n\n\u003cbr /\u003e\n\nSee [Configuration](/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client-Configuration \"Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client::Configuration (class)\")\nfor a description of the configuration fields. \n**Yields**\n\n- (config) --- Configure the Client client. \n**Yield Parameter**\n\n- **config** ([Client::Configuration](./Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client-Configuration)) \n**Returns**\n\n- ([Client::Configuration](./Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client-Configuration))\n**Example** \n\n```ruby\n# Modify the configuration for all AuthorizedDomains clients\n::Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client.configure do |config|\n config.timeout = 10.0\nend\n```\n\n### #configure\n\n def configure() { |config| ... } -\u003e Client::Configuration\n\nConfigure the AuthorizedDomains Client instance.\n\n\nThe configuration is set to the derived mode, meaning that values can be changed,\nbut structural changes (adding new fields, etc.) are not allowed. Structural changes\nshould be made on [Client.configure](/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client#Google__Cloud__AppEngine__V1__AuthorizedDomains__Rest__Client_configure_class_ \"Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client.configure (method)\").\n\n\u003cbr /\u003e\n\nSee [Configuration](/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client-Configuration \"Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client::Configuration (class)\")\nfor a description of the configuration fields. \n**Yields**\n\n- (config) --- Configure the Client client. \n**Yield Parameter**\n\n- **config** ([Client::Configuration](./Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client-Configuration)) \n**Returns**\n\n- ([Client::Configuration](./Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client-Configuration))\n\n### #initialize\n\n def initialize() { |config| ... } -\u003e Client\n\nCreate a new AuthorizedDomains REST client object. \n**Yields**\n\n- (config) --- Configure the AuthorizedDomains client. \n**Yield Parameter**\n\n- **config** ([Client::Configuration](./Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client-Configuration)) \n**Returns**\n\n- ([Client](./Google-Cloud-AppEngine-V1-AuthorizedDomains-Rest-Client)) --- a new instance of Client\n**Example** \n\n```ruby\n# Create a client using the default configuration\nclient = ::Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client.new\n\n# Create a client using a custom configuration\nclient = ::Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client.new do |config|\n config.timeout = 10.0\nend\n```\n\n### #list_authorized_domains\n\n def list_authorized_domains(request, options = nil) -\u003e ::Gapic::Rest::PagedEnumerable\u003c::Google::Cloud::AppEngine::V1::AuthorizedDomain\u003e\n def list_authorized_domains(parent: nil, page_size: nil, page_token: nil) -\u003e ::Gapic::Rest::PagedEnumerable\u003c::Google::Cloud::AppEngine::V1::AuthorizedDomain\u003e\n\nLists all domains the user is authorized to administer. \n**Overloads** \n\n def list_authorized_domains(request, options = nil) -\u003e ::Gapic::Rest::PagedEnumerable\u003c::Google::Cloud::AppEngine::V1::AuthorizedDomain\u003e\n\nPass arguments to `list_authorized_domains` via a request object, either of type [ListAuthorizedDomainsRequest](/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-ListAuthorizedDomainsRequest \"Google::Cloud::AppEngine::V1::ListAuthorizedDomainsRequest (class)\") or an equivalent Hash. \n**Parameters**\n\n- **request** ([::Google::Cloud::AppEngine::V1::ListAuthorizedDomainsRequest](./Google-Cloud-AppEngine-V1-ListAuthorizedDomainsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.\n- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional. \n\n def list_authorized_domains(parent: nil, page_size: nil, page_token: nil) -\u003e ::Gapic::Rest::PagedEnumerable\u003c::Google::Cloud::AppEngine::V1::AuthorizedDomain\u003e\n\nPass arguments to `list_authorized_domains` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). \n**Parameters**\n\n- **parent** (::String) --- Name of the parent Application resource. Example: `apps/myapp`.\n- **page_size** (::Integer) --- Maximum results to return per page.\n- **page_token** (::String) --- Continuation token for fetching the next page of results. \n**Yields**\n\n- (result, operation) --- Access the result along with the TransportOperation object \n**Yield Parameters**\n\n- **result** (::Gapic::Rest::PagedEnumerable\\\u003c[::Google::Cloud::AppEngine::V1::AuthorizedDomain](./Google-Cloud-AppEngine-V1-AuthorizedDomain)\\\u003e)\n- **operation** (::Gapic::Rest::TransportOperation) \n**Returns**\n\n- (::Gapic::Rest::PagedEnumerable\\\u003c[::Google::Cloud::AppEngine::V1::AuthorizedDomain](./Google-Cloud-AppEngine-V1-AuthorizedDomain)\\\u003e) \n**Raises**\n\n- (::Google::Cloud::Error) --- if the REST call is aborted.\n**Example**\n\nBasic example \n\n```ruby\nrequire \"google/cloud/app_engine/v1\"\n\n# Create a client object. The client can be reused for multiple calls.\nclient = Google::Cloud::AppEngine::V1::AuthorizedDomains::Rest::Client.new\n\n# Create a request. To set request fields, pass in keyword arguments.\nrequest = Google::Cloud::AppEngine::V1::ListAuthorizedDomainsRequest.new\n\n# Call the list_authorized_domains method.\nresult = client.list_authorized_domains request\n\n# The returned object is of type Gapic::PagedEnumerable. You can iterate\n# over elements, and API calls will be issued to fetch pages as needed.\nresult.each do |item|\n # Each element is of type ::Google::Cloud::AppEngine::V1::AuthorizedDomain.\n p item\nend\n```\n\n### #logger\n\n def logger() -\u003e Logger\n\nThe logger used for request/response debug logging. \n**Returns**\n\n- (Logger)\n\n### #universe_domain\n\n def universe_domain() -\u003e String\n\nThe effective universe domain \n**Returns**\n\n- (String)"]]