Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::RestrictRollout.
Rollout restrictions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#actions
def actions() -> ::Array<::Google::Cloud::Deploy::V1::RestrictRollout::Actions>
Returns
- (::Array<::Google::Cloud::Deploy::V1::RestrictRollout::Actions>) — 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::RestrictRollout::Actions>
Parameter
- value (::Array<::Google::Cloud::Deploy::V1::RestrictRollout::Actions>) — Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
Returns
- (::Array<::Google::Cloud::Deploy::V1::RestrictRollout::Actions>) — Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
#id
def id() -> ::String
Returns
-
(::String) — Optional. 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) — Optional. 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) — Optional. 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_window
def time_window() -> ::Google::Cloud::Deploy::V1::TimeWindow
Returns
- (::Google::Cloud::Deploy::V1::TimeWindow) — Required. Time window within which actions are restricted.
#time_window=
def time_window=(value) -> ::Google::Cloud::Deploy::V1::TimeWindow
Parameter
- value (::Google::Cloud::Deploy::V1::TimeWindow) — Required. Time window within which actions are restricted.
Returns
- (::Google::Cloud::Deploy::V1::TimeWindow) — Required. Time window within which actions are restricted.