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

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

Request message for BinauthzManagementService.CreateAttestor.

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

Namespace

Google \ Cloud \ BinaryAuthorization \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent of this attestor.

↳ attestor_id string

Required. The attestors ID.

↳ attestor Google\Cloud\BinaryAuthorization\V1beta1\Attestor

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

getParent

Required. The parent of this attestor.

Returns
TypeDescription
string

setParent

Required. The parent of this attestor.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAttestorId

Required. The attestors ID.

Returns
TypeDescription
string

setAttestorId

Required. The attestors ID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAttestor

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

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

hasAttestor

clearAttestor

setAttestor

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

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