Class: Google::Apis::PubsubV1beta1a::ModifyPushConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::PubsubV1beta1a::ModifyPushConfigRequest
- 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
Request for the ModifyPushConfig method.
Instance Attribute Summary collapse
-
#push_config ⇒ Google::Apis::PubsubV1beta1a::PushConfig
Configuration for a push delivery endpoint.
-
#subscription ⇒ String
The name of the subscription.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ModifyPushConfigRequest
constructor
A new instance of ModifyPushConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ModifyPushConfigRequest
Returns a new instance of ModifyPushConfigRequest.
220 221 222 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 220 def initialize(**args) update!(**args) end |
Instance Attribute Details
#push_config ⇒ Google::Apis::PubsubV1beta1a::PushConfig
Configuration for a push delivery endpoint.
Corresponds to the JSON property pushConfig
213 214 215 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 213 def push_config @push_config end |
#subscription ⇒ String
The name of the subscription.
Corresponds to the JSON property subscription
218 219 220 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 218 def subscription @subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
225 226 227 228 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 225 def update!(**args) @push_config = args[:push_config] if args.key?(:push_config) @subscription = args[:subscription] if args.key?(:subscription) end |