Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext

Inherits:
Object
  • Object
show all
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.SetUpDataConnector
  • google.cloud.discoveryengine.v1main.DataConnectorService.StartConnectorRun

Instance Attribute Summary collapse

Instance Method Summary collapse

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_runString

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

Returns:

  • (String)


499
500
501
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 499

def connector_run
  @connector_run
end

#data_connectorString

The full resource name of the DataConnector. Format: projects/*/locations/*/ collections/*/dataConnector. Corresponds to the JSON property dataConnector

Returns:

  • (String)


505
506
507
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 505

def data_connector
  @data_connector
end

#end_timeString

The time when the connector run ended. Corresponds to the JSON property endTime

Returns:

  • (String)


510
511
512
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 510

def end_time
  @end_time
end

#entityString

The entity to sync for the connector run. Corresponds to the JSON property entity

Returns:

  • (String)


515
516
517
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 515

def entity
  @entity
end

#operationString

The operation resource name of the LRO to sync the connector. Corresponds to the JSON property operation

Returns:

  • (String)


520
521
522
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 520

def operation
  @operation
end

#start_timeString

The time when the connector run started. Corresponds to the JSON property startTime

Returns:

  • (String)


525
526
527
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 525

def start_time
  @start_time
end

#sync_typeString

The type of sync run. Can be one of the following: * FULL * INCREMENTAL Corresponds to the JSON property syncType

Returns:

  • (String)


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