Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class ExternalDataSources.
External data sources for an execution.
Generated from protobuf message google.cloud.workloadmanager.v1.Execution.ExternalDataSources
Namespace
Google \ Cloud \ WorkloadManager \ V1 \ ExecutionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data. |
↳ uri |
string
Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}. |
↳ type |
int
Required. Type of external data source. |
↳ asset_type |
string
Required. The asset type of the external data source. This can be a supported Cloud Asset Inventory asset type (see https://cloud.google.com/asset-inventory/docs/supported-asset-types) to override the default asset type, or it can be a custom type defined by the user. |
getName
Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUri
Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUri
Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Required. Type of external data source.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Type. |
setType
Required. Type of external data source.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Type. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAssetType
Required. The asset type of the external data source.
This can be a supported Cloud Asset Inventory asset type (see https://cloud.google.com/asset-inventory/docs/supported-asset-types) to override the default asset type, or it can be a custom type defined by the user.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAssetType
Required. The asset type of the external data source.
This can be a supported Cloud Asset Inventory asset type (see https://cloud.google.com/asset-inventory/docs/supported-asset-types) to override the default asset type, or it can be a custom type defined by the user.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|