Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec
- 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
User provided package spec like pickled object and package requirements.
Instance Attribute Summary collapse
-
#dependency_files_gcs_uri ⇒ String
Optional.
-
#pickle_object_gcs_uri ⇒ String
Optional.
-
#python_version ⇒ String
Optional.
-
#requirements_gcs_uri ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec
Returns a new instance of GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec.
23452 23453 23454 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dependency_files_gcs_uri ⇒ String
Optional. The Cloud Storage URI of the dependency files in tar.gz format.
Corresponds to the JSON property dependencyFilesGcsUri
23434 23435 23436 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23434 def dependency_files_gcs_uri @dependency_files_gcs_uri end |
#pickle_object_gcs_uri ⇒ String
Optional. The Cloud Storage URI of the pickled python object.
Corresponds to the JSON property pickleObjectGcsUri
23439 23440 23441 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23439 def pickle_object_gcs_uri @pickle_object_gcs_uri end |
#python_version ⇒ String
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
23445 23446 23447 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23445 def python_version @python_version end |
#requirements_gcs_uri ⇒ String
Optional. The Cloud Storage URI of the requirements.txt
file
Corresponds to the JSON property requirementsGcsUri
23450 23451 23452 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23450 def requirements_gcs_uri @requirements_gcs_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23457 23458 23459 23460 23461 23462 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23457 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 |