Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::OneTimeWindow.
One-time window within which actions are restricted. For example, blocking actions over New Year's Eve from December 31st at 5pm to January 1st at 9am.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_date
def end_date() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Required. End date.
#end_date=
def end_date=(value) -> ::Google::Type::Date
Parameter
- value (::Google::Type::Date) — Required. End date.
Returns
- (::Google::Type::Date) — Required. End date.
#end_time
def end_time() -> ::Google::Type::TimeOfDay
Returns
- (::Google::Type::TimeOfDay) — Required. End time (exclusive). You may use 24:00 for the end of the day.
#end_time=
def end_time=(value) -> ::Google::Type::TimeOfDay
Parameter
- value (::Google::Type::TimeOfDay) — Required. End time (exclusive). You may use 24:00 for the end of the day.
Returns
- (::Google::Type::TimeOfDay) — Required. End time (exclusive). You may use 24:00 for the end of the day.
#start_date
def start_date() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — Required. Start date.
#start_date=
def start_date=(value) -> ::Google::Type::Date
Parameter
- value (::Google::Type::Date) — Required. Start date.
Returns
- (::Google::Type::Date) — Required. Start date.
#start_time
def start_time() -> ::Google::Type::TimeOfDay
Returns
- (::Google::Type::TimeOfDay) — Required. Start time (inclusive). Use 00:00 for the beginning of the day.
#start_time=
def start_time=(value) -> ::Google::Type::TimeOfDay
Parameter
- value (::Google::Type::TimeOfDay) — Required. Start time (inclusive). Use 00:00 for the beginning of the day.
Returns
- (::Google::Type::TimeOfDay) — Required. Start time (inclusive). Use 00:00 for the beginning of the day.