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.



501
502
503
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 501

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)


487
488
489
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 487

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)


493
494
495
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 493

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)


499
500
501
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 499

def yyyymm_third
  @yyyymm_third
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



506
507
508
509
510
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 506

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