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

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getKubernetesNamespace

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

Returns
Type Description
string

hasKubernetesNamespace

setKubernetesNamespace

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

Parameter
Name Description
var string
Returns
Type Description
$this

getScope

Returns
Type Description
string

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.