Class: Google::Apis::AndroidpublisherV3::AppEdit

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

Overview

An app edit. The resource for EditsService.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppEdit

Returns a new instance of AppEdit.



198
199
200
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 198

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

Instance Attribute Details

#expiry_time_secondsString

Output only. The time (as seconds since Epoch) at which the edit will expire and will be no longer valid for use. Corresponds to the JSON property expiryTimeSeconds

Returns:

  • (String)


191
192
193
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 191

def expiry_time_seconds
  @expiry_time_seconds
end

#idString

Output only. Identifier of the edit. Can be used in subsequent API calls. Corresponds to the JSON property id

Returns:

  • (String)


196
197
198
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 196

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



203
204
205
206
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 203

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