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

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

An attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.

Generated from protobuf message google.cloud.binaryauthorization.v1beta1.Attestor

Namespace

Google \ Cloud \ BinaryAuthorization \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name, in the format: projects/*/attestors/*. This field may not be updated.

↳ description string

Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.

↳ user_owned_drydock_note Google\Cloud\BinaryAuthorization\V1beta1\UserOwnedDrydockNote

A Drydock ATTESTATION_AUTHORITY Note, created by the user.

↳ update_time Google\Protobuf\Timestamp

Output only. Time when the attestor was last updated.

getName

Required. The resource name, in the format: projects/*/attestors/*. This field may not be updated.

Returns
TypeDescription
string

setName

Required. The resource name, in the format: projects/*/attestors/*. This field may not be updated.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Optional. A descriptive comment. This field may be updated.

The field may be displayed in chooser dialogs.

Returns
TypeDescription
string

setDescription

Optional. A descriptive comment. This field may be updated.

The field may be displayed in chooser dialogs.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUserOwnedDrydockNote

A Drydock ATTESTATION_AUTHORITY Note, created by the user.

Returns
TypeDescription
Google\Cloud\BinaryAuthorization\V1beta1\UserOwnedDrydockNote|null

hasUserOwnedDrydockNote

setUserOwnedDrydockNote

A Drydock ATTESTATION_AUTHORITY Note, created by the user.

Parameter
NameDescription
var Google\Cloud\BinaryAuthorization\V1beta1\UserOwnedDrydockNote
Returns
TypeDescription
$this

getUpdateTime

Output only. Time when the attestor was last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Time when the attestor was last updated.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getAttestorType

Returns
TypeDescription
string