Compute V1 Client - Class WorkloadIdentityConfig (2.19.0)

Reference documentation and code samples for the Compute V1 Client class WorkloadIdentityConfig.

Generated from protobuf message google.cloud.compute.v1.WorkloadIdentityConfig

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ identity string
↳ identity_certificate_enabled bool
↳ identity_type string

Check the IdentityType enum for the list of possible values.

getIdentity

Generated from protobuf field optional string identity = 401109182;

Returns
Type Description
string

hasIdentity

clearIdentity

setIdentity

Generated from protobuf field optional string identity = 401109182;

Parameter
Name Description
var string
Returns
Type Description
$this

getIdentityCertificateEnabled

Generated from protobuf field optional bool identity_certificate_enabled = 342892440;

Returns
Type Description
bool

hasIdentityCertificateEnabled

clearIdentityCertificateEnabled

setIdentityCertificateEnabled

Generated from protobuf field optional bool identity_certificate_enabled = 342892440;

Parameter
Name Description
var bool
Returns
Type Description
$this

getIdentityType

Check the IdentityType enum for the list of possible values.

Returns
Type Description
string

hasIdentityType

clearIdentityType

setIdentityType

Check the IdentityType enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this