Generated from protobuf message google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern
Namespace
Google \ Cloud \ BinaryAuthorization \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name_pattern
string
An image name pattern to allowlist, in the form registry/path/to/image. This supports a trailing * wildcard, but this is allowed only in text after the registry/ part. This also supports a trailing ** wildcard which matches subdirectories of a given entry.
getNamePattern
An image name pattern to allowlist, in the form registry/path/to/image.
This supports a trailing * wildcard, but this is allowed only in
text after the registry/ part. This also supports a trailing **
wildcard which matches subdirectories of a given entry.
Returns
Type
Description
string
setNamePattern
An image name pattern to allowlist, in the form registry/path/to/image.
This supports a trailing * wildcard, but this is allowed only in
text after the registry/ part. This also supports a trailing **
wildcard which matches subdirectories of a given entry.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Binary Authorization V1 Client - Class AdmissionWhitelistPattern (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-binary-authorization/latest/V1.AdmissionWhitelistPattern)\n- [1.0.4](/php/docs/reference/cloud-binary-authorization/1.0.4/V1.AdmissionWhitelistPattern)\n- [0.8.7](/php/docs/reference/cloud-binary-authorization/0.8.7/V1.AdmissionWhitelistPattern)\n- [0.7.0](/php/docs/reference/cloud-binary-authorization/0.7.0/V1.AdmissionWhitelistPattern)\n- [0.6.1](/php/docs/reference/cloud-binary-authorization/0.6.1/V1.AdmissionWhitelistPattern)\n- [0.5.13](/php/docs/reference/cloud-binary-authorization/0.5.13/V1.AdmissionWhitelistPattern) \nReference documentation and code samples for the Google Cloud Binary Authorization V1 Client class AdmissionWhitelistPattern.\n\nAn [admission allowlist pattern](/php/docs/reference/cloud-binary-authorization/latest/V1.AdmissionWhitelistPattern) exempts images\nfrom checks by [admission rules](/php/docs/reference/cloud-binary-authorization/latest/V1.AdmissionRule).\n\nGenerated from protobuf message `google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BinaryAuthorization \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getNamePattern\n\nAn image name pattern to allowlist, in the form `registry/path/to/image`.\n\nThis supports a trailing `*` wildcard, but this is allowed only in\ntext after the `registry/` part. This also supports a trailing `**`\nwildcard which matches subdirectories of a given entry.\n\n### setNamePattern\n\nAn image name pattern to allowlist, in the form `registry/path/to/image`.\n\nThis supports a trailing `*` wildcard, but this is allowed only in\ntext after the `registry/` part. This also supports a trailing `**`\nwildcard which matches subdirectories of a given entry."]]