Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class ServiceAccount.
Service account email and scopes
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.ServiceAccount
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ email |
string
Optional. Service account email |
↳ scopes |
string[]
Optional. Service account scopes |
getEmail
Optional. Service account email
| Returns | |
|---|---|
| Type | Description |
string |
|
setEmail
Optional. Service account email
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getScopes
Optional. Service account scopes
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setScopes
Optional. Service account scopes
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|