Class: Google::Apis::ChecksV1alpha::LastUpdatedDate
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::LastUpdatedDate
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/checks_v1alpha/classes.rb,
lib/google/apis/checks_v1alpha/representations.rb,
lib/google/apis/checks_v1alpha/representations.rb
Overview
Information about the date when the privacy policy was last updated.
Instance Attribute Summary collapse
-
#end_offset ⇒ Fixnum
Byte offsets for the end of the date text inside the full text.
-
#last_updated_date ⇒ Google::Apis::ChecksV1alpha::Date
Represents a whole or partial calendar date, such as a birthday.
-
#start_offset ⇒ Fixnum
Byte offsets for the start of the date text inside the full text.
-
#text_content ⇒ String
The bytes of actual text content in the section.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LastUpdatedDate
constructor
A new instance of LastUpdatedDate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LastUpdatedDate
Returns a new instance of LastUpdatedDate.
169 170 171 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 169 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_offset ⇒ Fixnum
Byte offsets for the end of the date text inside the full text.
Corresponds to the JSON property endOffset
143 144 145 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 143 def end_offset @end_offset end |
#last_updated_date ⇒ Google::Apis::ChecksV1alpha::Date
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property lastUpdatedDate
155 156 157 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 155 def last_updated_date @last_updated_date end |
#start_offset ⇒ Fixnum
Byte offsets for the start of the date text inside the full text.
Corresponds to the JSON property startOffset
160 161 162 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 160 def start_offset @start_offset end |
#text_content ⇒ String
The bytes of actual text content in the section. NOTE: - This will correspond
to the whole sentence that includes the date. - This field might contain HTML
and it is not sanitized.
Corresponds to the JSON property textContent
167 168 169 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 167 def text_content @text_content end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
174 175 176 177 178 179 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 174 def update!(**args) @end_offset = args[:end_offset] if args.key?(:end_offset) @last_updated_date = args[:last_updated_date] if args.key?(:last_updated_date) @start_offset = args[:start_offset] if args.key?(:start_offset) @text_content = args[:text_content] if args.key?(:text_content) end |