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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ModifyPushConfigRequest
Returns a new instance of ModifyPushConfigRequest
231 232 233 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 231 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
224 225 226 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 224 def push_config @push_config end |
#subscription ⇒ String
The name of the subscription.
Corresponds to the JSON property subscription
229 230 231 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 229 def subscription @subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
236 237 238 239 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 236 def update!(**args) @push_config = args[:push_config] if args.key?(:push_config) @subscription = args[:subscription] if args.key?(:subscription) end |