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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/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.



542
543
544
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 542

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)


535
536
537
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 535

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)


540
541
542
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 540

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



547
548
549
550
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 547

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