Class: Google::Apis::AndroidpublisherV3::Sampling
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::Sampling
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb
Instance Attribute Summary collapse
-
#mod_ranges ⇒ Array<Google::Apis::AndroidpublisherV3::ModRange>
Corresponds to the JSON property
modRanges
. -
#modulus ⇒ Fixnum
Corresponds to the JSON property
modulus
. -
#salt ⇒ Fixnum
Corresponds to the JSON property
salt
. -
#stratified_samplings ⇒ Array<Google::Apis::AndroidpublisherV3::StratifiedSampling>
Corresponds to the JSON property
stratifiedSamplings
. -
#use_android_id ⇒ Boolean
(also: #use_android_id?)
Corresponds to the JSON property
useAndroidId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Sampling
constructor
A new instance of Sampling.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Sampling
Returns a new instance of Sampling.
1481 1482 1483 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1481 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mod_ranges ⇒ Array<Google::Apis::AndroidpublisherV3::ModRange>
Corresponds to the JSON property modRanges
1458 1459 1460 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1458 def mod_ranges @mod_ranges end |
#modulus ⇒ Fixnum
Corresponds to the JSON property modulus
1463 1464 1465 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1463 def modulus @modulus end |
#salt ⇒ Fixnum
Corresponds to the JSON property salt
1468 1469 1470 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1468 def salt @salt end |
#stratified_samplings ⇒ Array<Google::Apis::AndroidpublisherV3::StratifiedSampling>
Corresponds to the JSON property stratifiedSamplings
1473 1474 1475 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1473 def stratified_samplings @stratified_samplings end |
#use_android_id ⇒ Boolean Also known as: use_android_id?
Corresponds to the JSON property useAndroidId
1478 1479 1480 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1478 def use_android_id @use_android_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1486 1487 1488 1489 1490 1491 1492 |
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1486 def update!(**args) @mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges) @modulus = args[:modulus] if args.key?(:modulus) @salt = args[:salt] if args.key?(:salt) @stratified_samplings = args[:stratified_samplings] if args.key?(:stratified_samplings) @use_android_id = args[:use_android_id] if args.key?(:use_android_id) end |