- 1.30.1 (latest)
 - 1.30.0
 - 1.29.0
 - 1.28.0
 - 1.27.0
 - 1.26.0
 - 1.25.0
 - 1.24.0
 - 1.23.1
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.0
 - 1.13.0
 - 1.12.0
 - 1.11.0
 - 1.10.0
 - 1.9.0
 - 1.8.0
 - 1.7.0
 - 1.6.0
 - 1.5.0
 - 1.4.0
 - 1.3.0
 - 1.2.0
 - 1.1.0
 - 1.0.0
 - 0.64.0
 - 0.63.0
 - 0.62.0
 - 0.61.0
 - 0.60.0
 - 0.59.0
 - 0.58.0
 - 0.57.0
 - 0.56.0
 - 0.55.0
 - 0.54.0
 - 0.53.0
 - 0.52.0
 - 0.51.0
 - 0.50.0
 - 0.49.0
 - 0.48.0
 - 0.47.0
 - 0.46.0
 - 0.45.0
 - 0.44.0
 - 0.43.0
 - 0.42.0
 - 0.41.0
 - 0.40.0
 - 0.39.0
 - 0.38.0
 - 0.37.0
 - 0.36.0
 - 0.35.0
 - 0.34.0
 - 0.33.0
 - 0.32.0
 - 0.31.0
 - 0.30.0
 - 0.29.0
 - 0.28.0
 - 0.27.0
 - 0.26.0
 - 0.25.0
 - 0.24.0
 - 0.23.0
 - 0.22.0
 - 0.21.0
 - 0.20.0
 - 0.19.0
 - 0.18.0
 - 0.17.0
 - 0.16.0
 - 0.15.0
 - 0.14.0
 - 0.13.0
 - 0.12.0
 - 0.11.0
 - 0.10.0
 - 0.9.1
 - 0.8.0
 - 0.7.0
 - 0.6.0
 - 0.5.0
 - 0.4.0
 - 0.3.0
 - 0.2.0
 - 0.1.0
 
Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::VizierService::Rest::Operations::Configuration.
Configuration class for the Operations REST API.
This class represents the configuration for Operations REST, providing control over timeouts, retry behavior, logging, transport parameters, and other low-level controls. Certain parameters can also be applied individually to specific RPCs. See Longrunning::Operations::Rest::Client::Configuration::Rpcs for a list of RPCs that can be configured independently.
Configuration can be applied globally to all clients, or to a single client on construction.
Inherits
- Object
 
Extended By
- Gapic::Config
 
Example
# Modify the global config, setting the timeout for # list_operations to 20 seconds, # and all remaining timeouts to 10 seconds. ::Google::Longrunning::Operations::Rest::Client.configure do |config| config.timeout = 10.0 config.rpcs.list_operations.timeout = 20.0 end # Apply the above configuration only to a new client. client = ::Google::Longrunning::Operations::Rest::Client.new do |config| config.timeout = 10.0 config.rpcs.list_operations.timeout = 20.0 end
Methods
#credentials
def credentials() -> ::ObjectCredentials to send with calls. You may provide any of the following types:
-  (
String) The path to a service account key file in JSON format -  (
Hash) A service account key as a Hash -  (
Google::Auth::Credentials) A googleauth credentials object (see the googleauth docs) -  (
Signet::OAuth2::Client) A signet oauth2 client object (see the signet docs) -  (
nil) indicating no credentials 
- (::Object)
 
#credentials=
def credentials=(value) -> ::ObjectCredentials to send with calls. You may provide any of the following types:
-  (
String) The path to a service account key file in JSON format -  (
Hash) A service account key as a Hash -  (
Google::Auth::Credentials) A googleauth credentials object (see the googleauth docs) -  (
Signet::OAuth2::Client) A signet oauth2 client object (see the signet docs) -  (
nil) indicating no credentials 
- value (::Object)
 
- (::Object)
 
