Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
The error payload that is populated on LRO sync APIs, including the following:
google.cloud.discoveryengine.v1main.DataConnectorService.SetUpDataConnectorgoogle.cloud.discoveryengine.v1main.DataConnectorService.StartConnectorRun
Instance Attribute Summary collapse
-
#connector_run ⇒ String
The full resource name of the Connector Run.
-
#data_connector ⇒ String
The full resource name of the DataConnector.
-
#end_time ⇒ String
The time when the connector run ended.
-
#entity ⇒ String
The entity to sync for the connector run.
-
#operation ⇒ String
The operation resource name of the LRO to sync the connector.
-
#start_time ⇒ String
The time when the connector run started.
-
#sync_type ⇒ String
The type of sync run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext
constructor
A new instance of GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext
Returns a new instance of GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext.
532 533 534 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 532 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connector_run ⇒ String
The full resource name of the Connector Run. Format: projects/*/locations/*/
collections/*/dataConnector/connectorRuns/*. The connector_run_id is system-
generated.
Corresponds to the JSON property connectorRun
499 500 501 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 499 def connector_run @connector_run end |
#data_connector ⇒ String
The full resource name of the DataConnector. Format: projects/*/locations/*/
collections/*/dataConnector.
Corresponds to the JSON property dataConnector
505 506 507 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 505 def data_connector @data_connector end |
#end_time ⇒ String
The time when the connector run ended.
Corresponds to the JSON property endTime
510 511 512 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 510 def end_time @end_time end |
#entity ⇒ String
The entity to sync for the connector run.
Corresponds to the JSON property entity
515 516 517 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 515 def entity @entity end |
#operation ⇒ String
The operation resource name of the LRO to sync the connector.
Corresponds to the JSON property operation
520 521 522 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 520 def operation @operation end |
#start_time ⇒ String
The time when the connector run started.
Corresponds to the JSON property startTime
525 526 527 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 525 def start_time @start_time end |
#sync_type ⇒ String
The type of sync run. Can be one of the following: * FULL * INCREMENTAL
Corresponds to the JSON property syncType
530 531 532 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 530 def sync_type @sync_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
537 538 539 540 541 542 543 544 545 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 537 def update!(**args) @connector_run = args[:connector_run] if args.key?(:connector_run) @data_connector = args[:data_connector] if args.key?(:data_connector) @end_time = args[:end_time] if args.key?(:end_time) @entity = args[:entity] if args.key?(:entity) @operation = args[:operation] if args.key?(:operation) @start_time = args[:start_time] if args.key?(:start_time) @sync_type = args[:sync_type] if args.key?(:sync_type) end |