Class: Google::Apis::AndroidpublisherV3::AppEdit
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::AppEdit
- 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
Represents an edit of an app. An edit allows clients to make multiple changes before committing them in one operation.
Instance Attribute Summary collapse
-
#expiry_time_seconds ⇒ String
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).
-
#id ⇒ String
The ID of the edit that can be used in subsequent API calls.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppEdit
constructor
A new instance of AppEdit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AppEdit
Returns a new instance of AppEdit.
206 207 208 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expiry_time_seconds ⇒ String
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
199 200 201 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 199 def expiry_time_seconds @expiry_time_seconds end |
#id ⇒ String
The ID of the edit that can be used in subsequent API calls.
Corresponds to the JSON property id
204 205 206 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 204 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
211 212 213 214 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 211 def update!(**args) @expiry_time_seconds = args[:expiry_time_seconds] if args.key?(:expiry_time_seconds) @id = args[:id] if args.key?(:id) end |