Class: Google::Apis::PubsubV1beta1a::PushConfig
- Inherits:
-
Object
- Object
- Google::Apis::PubsubV1beta1a::PushConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pubsub_v1beta1a/classes.rb,
generated/google/apis/pubsub_v1beta1a/representations.rb,
generated/google/apis/pubsub_v1beta1a/representations.rb
Overview
Configuration for a push delivery endpoint.
Instance Attribute Summary collapse
-
#push_endpoint ⇒ String
A URL locating the endpoint to which messages should be pushed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PushConfig
constructor
A new instance of PushConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PushConfig
Returns a new instance of PushConfig.
510 511 512 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 510 def initialize(**args) update!(**args) end |
Instance Attribute Details
#push_endpoint ⇒ String
A URL locating the endpoint to which messages should be pushed. For example, a
Webhook endpoint might use "https://example.com/push".
Corresponds to the JSON property pushEndpoint
508 509 510 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 508 def push_endpoint @push_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
515 516 517 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 515 def update!(**args) @push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint) end |