Class: Google::Apis::ChromewebstoreV2::PublishItemResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromewebstore_v2/classes.rb,
lib/google/apis/chromewebstore_v2/representations.rb,
lib/google/apis/chromewebstore_v2/representations.rb

Overview

Response message for PublishItem.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PublishItemResponse

Returns a new instance of PublishItemResponse.



261
262
263
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 261

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

Instance Attribute Details

#item_idString

Output only. The ID of the item. Corresponds to the JSON property itemId

Returns:

  • (String)


244
245
246
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 244

def item_id
  @item_id
end

#nameString

The name of the item that was submitted Corresponds to the JSON property name

Returns:

  • (String)


249
250
251
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 249

def name
  @name
end

#stateString

Output only. The current state of the submission. Corresponds to the JSON property state

Returns:

  • (String)


254
255
256
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 254

def state
  @state
end

#warning_infoGoogle::Apis::ChromewebstoreV2::WarningsInfo

Message containing details on warnings encountered during PublishItem. Corresponds to the JSON property warningInfo



259
260
261
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 259

def warning_info
  @warning_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



266
267
268
269
270
271
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 266

def update!(**args)
  @item_id = args[:item_id] if args.key?(:item_id)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @warning_info = args[:warning_info] if args.key?(:warning_info)
end