Class: Google::Apis::AndroidpublisherV3::AppRecoveryAction
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::AppRecoveryAction
- 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
Information about an app recovery action.
Instance Attribute Summary collapse
-
#app_recovery_id ⇒ Fixnum
ID corresponding to the app recovery action.
-
#cancel_time ⇒ String
Timestamp of when the app recovery action is canceled by the developer.
-
#create_time ⇒ String
Timestamp of when the app recovery action is created by the developer.
-
#deploy_time ⇒ String
Timestamp of when the app recovery action is deployed to the users.
-
#last_update_time ⇒ String
Timestamp of when the developer last updated recovery action.
-
#remote_in_app_update_data ⇒ Google::Apis::AndroidpublisherV3::RemoteInAppUpdateData
Data related to Remote In-App Update action such as recovered user count, affected user count etc.
-
#status ⇒ String
The status of the recovery action.
-
#targeting ⇒ Google::Apis::AndroidpublisherV3::Targeting
Targeting details for a recovery action such as regions, android sdk levels, app versions etc.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppRecoveryAction
constructor
A new instance of AppRecoveryAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppRecoveryAction
Returns a new instance of AppRecoveryAction.
604 605 606 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 604 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_recovery_id ⇒ Fixnum
ID corresponding to the app recovery action.
Corresponds to the JSON property appRecoveryId
560 561 562 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 560 def app_recovery_id @app_recovery_id end |
#cancel_time ⇒ String
Timestamp of when the app recovery action is canceled by the developer. Only
set if the recovery action has been canceled.
Corresponds to the JSON property cancelTime
566 567 568 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 566 def cancel_time @cancel_time end |
#create_time ⇒ String
Timestamp of when the app recovery action is created by the developer. It is
always set after creation of the recovery action.
Corresponds to the JSON property createTime
572 573 574 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 572 def create_time @create_time end |
#deploy_time ⇒ String
Timestamp of when the app recovery action is deployed to the users. Only set
if the recovery action has been deployed.
Corresponds to the JSON property deployTime
578 579 580 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 578 def deploy_time @deploy_time end |
#last_update_time ⇒ String
Timestamp of when the developer last updated recovery action. In case the
action is cancelled, it corresponds to cancellation time. It is always set
after creation of the recovery action.
Corresponds to the JSON property lastUpdateTime
585 586 587 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 585 def last_update_time @last_update_time end |
#remote_in_app_update_data ⇒ Google::Apis::AndroidpublisherV3::RemoteInAppUpdateData
Data related to Remote In-App Update action such as recovered user count,
affected user count etc.
Corresponds to the JSON property remoteInAppUpdateData
591 592 593 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 591 def remote_in_app_update_data @remote_in_app_update_data end |
#status ⇒ String
The status of the recovery action.
Corresponds to the JSON property status
596 597 598 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 596 def status @status end |
#targeting ⇒ Google::Apis::AndroidpublisherV3::Targeting
Targeting details for a recovery action such as regions, android sdk levels,
app versions etc.
Corresponds to the JSON property targeting
602 603 604 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 602 def targeting @targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
609 610 611 612 613 614 615 616 617 618 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 609 def update!(**args) @app_recovery_id = args[:app_recovery_id] if args.key?(:app_recovery_id) @cancel_time = args[:cancel_time] if args.key?(:cancel_time) @create_time = args[:create_time] if args.key?(:create_time) @deploy_time = args[:deploy_time] if args.key?(:deploy_time) @last_update_time = args[:last_update_time] if args.key?(:last_update_time) @remote_in_app_update_data = args[:remote_in_app_update_data] if args.key?(:remote_in_app_update_data) @status = args[:status] if args.key?(:status) @targeting = args[:targeting] if args.key?(:targeting) end |