# Binary Authorization V1 API - Class Google::Cloud::BinaryAuthorization::V1::AdmissionWhitelistPattern (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.1 0.1.2 Reference documentation and code samples for the Binary Authorization V1 API class Google::Cloud::BinaryAuthorization::V1::AdmissionWhitelistPattern.

An [admission allowlist pattern](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-binary_authorization-v1/latest/Google-Cloud-BinaryAuthorization-V1-AdmissionWhitelistPattern "Google::Cloud::BinaryAuthorization::V1::AdmissionWhitelistPattern (class)") exempts images
from checks by [admission rules](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-binary_authorization-v1/latest/Google-Cloud-BinaryAuthorization-V1-AdmissionRule "Google::Cloud::BinaryAuthorization::V1::AdmissionRule (class)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name_pattern

    def name_pattern() -> ::String

**Returns**

- (::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.

### #name_pattern=

    def name_pattern=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.