Class ProjectsResource.LocationsResource.CollectionsResource.UpdateDataConnectorRequest
Updates a DataConnector.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.UpdateDataConnectorRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDataConnector>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDataConnector>, IClientServiceRequest
Constructors
UpdateDataConnectorRequest(IClientService, GoogleCloudDiscoveryengineV1alphaDataConnector, string)
Constructs a new UpdateDataConnector request.
Declaration
public UpdateDataConnectorRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaDataConnector body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDiscoveryengineV1alphaDataConnector | 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 - destination_configs -
blocking_reasons 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()