Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::BinaryAuthorization.
Configuration for Binary Authorization.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enabled
def enabled() -> ::Boolean
Returns
- (::Boolean) — This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
#enabled=
def enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
Returns
- (::Boolean) — This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
#evaluation_mode
def evaluation_mode() -> ::Google::Cloud::Container::V1::BinaryAuthorization::EvaluationMode
Returns
- (::Google::Cloud::Container::V1::BinaryAuthorization::EvaluationMode) — Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
#evaluation_mode=
def evaluation_mode=(value) -> ::Google::Cloud::Container::V1::BinaryAuthorization::EvaluationMode
Parameter
- value (::Google::Cloud::Container::V1::BinaryAuthorization::EvaluationMode) — Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
Returns
- (::Google::Cloud::Container::V1::BinaryAuthorization::EvaluationMode) — Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.