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)


1585
1586
1587
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1585

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)


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

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)


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

def get_recommendation
  @get_recommendation
end

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

RPC-specific configuration for get_recommender_config

Returns:

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


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

def get_recommender_config
  @get_recommender_config
end

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

RPC-specific configuration for list_insights

Returns:

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


1580
1581
1582
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1580

def list_insights
  @list_insights
end

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

RPC-specific configuration for list_recommendations

Returns:

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


1595
1596
1597
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1595

def list_recommendations
  @list_recommendations
end

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

RPC-specific configuration for mark_insight_accepted

Returns:

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


1590
1591
1592
# File 'lib/google/cloud/recommender/v1/recommender/rest/client.rb', line 1590

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

def update_recommender_config
  @update_recommender_config
end