Class: Google::Apis::AndroidpublisherV2::AppEdit

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

Overview

Represents an edit of an app. An edit allows clients to make multiple changes before committing them in one operation.

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

Returns a new instance of AppEdit



251
252
253
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 251

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

Instance Attribute Details

#expiry_time_secondsString

The time at which the edit will expire and will be no longer valid for use in any subsequent API calls (encoded as seconds since the Epoch). Corresponds to the JSON property expiryTimeSeconds

Returns:

  • (String)


244
245
246
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 244

def expiry_time_seconds
  @expiry_time_seconds
end

#idString

The ID of the edit that can be used in subsequent API calls. Corresponds to the JSON property id

Returns:

  • (String)


249
250
251
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 249

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



256
257
258
259
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 256

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