class Google::Cloud::Asset::V1::AssetService::Client::Configuration::Rpcs

Configuration RPC class for the AssetService 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.

Attributes

analyze_iam_policy[R]

RPC-specific configuration for `analyze_iam_policy` @return [::Gapic::Config::Method]

analyze_iam_policy_longrunning[R]

RPC-specific configuration for `analyze_iam_policy_longrunning` @return [::Gapic::Config::Method]

analyze_move[R]

RPC-specific configuration for `analyze_move` @return [::Gapic::Config::Method]

batch_get_assets_history[R]

RPC-specific configuration for `batch_get_assets_history` @return [::Gapic::Config::Method]

create_feed[R]

RPC-specific configuration for `create_feed` @return [::Gapic::Config::Method]

delete_feed[R]

RPC-specific configuration for `delete_feed` @return [::Gapic::Config::Method]

export_assets[R]

RPC-specific configuration for `export_assets` @return [::Gapic::Config::Method]

get_feed[R]

RPC-specific configuration for `get_feed` @return [::Gapic::Config::Method]

list_assets[R]

RPC-specific configuration for `list_assets` @return [::Gapic::Config::Method]

list_feeds[R]

RPC-specific configuration for `list_feeds` @return [::Gapic::Config::Method]

search_all_iam_policies[R]

RPC-specific configuration for `search_all_iam_policies` @return [::Gapic::Config::Method]

search_all_resources[R]

RPC-specific configuration for `search_all_resources` @return [::Gapic::Config::Method]

update_feed[R]

RPC-specific configuration for `update_feed` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/cloud/asset/v1/asset_service/client.rb, line 1748
def initialize parent_rpcs = nil
  export_assets_config = parent_rpcs.export_assets if parent_rpcs.respond_to? :export_assets
  @export_assets = ::Gapic::Config::Method.new export_assets_config
  list_assets_config = parent_rpcs.list_assets if parent_rpcs.respond_to? :list_assets
  @list_assets = ::Gapic::Config::Method.new list_assets_config
  batch_get_assets_history_config = parent_rpcs.batch_get_assets_history if parent_rpcs.respond_to? :batch_get_assets_history
  @batch_get_assets_history = ::Gapic::Config::Method.new batch_get_assets_history_config
  create_feed_config = parent_rpcs.create_feed if parent_rpcs.respond_to? :create_feed
  @create_feed = ::Gapic::Config::Method.new create_feed_config
  get_feed_config = parent_rpcs.get_feed if parent_rpcs.respond_to? :get_feed
  @get_feed = ::Gapic::Config::Method.new get_feed_config
  list_feeds_config = parent_rpcs.list_feeds if parent_rpcs.respond_to? :list_feeds
  @list_feeds = ::Gapic::Config::Method.new list_feeds_config
  update_feed_config = parent_rpcs.update_feed if parent_rpcs.respond_to? :update_feed
  @update_feed = ::Gapic::Config::Method.new update_feed_config
  delete_feed_config = parent_rpcs.delete_feed if parent_rpcs.respond_to? :delete_feed
  @delete_feed = ::Gapic::Config::Method.new delete_feed_config
  search_all_resources_config = parent_rpcs.search_all_resources if parent_rpcs.respond_to? :search_all_resources
  @search_all_resources = ::Gapic::Config::Method.new search_all_resources_config
  search_all_iam_policies_config = parent_rpcs.search_all_iam_policies if parent_rpcs.respond_to? :search_all_iam_policies
  @search_all_iam_policies = ::Gapic::Config::Method.new search_all_iam_policies_config
  analyze_iam_policy_config = parent_rpcs.analyze_iam_policy if parent_rpcs.respond_to? :analyze_iam_policy
  @analyze_iam_policy = ::Gapic::Config::Method.new analyze_iam_policy_config
  analyze_iam_policy_longrunning_config = parent_rpcs.analyze_iam_policy_longrunning if parent_rpcs.respond_to? :analyze_iam_policy_longrunning
  @analyze_iam_policy_longrunning = ::Gapic::Config::Method.new analyze_iam_policy_longrunning_config
  analyze_move_config = parent_rpcs.analyze_move if parent_rpcs.respond_to? :analyze_move
  @analyze_move = ::Gapic::Config::Method.new analyze_move_config

  yield self if block_given?
end