Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec

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

User-provided package specification, containing pickled object and package requirements.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec

Returns a new instance of GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec.



31213
31214
31215
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31213

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

Instance Attribute Details

#dependency_files_gcs_uriString

Optional. The Cloud Storage URI of the dependency files in tar.gz format. Corresponds to the JSON property dependencyFilesGcsUri

Returns:

  • (String)


31195
31196
31197
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31195

def dependency_files_gcs_uri
  @dependency_files_gcs_uri
end

#pickle_object_gcs_uriString

Optional. The Cloud Storage URI of the pickled python object. Corresponds to the JSON property pickleObjectGcsUri

Returns:

  • (String)


31200
31201
31202
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31200

def pickle_object_gcs_uri
  @pickle_object_gcs_uri
end

#python_versionString

Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12, 3.13, 3.14. If not specified, the default value is 3.10. Corresponds to the JSON property pythonVersion

Returns:

  • (String)


31206
31207
31208
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31206

def python_version
  @python_version
end

#requirements_gcs_uriString

Optional. The Cloud Storage URI of the requirements.txt file Corresponds to the JSON property requirementsGcsUri

Returns:

  • (String)


31211
31212
31213
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31211

def requirements_gcs_uri
  @requirements_gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31218
31219
31220
31221
31222
31223
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31218

def update!(**args)
  @dependency_files_gcs_uri = args[:dependency_files_gcs_uri] if args.key?(:dependency_files_gcs_uri)
  @pickle_object_gcs_uri = args[:pickle_object_gcs_uri] if args.key?(:pickle_object_gcs_uri)
  @python_version = args[:python_version] if args.key?(:python_version)
  @requirements_gcs_uri = args[:requirements_gcs_uri] if args.key?(:requirements_gcs_uri)
end