Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DateTime (v1.6.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DateTime.

Message for a date time object. e.g. 2018-01-01, 5th August.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#date

def date() -> ::Google::Type::Date
Returns
  • (::Google::Type::Date) — One or more of the following must be set. Must be a valid date or time value.

#date=

def date=(value) -> ::Google::Type::Date
Parameter
  • value (::Google::Type::Date) — One or more of the following must be set. Must be a valid date or time value.
Returns
  • (::Google::Type::Date) — One or more of the following must be set. Must be a valid date or time value.

#day_of_week

def day_of_week() -> ::Google::Type::DayOfWeek
Returns

#day_of_week=

def day_of_week=(value) -> ::Google::Type::DayOfWeek
Parameter
Returns

#time

def time() -> ::Google::Type::TimeOfDay
Returns

#time=

def time=(value) -> ::Google::Type::TimeOfDay
Parameter
Returns

#time_zone

def time_zone() -> ::Google::Cloud::Dlp::V2::DateTime::TimeZone

#time_zone=

def time_zone=(value) -> ::Google::Cloud::Dlp::V2::DateTime::TimeZone
Parameter