Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ImportEntriesMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb

Overview

Metadata message for long-running operation returned by the ImportEntries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1ImportEntriesMetadata

Returns a new instance of GoogleCloudDatacatalogV1ImportEntriesMetadata.



234
235
236
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 234

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#errorsArray<Google::Apis::DatacatalogV1beta1::Status>

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered. Corresponds to the JSON property errors



227
228
229
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 227

def errors
  @errors
end

#stateString

State of the import operation. Corresponds to the JSON property state

Returns:

  • (String)


232
233
234
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 232

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



239
240
241
242
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 239

def update!(**args)
  @errors = args[:errors] if args.key?(:errors)
  @state = args[:state] if args.key?(:state)
end