Class: Google::Apis::PlayintegrityV1::WriteDates
- Inherits:
-
Object
- Object
- Google::Apis::PlayintegrityV1::WriteDates
- 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
-
#yyyymm_first ⇒ Fixnum
Optional.
-
#yyyymm_second ⇒ Fixnum
Optional.
-
#yyyymm_third ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WriteDates
constructor
A new instance of WriteDates.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_first ⇒ Fixnum
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
487 488 489 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 487 def yyyymm_first @yyyymm_first end |
#yyyymm_second ⇒ Fixnum
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
493 494 495 |
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 493 def yyyymm_second @yyyymm_second end |
#yyyymm_third ⇒ Fixnum
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
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 |