Google Cloud Binary Authorization V1beta1 Client - Class CheckSetScope (0.7.0)

Reference documentation and code samples for the Google Cloud Binary Authorization V1beta1 Client class CheckSetScope.

A scope specifier for check sets.

Generated from protobuf message google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope

Namespace

Google \ Cloud \ BinaryAuthorization \ V1beta1 \ ContinuousValidationEvent \ ContinuousValidationPodEvent \ ImageDetails \ CheckResult

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ kubernetes_service_account string

Matches a single Kubernetes service account, e.g. 'my-namespace:my-service-account'. kubernetes_service_account scope is always more specific than kubernetes_namespace scope for the same namespace.

↳ kubernetes_namespace string

Matches all Kubernetes service accounts in the provided namespace, unless a more specific kubernetes_service_account scope already matched.

getKubernetesServiceAccount

Matches a single Kubernetes service account, e.g.

'my-namespace:my-service-account'. kubernetes_service_account scope is always more specific than kubernetes_namespace scope for the same namespace.

Returns
TypeDescription
string

hasKubernetesServiceAccount

setKubernetesServiceAccount

Matches a single Kubernetes service account, e.g.

'my-namespace:my-service-account'. kubernetes_service_account scope is always more specific than kubernetes_namespace scope for the same namespace.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKubernetesNamespace

Matches all Kubernetes service accounts in the provided namespace, unless a more specific kubernetes_service_account scope already matched.

Returns
TypeDescription
string

hasKubernetesNamespace

setKubernetesNamespace

Matches all Kubernetes service accounts in the provided namespace, unless a more specific kubernetes_service_account scope already matched.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getScope

Returns
TypeDescription
string