Class: Google::Apis::ChromewebstoreV2::PublishItemResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChromewebstoreV2::PublishItemResponse
- 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
-
#item_id ⇒ String
Output only.
-
#name ⇒ String
The name of the item that was submitted Corresponds to the JSON property
name. -
#state ⇒ String
Output only.
-
#warning_info ⇒ Google::Apis::ChromewebstoreV2::WarningsInfo
Message containing details on warnings encountered during PublishItem.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PublishItemResponse
constructor
A new instance of PublishItemResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
Output only. The ID of the item.
Corresponds to the JSON property itemId
244 245 246 |
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 244 def item_id @item_id end |
#name ⇒ String
The name of the item that was submitted
Corresponds to the JSON property name
249 250 251 |
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 249 def name @name end |
#state ⇒ String
Output only. The current state of the submission.
Corresponds to the JSON property state
254 255 256 |
# File 'lib/google/apis/chromewebstore_v2/classes.rb', line 254 def state @state end |
#warning_info ⇒ Google::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 |