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)


1687
1688
1689
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1687

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)


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

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)


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

def get_recommendation
  @get_recommendation
end

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

RPC-specific configuration for get_recommender_config

Returns:

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


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

def get_recommender_config
  @get_recommender_config
end

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

RPC-specific configuration for list_insights

Returns:

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


1682
1683
1684
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1682

def list_insights
  @list_insights
end

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

RPC-specific configuration for list_recommendations

Returns:

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


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

def list_recommendations
  @list_recommendations
end

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

RPC-specific configuration for mark_insight_accepted

Returns:

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


1692
1693
1694
# File 'lib/google/cloud/recommender/v1/recommender/client.rb', line 1692

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

def update_recommender_config
  @update_recommender_config
end