Class: Google::Apis::AndroidpublisherV3::UpdateBasePlanStateRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::UpdateBasePlanStateRequest
- 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
Request message to update the state of a subscription base plan.
Instance Attribute Summary collapse
-
#activate_base_plan_request ⇒ Google::Apis::AndroidpublisherV3::ActivateBasePlanRequest
Request message for ActivateBasePlan.
-
#deactivate_base_plan_request ⇒ Google::Apis::AndroidpublisherV3::DeactivateBasePlanRequest
Request message for DeactivateBasePlan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateBasePlanStateRequest
constructor
A new instance of UpdateBasePlanStateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateBasePlanStateRequest
Returns a new instance of UpdateBasePlanStateRequest.
6896 6897 6898 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activate_base_plan_request ⇒ Google::Apis::AndroidpublisherV3::ActivateBasePlanRequest
Request message for ActivateBasePlan.
Corresponds to the JSON property activateBasePlanRequest
6889 6890 6891 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6889 def activate_base_plan_request @activate_base_plan_request end |
#deactivate_base_plan_request ⇒ Google::Apis::AndroidpublisherV3::DeactivateBasePlanRequest
Request message for DeactivateBasePlan.
Corresponds to the JSON property deactivateBasePlanRequest
6894 6895 6896 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6894 def deactivate_base_plan_request @deactivate_base_plan_request end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6901 6902 6903 6904 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6901 def update!(**args) @activate_base_plan_request = args[:activate_base_plan_request] if args.key?(:activate_base_plan_request) @deactivate_base_plan_request = args[:deactivate_base_plan_request] if args.key?(:deactivate_base_plan_request) end |