Google Cloud Vmware Engine V1 Client - Class Principal (0.5.5)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class Principal.

Users/Service accounts which have access for DNS binding on the intranet VPC corresponding to the consumer project.

Generated from protobuf message google.cloud.vmwareengine.v1.Principal

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ user string

The user who needs to be granted permission.

↳ service_account string

The service account which needs to be granted the permission.

getUser

The user who needs to be granted permission.

Returns
Type Description
string

hasUser

setUser

The user who needs to be granted permission.

Parameter
Name Description
var string
Returns
Type Description
$this

getServiceAccount

The service account which needs to be granted the permission.

Returns
Type Description
string

hasServiceAccount

setServiceAccount

The service account which needs to be granted the permission.

Parameter
Name Description
var string
Returns
Type Description
$this

getPrincipal

Returns
Type Description
string