Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::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::V1beta1::BinaryAuthorization::EvaluationMode
Returns
- (::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode) — Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
#evaluation_mode=
def evaluation_mode=(value) -> ::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode
Parameter
- value (::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode) — Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
Returns
- (::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode) — Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
#policy_bindings
def policy_bindings() -> ::Array<::Google::Cloud::Container::V1beta1::BinaryAuthorization::PolicyBinding>
Returns
- (::Array<::Google::Cloud::Container::V1beta1::BinaryAuthorization::PolicyBinding>) — Optional. Binauthz policies that apply to this cluster.
#policy_bindings=
def policy_bindings=(value) -> ::Array<::Google::Cloud::Container::V1beta1::BinaryAuthorization::PolicyBinding>
Parameter
- value (::Array<::Google::Cloud::Container::V1beta1::BinaryAuthorization::PolicyBinding>) — Optional. Binauthz policies that apply to this cluster.
Returns
- (::Array<::Google::Cloud::Container::V1beta1::BinaryAuthorization::PolicyBinding>) — Optional. Binauthz policies that apply to this cluster.