Class: Google::Cloud::Deploy::V1::WeeklyWindow

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/deploy/v1/cloud_deploy.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#days_of_week::Array<::Google::Type::DayOfWeek>

Returns Optional. Days of week. If left empty, all days of the week will be included.

Returns:



1770
1771
1772
1773
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1770

class WeeklyWindow
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#end_time::Google::Type::TimeOfDay

Returns 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.



1770
1771
1772
1773
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1770

class WeeklyWindow
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#start_time::Google::Type::TimeOfDay

Returns 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.



1770
1771
1772
1773
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1770

class WeeklyWindow
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end