Google Cloud Storage Insights V1 Client - Class Identity (1.2.0)

Reference documentation and code samples for the Google Cloud Storage Insights V1 Client class Identity.

Identity lets the user provide the type of identity to use, and outputs the identity string that can be used for IAM policy changes.

Generated from protobuf message google.cloud.storageinsights.v1.Identity

Namespace

Google \ Cloud \ StorageInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Name of the identity.

↳ type int

Type of identity to use for the datasetConfig.

getName

Output only. Name of the identity.

Returns
Type Description
string

setName

Output only. Name of the identity.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

Type of identity to use for the datasetConfig.

Returns
Type Description
int

setType

Type of identity to use for the datasetConfig.

Parameter
Name Description
var int
Returns
Type Description
$this