Class: Google::Cloud::PubSub::V1::Subscriber::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::PubSub::V1::Subscriber::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/pubsub/v1/subscriber/client.rb
Overview
Configuration RPC class for the Subscriber 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
-
#acknowledge ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
acknowledge
. -
#create_snapshot ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_snapshot
. -
#create_subscription ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_subscription
. -
#delete_snapshot ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_snapshot
. -
#delete_subscription ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_subscription
. -
#get_snapshot ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_snapshot
. -
#get_subscription ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_subscription
. -
#list_snapshots ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_snapshots
. -
#list_subscriptions ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_subscriptions
. -
#modify_ack_deadline ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
modify_ack_deadline
. -
#modify_push_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
modify_push_config
. -
#pull ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
pull
. -
#seek ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
seek
. -
#streaming_pull ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
streaming_pull
. -
#update_snapshot ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_snapshot
. -
#update_subscription ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_subscription
.
Instance Attribute Details
#acknowledge ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for acknowledge
2115 2116 2117 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2115 def acknowledge @acknowledge end |
#create_snapshot ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_snapshot
2145 2146 2147 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2145 def create_snapshot @create_snapshot end |
#create_subscription ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_subscription
2085 2086 2087 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2085 def create_subscription @create_subscription end |
#delete_snapshot ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_snapshot
2155 2156 2157 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2155 def delete_snapshot @delete_snapshot end |
#delete_subscription ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_subscription
2105 2106 2107 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2105 def delete_subscription @delete_subscription end |
#get_snapshot ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_snapshot
2135 2136 2137 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2135 def get_snapshot @get_snapshot end |
#get_subscription ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_subscription
2090 2091 2092 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2090 def get_subscription @get_subscription end |
#list_snapshots ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_snapshots
2140 2141 2142 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2140 def list_snapshots @list_snapshots end |
#list_subscriptions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_subscriptions
2100 2101 2102 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2100 def list_subscriptions @list_subscriptions end |
#modify_ack_deadline ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for modify_ack_deadline
2110 2111 2112 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2110 def modify_ack_deadline @modify_ack_deadline end |
#modify_push_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for modify_push_config
2130 2131 2132 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2130 def modify_push_config @modify_push_config end |
#pull ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for pull
2120 2121 2122 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2120 def pull @pull end |
#seek ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for seek
2160 2161 2162 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2160 def seek @seek end |
#streaming_pull ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for streaming_pull
2125 2126 2127 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2125 def streaming_pull @streaming_pull end |
#update_snapshot ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_snapshot
2150 2151 2152 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2150 def update_snapshot @update_snapshot end |
#update_subscription ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_subscription
2095 2096 2097 |
# File 'lib/google/cloud/pubsub/v1/subscriber/client.rb', line 2095 def update_subscription @update_subscription end |