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.



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

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)


3682
3683
3684
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3682

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)


3688
3689
3690
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3688

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)


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

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)


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

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



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

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



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

def regions_version
  @regions_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3717
3718
3719
3720
3721
3722
3723
3724
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3717

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