Google Cloud Binary Authorization V1 Client - Class UpdateAttestorRequest (0.7.0)

Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class UpdateAttestorRequest.

Request message for BinauthzManagementService.UpdateAttestor.

Generated from protobuf message google.cloud.binaryauthorization.v1.UpdateAttestorRequest

Namespace

Google \ Cloud \ BinaryAuthorization \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ attestor Google\Cloud\BinaryAuthorization\V1\Attestor

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

getAttestor

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

Returns
TypeDescription
Google\Cloud\BinaryAuthorization\V1\Attestor|null

hasAttestor

clearAttestor

setAttestor

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

Parameter
NameDescription
var Google\Cloud\BinaryAuthorization\V1\Attestor
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
attestor Google\Cloud\BinaryAuthorization\V1\Attestor

Required. The updated attestor value. The service will overwrite the attestor name field with the resource name in the request URL, in the format projects/*/attestors/*.

Returns
TypeDescription
Google\Cloud\BinaryAuthorization\V1\UpdateAttestorRequest