Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class GceInstanceFilter.
A filter for matching Compute Engine instances.
Generated from protobuf message google.cloud.workloadmanager.v1.GceInstanceFilter
Namespace
Google \ Cloud \ WorkloadManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ service_accounts |
array
If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation. |
getServiceAccounts
If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setServiceAccounts
If non-empty, only Compute Engine instances associated with at least one of the provided service accounts will be included in the evaluation.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|