Class: Google::Cloud::Build::V1::CloudBuild::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::CloudBuild::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/build/v1/cloud_build/rest/client.rb
Overview
Configuration RPC class for the CloudBuild API.
Includes fields providing the configuration for each RPC in this service.
Each configuration object is of type Gapic::Config::Method
and includes
the following configuration fields:
-
timeout
(type:Numeric
) - The call timeout in seconds -
metadata
(type:Hash{Symbol=>String}
) - Additional headers -
retry_policy (*type:*
Hash`) - The retry policy. The policy fields include 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.
-
Instance Attribute Summary collapse
-
#approve_build ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
approve_build
. -
#cancel_build ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
cancel_build
. -
#create_build ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_build
. -
#create_build_trigger ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_build_trigger
. -
#create_worker_pool ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_worker_pool
. -
#delete_build_trigger ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_build_trigger
. -
#delete_worker_pool ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_worker_pool
. -
#get_build ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_build
. -
#get_build_trigger ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_build_trigger
. -
#get_worker_pool ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_worker_pool
. -
#list_build_triggers ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_build_triggers
. -
#list_builds ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_builds
. -
#list_worker_pools ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_worker_pools
. -
#receive_trigger_webhook ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
receive_trigger_webhook
. -
#retry_build ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
retry_build
. -
#run_build_trigger ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
run_build_trigger
. -
#update_build_trigger ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_build_trigger
. -
#update_worker_pool ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_worker_pool
.
Instance Attribute Details
#approve_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for approve_build
2072 2073 2074 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2072 def approve_build @approve_build end |
#cancel_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for cancel_build
2062 2063 2064 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2062 def cancel_build @cancel_build end |
#create_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_build
2047 2048 2049 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2047 def create_build @create_build end |
#create_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_build_trigger
2077 2078 2079 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2077 def create_build_trigger @create_build_trigger end |
#create_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_worker_pool
2112 2113 2114 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2112 def create_worker_pool @create_worker_pool end |
#delete_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_build_trigger
2092 2093 2094 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2092 def delete_build_trigger @delete_build_trigger end |
#delete_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_worker_pool
2122 2123 2124 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2122 def delete_worker_pool @delete_worker_pool end |
#get_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_build
2052 2053 2054 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2052 def get_build @get_build end |
#get_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_build_trigger
2082 2083 2084 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2082 def get_build_trigger @get_build_trigger end |
#get_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_worker_pool
2117 2118 2119 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2117 def get_worker_pool @get_worker_pool end |
#list_build_triggers ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_build_triggers
2087 2088 2089 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2087 def list_build_triggers @list_build_triggers end |
#list_builds ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_builds
2057 2058 2059 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2057 def list_builds @list_builds end |
#list_worker_pools ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_worker_pools
2132 2133 2134 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2132 def list_worker_pools @list_worker_pools end |
#receive_trigger_webhook ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for receive_trigger_webhook
2107 2108 2109 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2107 def receive_trigger_webhook @receive_trigger_webhook end |
#retry_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for retry_build
2067 2068 2069 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2067 def retry_build @retry_build end |
#run_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for run_build_trigger
2102 2103 2104 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2102 def run_build_trigger @run_build_trigger end |
#update_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_build_trigger
2097 2098 2099 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2097 def update_build_trigger @update_build_trigger end |
#update_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_worker_pool
2127 2128 2129 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2127 def update_worker_pool @update_worker_pool end |