Class: Google::Cloud::Build::V1::CloudBuild::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::CloudBuild::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/build/v1/cloud_build/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 gRPC 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
2279 2280 2281 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2279 def approve_build @approve_build end |
#cancel_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for cancel_build
2269 2270 2271 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2269 def cancel_build @cancel_build end |
#create_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_build
2254 2255 2256 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2254 def create_build @create_build end |
#create_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_build_trigger
2284 2285 2286 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2284 def create_build_trigger @create_build_trigger end |
#create_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_worker_pool
2319 2320 2321 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2319 def create_worker_pool @create_worker_pool end |
#delete_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_build_trigger
2299 2300 2301 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2299 def delete_build_trigger @delete_build_trigger end |
#delete_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_worker_pool
2329 2330 2331 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2329 def delete_worker_pool @delete_worker_pool end |
#get_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_build
2259 2260 2261 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2259 def get_build @get_build end |
#get_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_build_trigger
2289 2290 2291 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2289 def get_build_trigger @get_build_trigger end |
#get_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_worker_pool
2324 2325 2326 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2324 def get_worker_pool @get_worker_pool end |
#list_build_triggers ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_build_triggers
2294 2295 2296 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2294 def list_build_triggers @list_build_triggers end |
#list_builds ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_builds
2264 2265 2266 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2264 def list_builds @list_builds end |
#list_worker_pools ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_worker_pools
2339 2340 2341 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2339 def list_worker_pools @list_worker_pools end |
#receive_trigger_webhook ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for receive_trigger_webhook
2314 2315 2316 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2314 def receive_trigger_webhook @receive_trigger_webhook end |
#retry_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for retry_build
2274 2275 2276 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2274 def retry_build @retry_build end |
#run_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for run_build_trigger
2309 2310 2311 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2309 def run_build_trigger @run_build_trigger end |
#update_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_build_trigger
2304 2305 2306 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2304 def update_build_trigger @update_build_trigger end |
#update_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_worker_pool
2334 2335 2336 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2334 def update_worker_pool @update_worker_pool end |