Class: Google::Cloud::PubSub::V1::Subscription
- Inherits:
-
Object
- Object
- Google::Cloud::PubSub::V1::Subscription
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/pubsub/v1/pubsub.rb
Overview
A subscription resource. If none of push_config, bigquery_config, or
cloud_storage_config is set, then the subscriber will pull and ack messages
using API methods. At most one of these fields may be set.
Defined Under Namespace
Modules: State Classes: AnalyticsHubSubscriptionInfo, LabelsEntry, TagsEntry
Instance Attribute Summary collapse
-
#ack_deadline_seconds ⇒ ::Integer
Optional.
-
#analytics_hub_subscription_info ⇒ ::Google::Cloud::PubSub::V1::Subscription::AnalyticsHubSubscriptionInfo
readonly
Output only.
-
#bigquery_config ⇒ ::Google::Cloud::PubSub::V1::BigQueryConfig
Optional.
-
#cloud_storage_config ⇒ ::Google::Cloud::PubSub::V1::CloudStorageConfig
Optional.
-
#dead_letter_policy ⇒ ::Google::Cloud::PubSub::V1::DeadLetterPolicy
Optional.
-
#detached ⇒ ::Boolean
Optional.
-
#enable_exactly_once_delivery ⇒ ::Boolean
Optional.
-
#enable_message_ordering ⇒ ::Boolean
Optional.
-
#expiration_policy ⇒ ::Google::Cloud::PubSub::V1::ExpirationPolicy
Optional.
-
#filter ⇒ ::String
Optional.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#message_retention_duration ⇒ ::Google::Protobuf::Duration
Optional.
-
#message_transforms ⇒ ::Array<::Google::Cloud::PubSub::V1::MessageTransform>
Optional.
-
#name ⇒ ::String
Required.
-
#push_config ⇒ ::Google::Cloud::PubSub::V1::PushConfig
Optional.
-
#retain_acked_messages ⇒ ::Boolean
Optional.
-
#retry_policy ⇒ ::Google::Cloud::PubSub::V1::RetryPolicy
Optional.
-
#state ⇒ ::Google::Cloud::PubSub::V1::Subscription::State
readonly
Output only.
-
#tags ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#topic ⇒ ::String
Required.
-
#topic_message_retention_duration ⇒ ::Google::Protobuf::Duration
readonly
Output only.
Instance Attribute Details
#ack_deadline_seconds ⇒ ::Integer
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#analytics_hub_subscription_info ⇒ ::Google::Cloud::PubSub::V1::Subscription::AnalyticsHubSubscriptionInfo (readonly)
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#bigquery_config ⇒ ::Google::Cloud::PubSub::V1::BigQueryConfig
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#cloud_storage_config ⇒ ::Google::Cloud::PubSub::V1::CloudStorageConfig
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#dead_letter_policy ⇒ ::Google::Cloud::PubSub::V1::DeadLetterPolicy
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#detached ⇒ ::Boolean
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#enable_exactly_once_delivery ⇒ ::Boolean
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#enable_message_ordering ⇒ ::Boolean
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#expiration_policy ⇒ ::Google::Cloud::PubSub::V1::ExpirationPolicy
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#filter ⇒ ::String
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#message_retention_duration ⇒ ::Google::Protobuf::Duration
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#message_transforms ⇒ ::Array<::Google::Cloud::PubSub::V1::MessageTransform>
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#name ⇒ ::String
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#push_config ⇒ ::Google::Cloud::PubSub::V1::PushConfig
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#retain_acked_messages ⇒ ::Boolean
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#retry_policy ⇒ ::Google::Cloud::PubSub::V1::RetryPolicy
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#state ⇒ ::Google::Cloud::PubSub::V1::Subscription::State (readonly)
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#tags ⇒ ::Google::Protobuf::Map{::String => ::String}
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#topic ⇒ ::String
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |
#topic_message_retention_duration ⇒ ::Google::Protobuf::Duration (readonly)
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1252 class Subscription include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an associated [Analytics Hub # subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). # @!attribute [rw] listing # @return [::String] # Optional. The name of the associated Analytics Hub listing resource. # Pattern: # "projects/\\{project}/locations/\\{location}/dataExchanges/\\{data_exchange}/listings/\\{listing}" # @!attribute [rw] subscription # @return [::String] # Optional. The name of the associated Analytics Hub subscription resource. # Pattern: # "projects/\\{project}/locations/\\{location}/subscriptions/\\{subscription}" class AnalyticsHubSubscriptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states for a subscription. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The subscription can actively receive messages ACTIVE = 1 # The subscription cannot receive messages because of an error with the # resource to which it pushes messages. See the more detailed error state # in the corresponding configuration. RESOURCE_ERROR = 2 end end |