Class: Google::Apis::PubsubV1beta1a::ModifyPushConfigRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_configGoogle::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

#subscriptionString

The name of the subscription. Corresponds to the JSON property subscription

Returns:

  • (String)


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