Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion

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

Overview

Describes the dataset version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1DatasetVersion

Returns a new instance of GoogleCloudAiplatformV1DatasetVersion.



4338
4339
4340
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4338

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

Instance Attribute Details

#big_query_dataset_nameString

Output only. Name of the associated BigQuery dataset. Corresponds to the JSON property bigQueryDatasetName

Returns:

  • (String)


4298
4299
4300
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4298

def big_query_dataset_name
  @big_query_dataset_name
end

#create_timeString

Output only. Timestamp when this DatasetVersion was created. Corresponds to the JSON property createTime

Returns:

  • (String)


4303
4304
4305
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4303

def create_time
  @create_time
end

#display_nameString

The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


4309
4310
4311
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4309

def display_name
  @display_name
end

#etagString

Used to perform consistent read-modify-write updates. If not set, a blind " overwrite" update happens. Corresponds to the JSON property etag

Returns:

  • (String)


4315
4316
4317
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4315

def etag
  @etag
end

#metadataObject

Required. Output only. Additional information about the DatasetVersion. Corresponds to the JSON property metadata

Returns:

  • (Object)


4320
4321
4322
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4320

def 
  @metadata
end

#model_referenceString

Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions. Corresponds to the JSON property modelReference

Returns:

  • (String)


4326
4327
4328
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4326

def model_reference
  @model_reference
end

#nameString

Output only. The resource name of the DatasetVersion. Corresponds to the JSON property name

Returns:

  • (String)


4331
4332
4333
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4331

def name
  @name
end

#update_timeString

Output only. Timestamp when this DatasetVersion was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


4336
4337
4338
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4336

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4343

def update!(**args)
  @big_query_dataset_name = args[:big_query_dataset_name] if args.key?(:big_query_dataset_name)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @etag = args[:etag] if args.key?(:etag)
  @metadata = args[:metadata] if args.key?(:metadata)
  @model_reference = args[:model_reference] if args.key?(:model_reference)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end