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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#subscriptionString

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

Returns:

  • (String)


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