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.



6554
6555
6556
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6554

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)


6500
6501
6502
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6500

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)


6505
6506
6507
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6505

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)


6511
6512
6513
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6511

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)


6517
6518
6519
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6517

def etag
  @etag
end

#metadataObject

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

Returns:

  • (Object)


6522
6523
6524
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6522

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)


6528
6529
6530
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6528

def model_reference
  @model_reference
end

#nameString

Output only. Identifier. The resource name of the DatasetVersion. Format: projects/project/locations/location/datasets/dataset/datasetVersions/ dataset_version` Corresponds to the JSON propertyname`

Returns:

  • (String)


6535
6536
6537
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6535

def name
  @name
end

#satisfies_pziBoolean Also known as: satisfies_pzi?

Output only. Reserved for future use. Corresponds to the JSON property satisfiesPzi

Returns:

  • (Boolean)


6540
6541
6542
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6540

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Output only. Reserved for future use. Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


6546
6547
6548
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6546

def satisfies_pzs
  @satisfies_pzs
end

#update_timeString

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

Returns:

  • (String)


6552
6553
6554
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6552

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6559

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)
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
  @update_time = args[:update_time] if args.key?(:update_time)
end