Class: Google::Cloud::Dlp::V2::DateTime
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::DateTime
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
Message for a date time object. e.g. 2018-01-01, 5th August.
Defined Under Namespace
Classes: TimeZone
Instance Attribute Summary collapse
-
#date ⇒ ::Google::Type::Date
One or more of the following must be set.
-
#day_of_week ⇒ ::Google::Type::DayOfWeek
Day of week.
-
#time ⇒ ::Google::Type::TimeOfDay
Time of day.
-
#time_zone ⇒ ::Google::Cloud::Dlp::V2::DateTime::TimeZone
Time zone.
Instance Attribute Details
#date ⇒ ::Google::Type::Date
Returns One or more of the following must be set. Must be a valid date or time value.
2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2082 class DateTime include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Time zone of the date time object. # @!attribute [rw] offset_minutes # @return [::Integer] # Set only if the offset can be determined. Positive for time ahead of UTC. # E.g. For "UTC-9", this value is -540. class TimeZone include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#day_of_week ⇒ ::Google::Type::DayOfWeek
Returns Day of week.
2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2082 class DateTime include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Time zone of the date time object. # @!attribute [rw] offset_minutes # @return [::Integer] # Set only if the offset can be determined. Positive for time ahead of UTC. # E.g. For "UTC-9", this value is -540. class TimeZone include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#time ⇒ ::Google::Type::TimeOfDay
Returns Time of day.
2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2082 class DateTime include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Time zone of the date time object. # @!attribute [rw] offset_minutes # @return [::Integer] # Set only if the offset can be determined. Positive for time ahead of UTC. # E.g. For "UTC-9", this value is -540. class TimeZone include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#time_zone ⇒ ::Google::Cloud::Dlp::V2::DateTime::TimeZone
Returns Time zone.
2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2082 class DateTime include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Time zone of the date time object. # @!attribute [rw] offset_minutes # @return [::Integer] # Set only if the offset can be determined. Positive for time ahead of UTC. # E.g. For "UTC-9", this value is -540. class TimeZone include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |