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.
2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2125 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.
2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2125 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.
2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2125 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.
2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2125 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 |