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

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
Name Description
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
Type Description
string

setParent

Required. The parent of this attestor.

Parameter
Name Description
var string
Returns
Type Description
$this

getAttestorId

Required. The attestors ID.

Returns
Type Description
string

setAttestorId

Required. The attestors ID.

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Cloud\BinaryAuthorization\V1beta1\Attestor
Returns
Type Description
$this