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
2297 2298 2299 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2297 def approve_build @approve_build end |
#cancel_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for cancel_build
2287 2288 2289 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2287 def cancel_build @cancel_build end |
#create_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_build
2272 2273 2274 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2272 def create_build @create_build end |
#create_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_build_trigger
2302 2303 2304 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2302 def create_build_trigger @create_build_trigger end |
#create_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_worker_pool
2337 2338 2339 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2337 def create_worker_pool @create_worker_pool end |
#delete_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_build_trigger
2317 2318 2319 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2317 def delete_build_trigger @delete_build_trigger end |
#delete_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_worker_pool
2347 2348 2349 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2347 def delete_worker_pool @delete_worker_pool end |
#get_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_build
2277 2278 2279 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2277 def get_build @get_build end |
#get_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_build_trigger
2307 2308 2309 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2307 def get_build_trigger @get_build_trigger end |
#get_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_worker_pool
2342 2343 2344 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2342 def get_worker_pool @get_worker_pool end |
#list_build_triggers ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_build_triggers
2312 2313 2314 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2312 def list_build_triggers @list_build_triggers end |
#list_builds ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_builds
2282 2283 2284 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2282 def list_builds @list_builds end |
#list_worker_pools ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_worker_pools
2357 2358 2359 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2357 def list_worker_pools @list_worker_pools end |
#receive_trigger_webhook ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for receive_trigger_webhook
2332 2333 2334 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2332 def receive_trigger_webhook @receive_trigger_webhook end |
#retry_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for retry_build
2292 2293 2294 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2292 def retry_build @retry_build end |
#run_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for run_build_trigger
2327 2328 2329 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2327 def run_build_trigger @run_build_trigger end |
#update_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_build_trigger
2322 2323 2324 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2322 def update_build_trigger @update_build_trigger end |
#update_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_worker_pool
2352 2353 2354 |
# File 'lib/google/cloud/build/v1/cloud_build/client.rb', line 2352 def update_worker_pool @update_worker_pool end |