Class: Google::Cloud::Recommender::V1::Recommender::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/recommender/v1/recommender/client.rb

Overview

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

Instance Attribute Details

#get_insight::Gapic::Config::Method (readonly)

RPC-specific configuration for get_insight

Returns:

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


1703
1704
1705
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1703

def get_insight
  @get_insight
end

#get_insight_type_config::Gapic::Config::Method (readonly)

RPC-specific configuration for get_insight_type_config

Returns:

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


1753
1754
1755
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1753

def get_insight_type_config
  @get_insight_type_config
end

#get_recommendation::Gapic::Config::Method (readonly)

RPC-specific configuration for get_recommendation

Returns:

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


1718
1719
1720
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1718

def get_recommendation
  @get_recommendation
end

#get_recommender_config::Gapic::Config::Method (readonly)

RPC-specific configuration for get_recommender_config

Returns:

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


1743
1744
1745
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1743

def get_recommender_config
  @get_recommender_config
end

#list_insights::Gapic::Config::Method (readonly)

RPC-specific configuration for list_insights

Returns:

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


1698
1699
1700
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1698

def list_insights
  @list_insights
end

#list_recommendations::Gapic::Config::Method (readonly)

RPC-specific configuration for list_recommendations

Returns:

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


1713
1714
1715
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1713

def list_recommendations
  @list_recommendations
end

#mark_insight_accepted::Gapic::Config::Method (readonly)

RPC-specific configuration for mark_insight_accepted

Returns:

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


1708
1709
1710
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1708

def mark_insight_accepted
  @mark_insight_accepted
end

#mark_recommendation_claimed::Gapic::Config::Method (readonly)

RPC-specific configuration for mark_recommendation_claimed

Returns:

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


1728
1729
1730
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1728

def mark_recommendation_claimed
  @mark_recommendation_claimed
end

#mark_recommendation_dismissed::Gapic::Config::Method (readonly)

RPC-specific configuration for mark_recommendation_dismissed

Returns:

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


1723
1724
1725
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1723

def mark_recommendation_dismissed
  @mark_recommendation_dismissed
end

#mark_recommendation_failed::Gapic::Config::Method (readonly)

RPC-specific configuration for mark_recommendation_failed

Returns:

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


1738
1739
1740
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1738

def mark_recommendation_failed
  @mark_recommendation_failed
end

#mark_recommendation_succeeded::Gapic::Config::Method (readonly)

RPC-specific configuration for mark_recommendation_succeeded

Returns:

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


1733
1734
1735
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1733

def mark_recommendation_succeeded
  @mark_recommendation_succeeded
end

#update_insight_type_config::Gapic::Config::Method (readonly)

RPC-specific configuration for update_insight_type_config

Returns:

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


1758
1759
1760
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1758

def update_insight_type_config
  @update_insight_type_config
end

#update_recommender_config::Gapic::Config::Method (readonly)

RPC-specific configuration for update_recommender_config

Returns:

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


1748
1749
1750
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1748

def update_recommender_config
  @update_recommender_config
end