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.
198 199 200 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 198 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
172 173 174 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 172 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
184 185 186 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 184 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
189 190 191 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 189 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
196 197 198 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 196 def text_content @text_content end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
203 204 205 206 207 208 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 203 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 |