Class: Google::Apis::AndroidpublisherV3::MigrateBasePlanPricesRequest

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

Request message for MigrateBasePlanPrices.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MigrateBasePlanPricesRequest

Returns a new instance of MigrateBasePlanPricesRequest.



3723
3724
3725
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3723

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

Instance Attribute Details

#base_plan_idString

Required. The unique base plan ID of the base plan to update prices on. Corresponds to the JSON property basePlanId

Returns:

  • (String)


3693
3694
3695
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3693

def base_plan_id
  @base_plan_id
end

#latency_toleranceString

Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. Corresponds to the JSON property latencyTolerance

Returns:

  • (String)


3699
3700
3701
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3699

def latency_tolerance
  @latency_tolerance
end

#package_nameString

Required. Package name of the parent app. Must be equal to the package_name field on the Subscription resource. Corresponds to the JSON property packageName

Returns:

  • (String)


3705
3706
3707
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3705

def package_name
  @package_name
end

#product_idString

Required. The ID of the subscription to update. Must be equal to the product_id field on the Subscription resource. Corresponds to the JSON property productId

Returns:

  • (String)


3711
3712
3713
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3711

def product_id
  @product_id
end

#regional_price_migrationsArray<Google::Apis::AndroidpublisherV3::RegionalPriceMigrationConfig>

Required. The regional prices to update. Corresponds to the JSON property regionalPriceMigrations



3716
3717
3718
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3716

def regional_price_migrations
  @regional_price_migrations
end

#regions_versionGoogle::Apis::AndroidpublisherV3::RegionsVersion

The version of the available regions being used for the specified resource. Corresponds to the JSON property regionsVersion



3721
3722
3723
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3721

def regions_version
  @regions_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3728
3729
3730
3731
3732
3733
3734
3735
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3728

def update!(**args)
  @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
  @latency_tolerance = args[:latency_tolerance] if args.key?(:latency_tolerance)
  @package_name = args[:package_name] if args.key?(:package_name)
  @product_id = args[:product_id] if args.key?(:product_id)
  @regional_price_migrations = args[:regional_price_migrations] if args.key?(:regional_price_migrations)
  @regions_version = args[:regions_version] if args.key?(:regions_version)
end