Google Cloud Binary Authorization V1 Client - Class CreateAttestorRequest (0.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class CreateAttestorRequest.
Request message for BinauthzManagementService.CreateAttestor.
Generated from protobuf message google.cloud.binaryauthorization.v1.CreateAttestorRequest
Namespace
Google \ Cloud \ BinaryAuthorization \ V1Methods
__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\V1\Attestor
Required. The initial attestor value. The service will overwrite the attestor name field with the resource name, in the format |
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\V1\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\V1\Attestor
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent of this attestor. Please see Google\Cloud\BinaryAuthorization\V1\BinauthzManagementServiceV1Client::projectName() for help formatting this field. |
attestorId |
string
Required. The attestors ID. |
attestor |
Google\Cloud\BinaryAuthorization\V1\Attestor
Required. The initial attestor value. The service will
overwrite the attestor name field with the resource name,
in the format |
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\BinaryAuthorization\V1\CreateAttestorRequest |
|