Cloud Firestore V1 Client - Class ResourceIdentity (1.50.0)

Reference documentation and code samples for the Cloud Firestore V1 Client class ResourceIdentity.

Describes a Resource Identity principal.

Generated from protobuf message google.firestore.admin.v1.UserCreds.ResourceIdentity

Namespace

Google \ Cloud \ Firestore \ Admin \ V1 \ UserCreds

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ principal string

Output only. Principal identifier string. See: https://cloud.google.com/iam/docs/principal-identifiers

getPrincipal

Output only. Principal identifier string.

See: https://cloud.google.com/iam/docs/principal-identifiers

Returns
Type Description
string

setPrincipal

Output only. Principal identifier string.

See: https://cloud.google.com/iam/docs/principal-identifiers

Parameter
Name Description
var string
Returns
Type Description
$this