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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/recommender/v1/recommender/rest/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 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)


1607
1608
1609
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1607

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)


1657
1658
1659
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1657

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)


1622
1623
1624
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1622

def get_recommendation
  @get_recommendation
end

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

RPC-specific configuration for get_recommender_config

Returns:

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


1647
1648
1649
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1647

def get_recommender_config
  @get_recommender_config
end

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

RPC-specific configuration for list_insights

Returns:

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


1602
1603
1604
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1602

def list_insights
  @list_insights
end

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

RPC-specific configuration for list_recommendations

Returns:

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


1617
1618
1619
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1617

def list_recommendations
  @list_recommendations
end

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

RPC-specific configuration for mark_insight_accepted

Returns:

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


1612
1613
1614
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1612

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)


1632
1633
1634
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1632

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)


1627
1628
1629
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1627

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)


1642
1643
1644
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1642

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)


1637
1638
1639
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1637

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)


1662
1663
1664
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1662

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)


1652
1653
1654
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1652

def update_recommender_config
  @update_recommender_config
end