Class ProjectsResource.LocationsResource.CollectionsResource.UpdateDataConnectorRequest
Updates a DataConnector.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.UpdateDataConnectorRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1DataConnector>, IClientServiceRequest<GoogleCloudDiscoveryengineV1DataConnector>, IClientServiceRequest
Constructors
UpdateDataConnectorRequest(IClientService, GoogleCloudDiscoveryengineV1DataConnector, string)
Constructs a new UpdateDataConnector request.
Declaration
public UpdateDataConnectorRequest(IClientService service, GoogleCloudDiscoveryengineV1DataConnector body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDiscoveryengineV1DataConnector | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Output only. The full resource name of the Data Connector. Format:
projects/*/locations/*/collections/*/dataConnector.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UpdateMask
Indicates which fields in the provided DataConnector to update. Supported field paths include: -
refresh_interval - params - auto_run_disabled - action_config - action_config.action_params -
action_config.service_name - destination_configs - blocking_reasons - sync_mode -
incremental_sync_disabled - incremental_refresh_interval Note: Support for these fields may vary
depending on the connector type. For example, not all connectors support destination_configs.
If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT
error.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes UpdateDataConnector parameter list.
Declaration
protected override void InitParameters()