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 spec like pickled object and package requirements.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec

Returns a new instance of GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec.



24428
24429
24430
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24428

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)


24410
24411
24412
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24410

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)


24415
24416
24417
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24415

def pickle_object_gcs_uri
  @pickle_object_gcs_uri
end

#python_versionString

Optional. The Python version. Currently support 3.8, 3.9, 3.10, 3.11. If not specified, default value is 3.10. Corresponds to the JSON property pythonVersion

Returns:

  • (String)


24421
24422
24423
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24421

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)


24426
24427
24428
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24426

def requirements_gcs_uri
  @requirements_gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24433
24434
24435
24436
24437
24438
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24433

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