Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetVersion

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

Overview

Describes the dataset version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DatasetVersion

Returns a new instance of GoogleCloudAiplatformV1beta1DatasetVersion.



5053
5054
5055
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5053

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)


5013
5014
5015
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5013

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)


5018
5019
5020
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5018

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)


5024
5025
5026
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5024

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)


5030
5031
5032
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5030

def etag
  @etag
end

#metadataObject

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

Returns:

  • (Object)


5035
5036
5037
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5035

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)


5041
5042
5043
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5041

def model_reference
  @model_reference
end

#nameString

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

Returns:

  • (String)


5046
5047
5048
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5046

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


5051
5052
5053
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5051

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5058

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