Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::RolloutRestriction.
Rollout restrictions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#actions
def actions() -> ::Array<::Google::Cloud::Deploy::V1::RolloutRestriction::RolloutActions>
Returns
- (::Array<::Google::Cloud::Deploy::V1::RolloutRestriction::RolloutActions>) — Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
#actions=
def actions=(value) -> ::Array<::Google::Cloud::Deploy::V1::RolloutRestriction::RolloutActions>
Parameter
- value (::Array<::Google::Cloud::Deploy::V1::RolloutRestriction::RolloutActions>) — Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
Returns
- (::Array<::Google::Cloud::Deploy::V1::RolloutRestriction::RolloutActions>) — Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
#id
def id() -> ::String
Returns
-
(::String) — Required. Restriction rule ID. Required and must be unique within a
DeployPolicy. The format is
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
.
#id=
def id=(value) -> ::String
Parameter
-
value (::String) — Required. Restriction rule ID. Required and must be unique within a
DeployPolicy. The format is
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
.
Returns
-
(::String) — Required. Restriction rule ID. Required and must be unique within a
DeployPolicy. The format is
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
.
#invokers
def invokers() -> ::Array<::Google::Cloud::Deploy::V1::DeployPolicy::Invoker>
Returns
- (::Array<::Google::Cloud::Deploy::V1::DeployPolicy::Invoker>) — Optional. What invoked the action. If left empty, all invoker types will be restricted.
#invokers=
def invokers=(value) -> ::Array<::Google::Cloud::Deploy::V1::DeployPolicy::Invoker>
Parameter
- value (::Array<::Google::Cloud::Deploy::V1::DeployPolicy::Invoker>) — Optional. What invoked the action. If left empty, all invoker types will be restricted.
Returns
- (::Array<::Google::Cloud::Deploy::V1::DeployPolicy::Invoker>) — Optional. What invoked the action. If left empty, all invoker types will be restricted.
#time_windows
def time_windows() -> ::Google::Cloud::Deploy::V1::TimeWindows
Returns
- (::Google::Cloud::Deploy::V1::TimeWindows) — Required. Time window within which actions are restricted.
#time_windows=
def time_windows=(value) -> ::Google::Cloud::Deploy::V1::TimeWindows
Parameter
- value (::Google::Cloud::Deploy::V1::TimeWindows) — Required. Time window within which actions are restricted.
Returns
- (::Google::Cloud::Deploy::V1::TimeWindows) — Required. Time window within which actions are restricted.