Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::TimePeriod.
Represents a time period in a week.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#days
def days() -> ::Array<::Google::Type::DayOfWeek>
Returns
- (::Array<::Google::Type::DayOfWeek>) — Required. The days of the week that the time period is active.
#days=
def days=(value) -> ::Array<::Google::Type::DayOfWeek>
Parameter
- value (::Array<::Google::Type::DayOfWeek>) — Required. The days of the week that the time period is active.
Returns
- (::Array<::Google::Type::DayOfWeek>) — Required. The days of the week that the time period is active.
#end_time
def end_time() -> ::Google::Type::TimeOfDay
Returns
- (::Google::Type::TimeOfDay) — Required. The end of the time period.
#end_time=
def end_time=(value) -> ::Google::Type::TimeOfDay
Parameter
- value (::Google::Type::TimeOfDay) — Required. The end of the time period.
Returns
- (::Google::Type::TimeOfDay) — Required. The end of the time period.
#start_time
def start_time() -> ::Google::Type::TimeOfDay
Returns
- (::Google::Type::TimeOfDay) — Required. The start of the time period.
#start_time=
def start_time=(value) -> ::Google::Type::TimeOfDay
Parameter
- value (::Google::Type::TimeOfDay) — Required. The start of the time period.
Returns
- (::Google::Type::TimeOfDay) — Required. The start of the time period.