Class: Google::Apis::AndroidpublisherV3::Sampling

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Sampling

Returns a new instance of Sampling.



1458
1459
1460
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1458

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

Instance Attribute Details

#mod_rangesArray<Google::Apis::AndroidpublisherV3::ModRange>

Corresponds to the JSON property modRanges



1446
1447
1448
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1446

def mod_ranges
  @mod_ranges
end

#modulusFixnum

Corresponds to the JSON property modulus

Returns:

  • (Fixnum)


1451
1452
1453
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1451

def modulus
  @modulus
end

#saltFixnum

Corresponds to the JSON property salt

Returns:

  • (Fixnum)


1456
1457
1458
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1456

def salt
  @salt
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1463
1464
1465
1466
1467
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1463

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)
end