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.



6217
6218
6219
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6217

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)


6163
6164
6165
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6163

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)


6168
6169
6170
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6168

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)


6174
6175
6176
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6174

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)


6180
6181
6182
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6180

def etag
  @etag
end

#metadataObject

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

Returns:

  • (Object)


6185
6186
6187
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6185

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)


6191
6192
6193
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6191

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)


6198
6199
6200
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6198

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)


6203
6204
6205
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6203

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)


6209
6210
6211
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6209

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)


6215
6216
6217
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6215

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6222

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