Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class UpdateDataConnectorRequest.
Request message for DataConnectorService.UpdateDataConnector method.
Generated from protobuf message google.cloud.discoveryengine.v1.UpdateDataConnectorRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_connector |
DataConnector
Required. The DataConnector to update. If the caller does not have permission to update the DataConnector, regardless of whether or not it exists, a |
↳ update_mask |
Google\Protobuf\FieldMask
Indicates which fields in the provided DataConnector to update. Supported field paths include: - |
getDataConnector
Required. The DataConnector to update.
If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataConnector does
not exist, a NOT_FOUND error is returned.
| Returns | |
|---|---|
| Type | Description |
DataConnector|null |
|
hasDataConnector
clearDataConnector
setDataConnector
Required. The DataConnector to update.
If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataConnector does
not exist, a NOT_FOUND error is returned.
| Parameter | |
|---|---|
| Name | Description |
var |
DataConnector
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Indicates which fields in the provided DataConnector to update.
Supported field paths include:
refresh_intervalparamsauto_run_disabledaction_configaction_config.action_paramsaction_config.service_namedestination_configsblocking_reasonssync_modeincremental_sync_disabledincremental_refresh_intervaldata_protection_policyNote: Support for these fields may vary depending on the connector type. For example, not all connectors supportdestination_configs. If an unsupported or unknown field path is provided, the request will return anINVALID_ARGUMENTerror.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Indicates which fields in the provided DataConnector to update.
Supported field paths include:
refresh_intervalparamsauto_run_disabledaction_configaction_config.action_paramsaction_config.service_namedestination_configsblocking_reasonssync_modeincremental_sync_disabledincremental_refresh_intervaldata_protection_policyNote: Support for these fields may vary depending on the connector type. For example, not all connectors supportdestination_configs. If an unsupported or unknown field path is provided, the request will return anINVALID_ARGUMENTerror.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
dataConnector |
DataConnector
Required. The DataConnector to update. If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a If the DataConnector does
not exist, a |
updateMask |
Google\Protobuf\FieldMask
Indicates which fields in the provided DataConnector to update. Supported field paths include:
Note: Support for these fields may vary depending on the connector type.
For example, not all connectors support If an unsupported or unknown field path is provided, the request will
return an |
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest |
|