Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::WeeklyWindow (v1.4.0)

Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::WeeklyWindow.

Weekly windows. For example, blocking actions every Saturday and Sunday. Another example would be blocking actions every weekday from 5pm to midnight.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#days_of_week

def days_of_week() -> ::Array<::Google::Type::DayOfWeek>
Returns

#days_of_week=

def days_of_week=(value) -> ::Array<::Google::Type::DayOfWeek>
Parameter
  • value (::Array<::Google::Type::DayOfWeek>) — Optional. Days of week. If left empty, all days of the week will be included.
Returns

#end_time

def end_time() -> ::Google::Type::TimeOfDay
Returns
  • (::Google::Type::TimeOfDay) — Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.

#end_time=

def end_time=(value) -> ::Google::Type::TimeOfDay
Parameter
  • value (::Google::Type::TimeOfDay) — Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
Returns
  • (::Google::Type::TimeOfDay) — Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.

#start_time

def start_time() -> ::Google::Type::TimeOfDay
Returns
  • (::Google::Type::TimeOfDay) — Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.

#start_time=

def start_time=(value) -> ::Google::Type::TimeOfDay
Parameter
  • value (::Google::Type::TimeOfDay) — Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
Returns
  • (::Google::Type::TimeOfDay) — Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.