Class: Google::Apis::ResellerV1::ResellernotifyResource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/reseller_v1/classes.rb,
generated/google/apis/reseller_v1/representations.rb,
generated/google/apis/reseller_v1/representations.rb

Overview

JSON template for resellernotify response.

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) ⇒ ResellernotifyResource

Returns a new instance of ResellernotifyResource



298
299
300
# File 'generated/google/apis/reseller_v1/classes.rb', line 298

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#topic_nameString

Topic name of the PubSub Corresponds to the JSON property topicName

Returns:

  • (String)


296
297
298
# File 'generated/google/apis/reseller_v1/classes.rb', line 296

def topic_name
  @topic_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



303
304
305
# File 'generated/google/apis/reseller_v1/classes.rb', line 303

def update!(**args)
  @topic_name = args[:topic_name] if args.key?(:topic_name)
end