Class: Grafeas::V1::Grafeas::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/grafeas/v1/grafeas/client.rb

Overview

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

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

RPC-specific configuration for batch_create_notes

Returns:

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


1729
1730
1731
# File 'lib/grafeas/v1/grafeas/client.rb', line 1729

def batch_create_notes
  @batch_create_notes
end

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

RPC-specific configuration for batch_create_occurrences

Returns:

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


1694
1695
1696
# File 'lib/grafeas/v1/grafeas/client.rb', line 1694

def batch_create_occurrences
  @batch_create_occurrences
end

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

RPC-specific configuration for create_note

Returns:

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


1724
1725
1726
# File 'lib/grafeas/v1/grafeas/client.rb', line 1724

def create_note
  @create_note
end

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

RPC-specific configuration for create_occurrence

Returns:

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


1689
1690
1691
# File 'lib/grafeas/v1/grafeas/client.rb', line 1689

def create_occurrence
  @create_occurrence
end

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

RPC-specific configuration for delete_note

Returns:

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


1719
1720
1721
# File 'lib/grafeas/v1/grafeas/client.rb', line 1719

def delete_note
  @delete_note
end

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

RPC-specific configuration for delete_occurrence

Returns:

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


1684
1685
1686
# File 'lib/grafeas/v1/grafeas/client.rb', line 1684

def delete_occurrence
  @delete_occurrence
end

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

RPC-specific configuration for get_note

Returns:

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


1709
1710
1711
# File 'lib/grafeas/v1/grafeas/client.rb', line 1709

def get_note
  @get_note
end

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

RPC-specific configuration for get_occurrence

Returns:

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


1674
1675
1676
# File 'lib/grafeas/v1/grafeas/client.rb', line 1674

def get_occurrence
  @get_occurrence
end

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

RPC-specific configuration for get_occurrence_note

Returns:

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


1704
1705
1706
# File 'lib/grafeas/v1/grafeas/client.rb', line 1704

def get_occurrence_note
  @get_occurrence_note
end

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

RPC-specific configuration for list_note_occurrences

Returns:

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


1739
1740
1741
# File 'lib/grafeas/v1/grafeas/client.rb', line 1739

def list_note_occurrences
  @list_note_occurrences
end

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

RPC-specific configuration for list_notes

Returns:

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


1714
1715
1716
# File 'lib/grafeas/v1/grafeas/client.rb', line 1714

def list_notes
  @list_notes
end

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

RPC-specific configuration for list_occurrences

Returns:

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


1679
1680
1681
# File 'lib/grafeas/v1/grafeas/client.rb', line 1679

def list_occurrences
  @list_occurrences
end

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

RPC-specific configuration for update_note

Returns:

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


1734
1735
1736
# File 'lib/grafeas/v1/grafeas/client.rb', line 1734

def update_note
  @update_note
end

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

RPC-specific configuration for update_occurrence

Returns:

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


1699
1700
1701
# File 'lib/grafeas/v1/grafeas/client.rb', line 1699

def update_occurrence
  @update_occurrence
end