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
2090 2091 2092 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2090 def approve_build @approve_build end |
#cancel_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for cancel_build
2080 2081 2082 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2080 def cancel_build @cancel_build end |
#create_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_build
2065 2066 2067 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2065 def create_build @create_build end |
#create_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_build_trigger
2095 2096 2097 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2095 def create_build_trigger @create_build_trigger end |
#create_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_worker_pool
2130 2131 2132 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2130 def create_worker_pool @create_worker_pool end |
#delete_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_build_trigger
2110 2111 2112 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2110 def delete_build_trigger @delete_build_trigger end |
#delete_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_worker_pool
2140 2141 2142 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2140 def delete_worker_pool @delete_worker_pool end |
#get_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_build
2070 2071 2072 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2070 def get_build @get_build end |
#get_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_build_trigger
2100 2101 2102 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2100 def get_build_trigger @get_build_trigger end |
#get_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_worker_pool
2135 2136 2137 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2135 def get_worker_pool @get_worker_pool end |
#list_build_triggers ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_build_triggers
2105 2106 2107 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2105 def list_build_triggers @list_build_triggers end |
#list_builds ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_builds
2075 2076 2077 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2075 def list_builds @list_builds end |
#list_worker_pools ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_worker_pools
2150 2151 2152 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2150 def list_worker_pools @list_worker_pools end |
#receive_trigger_webhook ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for receive_trigger_webhook
2125 2126 2127 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2125 def receive_trigger_webhook @receive_trigger_webhook end |
#retry_build ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for retry_build
2085 2086 2087 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2085 def retry_build @retry_build end |
#run_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for run_build_trigger
2120 2121 2122 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2120 def run_build_trigger @run_build_trigger end |
#update_build_trigger ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_build_trigger
2115 2116 2117 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2115 def update_build_trigger @update_build_trigger end |
#update_worker_pool ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_worker_pool
2145 2146 2147 |
# File 'lib/google/cloud/build/v1/cloud_build/rest/client.rb', line 2145 def update_worker_pool @update_worker_pool end |