Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::TimeWindows.
Time windows within which actions are restricted. See the documentation for more information on how to configure dates/times.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#one_time_windows
def one_time_windows() -> ::Array<::Google::Cloud::Deploy::V1::OneTimeWindow>
Returns
- (::Array<::Google::Cloud::Deploy::V1::OneTimeWindow>) — Optional. One-time windows within which actions are restricted.
#one_time_windows=
def one_time_windows=(value) -> ::Array<::Google::Cloud::Deploy::V1::OneTimeWindow>
Parameter
- value (::Array<::Google::Cloud::Deploy::V1::OneTimeWindow>) — Optional. One-time windows within which actions are restricted.
Returns
- (::Array<::Google::Cloud::Deploy::V1::OneTimeWindow>) — Optional. One-time windows within which actions are restricted.
#time_zone
def time_zone() -> ::String
Returns
- (::String) — Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
#time_zone=
def time_zone=(value) -> ::String
Parameter
- value (::String) — Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
Returns
- (::String) — Required. The time zone in IANA format IANA Time Zone Database (e.g. America/New_York).
#weekly_windows
def weekly_windows() -> ::Array<::Google::Cloud::Deploy::V1::WeeklyWindow>
Returns
- (::Array<::Google::Cloud::Deploy::V1::WeeklyWindow>) — Optional. Recurring weekly windows within which actions are restricted.
#weekly_windows=
def weekly_windows=(value) -> ::Array<::Google::Cloud::Deploy::V1::WeeklyWindow>
Parameter
- value (::Array<::Google::Cloud::Deploy::V1::WeeklyWindow>) — Optional. Recurring weekly windows within which actions are restricted.
Returns
- (::Array<::Google::Cloud::Deploy::V1::WeeklyWindow>) — Optional. Recurring weekly windows within which actions are restricted.