Class: Google::Apis::ChecksV1alpha::LastUpdatedDate

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LastUpdatedDate

Returns a new instance of LastUpdatedDate.



1278
1279
1280
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1278

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

Instance Attribute Details

#end_offsetFixnum

Byte offsets for the end of the date text inside the full text. Corresponds to the JSON property endOffset

Returns:

  • (Fixnum)


1252
1253
1254
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1252

def end_offset
  @end_offset
end

#last_updated_dateGoogle::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



1264
1265
1266
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1264

def last_updated_date
  @last_updated_date
end

#start_offsetFixnum

Byte offsets for the start of the date text inside the full text. Corresponds to the JSON property startOffset

Returns:

  • (Fixnum)


1269
1270
1271
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1269

def start_offset
  @start_offset
end

#text_contentString

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

Returns:

  • (String)


1276
1277
1278
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1276

def text_content
  @text_content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1283
1284
1285
1286
1287
1288
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1283

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