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 \ CheckResultMethods
__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_namespace |
string
Matches all Kubernetes service accounts in the provided namespace, unless a more specific |
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 |