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.



3740
3741
3742
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3740

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)


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

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)


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

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)


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

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)


3728
3729
3730
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3728

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



3733
3734
3735
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3733

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



3738
3739
3740
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3738

def regions_version
  @regions_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3745
3746
3747
3748
3749
3750
3751
3752
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3745

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