#endpoint
def endpoint() -> ::String, nilA custom service endpoint, as a hostname or hostname:port. The default is nil, indicating to use the default endpoint in the current universe domain.
- (::String, nil)
 
#endpoint=
def endpoint=(value) -> ::String, nilA custom service endpoint, as a hostname or hostname:port. The default is nil, indicating to use the default endpoint in the current universe domain.
- value (::String, nil)
 
- (::String, nil)
 
#lib_name
def lib_name() -> ::StringThe library name as recorded in instrumentation and logging
- (::String)
 
#lib_name=
def lib_name=(value) -> ::StringThe library name as recorded in instrumentation and logging
- value (::String)
 
- (::String)
 
#lib_version
def lib_version() -> ::StringThe library version as recorded in instrumentation and logging
- (::String)
 
#lib_version=
def lib_version=(value) -> ::StringThe library version as recorded in instrumentation and logging
- value (::String)
 
- (::String)
 
#logger
def logger() -> ::Logger, :default, nilA custom logger to use for request/response debug logging, or the value
:default (the default) to construct a default logger, or nil to
explicitly disable logging.
- (::Logger, :default, nil)
 
#logger=
def logger=(value) -> ::Logger, :default, nilA custom logger to use for request/response debug logging, or the value
:default (the default) to construct a default logger, or nil to
explicitly disable logging.
- value (::Logger, :default, nil)
 
- (::Logger, :default, nil)
 
#metadata
def metadata() -> ::Hash{::Symbol=>::String}Additional headers to be sent with the call.
- (::Hash{::Symbol=>::String})
 
#metadata=
def metadata=(value) -> ::Hash{::Symbol=>::String}Additional headers to be sent with the call.
- value (::Hash{::Symbol=>::String})
 
- (::Hash{::Symbol=>::String})
 
#quota_project
def quota_project() -> ::StringA separate project against which to charge quota.
- (::String)
 
#quota_project=
def quota_project=(value) -> ::StringA separate project against which to charge quota.
- value (::String)
 
- (::String)
 
#retry_policy
def retry_policy() -> ::HashThe retry policy. The value is a hash with the following keys:
-  
:initial_delay(type:Numeric) - The initial delay in seconds. -  
:max_delay(type:Numeric) - The max delay in seconds. -  
:multiplier(type:Numeric) - The incremental backoff multiplier. -  
:retry_codes(type:Array<String>) - The error codes that should trigger a retry. 
- (::Hash)
 
#retry_policy=
def retry_policy=(value) -> ::HashThe retry policy. The value is a hash with the following keys:
-  
:initial_delay(type:Numeric) - The initial delay in seconds. -  
:max_delay(type:Numeric) - The max delay in seconds. -  
:multiplier(type:Numeric) - The incremental backoff multiplier. -  
:retry_codes(type:Array<String>) - The error codes that should trigger a retry. 
- value (::Hash)
 
- (::Hash)
 
#rpcs
def rpcs() -> RpcsConfigurations for individual RPCs
- (Rpcs)
 
#scope
def scope() -> ::Array<::String>The OAuth scopes
- (::Array<::String>)
 
#scope=
def scope=(value) -> ::Array<::String>The OAuth scopes
- value (::Array<::String>)
 
- (::Array<::String>)
 
#timeout
def timeout() -> ::NumericThe call timeout in seconds.
- (::Numeric)
 
#timeout=
def timeout=(value) -> ::NumericThe call timeout in seconds.
- value (::Numeric)
 
- (::Numeric)
 
#universe_domain
def universe_domain() -> ::String, nilThe universe domain within which to make requests. This determines the default endpoint URL. The default value of nil uses the environment universe (usually the default "googleapis.com" universe).
- (::String, nil)
 
#universe_domain=
def universe_domain=(value) -> ::String, nilThe universe domain within which to make requests. This determines the default endpoint URL. The default value of nil uses the environment universe (usually the default "googleapis.com" universe).
- value (::String, nil)
 
- (::String, nil)