Cloud Build V1 API - Class Google::Cloud::Build::V1::CloudBuild::Client::Configuration::Rpcs (v0.22.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::CloudBuild::Client::Configuration::Rpcs.

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.

Inherits

  • Object

Methods

#approve_build

def approve_build() -> ::Gapic::Config::Method

RPC-specific configuration for approve_build

Returns
  • (::Gapic::Config::Method)

#cancel_build

def cancel_build() -> ::Gapic::Config::Method

RPC-specific configuration for cancel_build

Returns
  • (::Gapic::Config::Method)

#create_build

def create_build() -> ::Gapic::Config::Method

RPC-specific configuration for create_build

Returns
  • (::Gapic::Config::Method)

#create_build_trigger

def create_build_trigger() -> ::Gapic::Config::Method

RPC-specific configuration for create_build_trigger

Returns
  • (::Gapic::Config::Method)

#create_worker_pool

def create_worker_pool() -> ::Gapic::Config::Method

RPC-specific configuration for create_worker_pool

Returns
  • (::Gapic::Config::Method)

#delete_build_trigger

def delete_build_trigger() -> ::Gapic::Config::Method

RPC-specific configuration for delete_build_trigger

Returns
  • (::Gapic::Config::Method)

#delete_worker_pool

def delete_worker_pool() -> ::Gapic::Config::Method

RPC-specific configuration for delete_worker_pool

Returns
  • (::Gapic::Config::Method)

#get_build

def get_build() -> ::Gapic::Config::Method

RPC-specific configuration for get_build

Returns
  • (::Gapic::Config::Method)

#get_build_trigger

def get_build_trigger() -> ::Gapic::Config::Method

RPC-specific configuration for get_build_trigger

Returns
  • (::Gapic::Config::Method)

#get_worker_pool

def get_worker_pool() -> ::Gapic::Config::Method

RPC-specific configuration for get_worker_pool

Returns
  • (::Gapic::Config::Method)

#list_build_triggers

def list_build_triggers() -> ::Gapic::Config::Method

RPC-specific configuration for list_build_triggers

Returns
  • (::Gapic::Config::Method)

#list_builds

def list_builds() -> ::Gapic::Config::Method

RPC-specific configuration for list_builds

Returns
  • (::Gapic::Config::Method)

#list_worker_pools

def list_worker_pools() -> ::Gapic::Config::Method

RPC-specific configuration for list_worker_pools

Returns
  • (::Gapic::Config::Method)

#receive_trigger_webhook

def receive_trigger_webhook() -> ::Gapic::Config::Method

RPC-specific configuration for receive_trigger_webhook

Returns
  • (::Gapic::Config::Method)

#retry_build

def retry_build() -> ::Gapic::Config::Method

RPC-specific configuration for retry_build

Returns
  • (::Gapic::Config::Method)

#run_build_trigger

def run_build_trigger() -> ::Gapic::Config::Method

RPC-specific configuration for run_build_trigger

Returns
  • (::Gapic::Config::Method)

#update_build_trigger

def update_build_trigger() -> ::Gapic::Config::Method

RPC-specific configuration for update_build_trigger

Returns
  • (::Gapic::Config::Method)

#update_worker_pool

def update_worker_pool() -> ::Gapic::Config::Method

RPC-specific configuration for update_worker_pool

Returns
  • (::Gapic::Config::Method)