Class: Google::Apis::PlayintegrityV1::WriteDates

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/playintegrity_v1/classes.rb,
lib/google/apis/playintegrity_v1/representations.rb,
lib/google/apis/playintegrity_v1/representations.rb

Overview

Contains the recall bits write dates.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WriteDates

Returns a new instance of WriteDates.



462
463
464
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 462

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

Instance Attribute Details

#yyyymm_firstFixnum

Optional. Write time in YYYYMM format (in UTC, e.g. 202402) for the first bit. Note that this value won't be set if the first bit is false. Corresponds to the JSON property yyyymmFirst

Returns:

  • (Fixnum)


448
449
450
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 448

def yyyymm_first
  @yyyymm_first
end

#yyyymm_secondFixnum

Optional. Write time in YYYYMM format (in UTC, e.g. 202402) for the second bit. Note that this value won't be set if the second bit is false. Corresponds to the JSON property yyyymmSecond

Returns:

  • (Fixnum)


454
455
456
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 454

def yyyymm_second
  @yyyymm_second
end

#yyyymm_thirdFixnum

Optional. Write time in YYYYMM format (in UTC, e.g. 202402) for the third bit. Note that this value won't be set if the third bit is false. Corresponds to the JSON property yyyymmThird

Returns:

  • (Fixnum)


460
461
462
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 460

def yyyymm_third
  @yyyymm_third
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



467
468
469
470
471
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 467

def update!(**args)
  @yyyymm_first = args[:yyyymm_first] if args.key?(:yyyymm_first)
  @yyyymm_second = args[:yyyymm_second] if args.key?(:yyyymm_second)
  @yyyymm_third = args[:yyyymm_third] if args.key?(:yyyymm_third)
end