Class: Google::Apis::NotebooksV1::VertexAiParameters

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

Overview

Parameters used in Vertex AI JobType executions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VertexAiParameters

Returns a new instance of VertexAiParameters.



2932
2933
2934
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2932

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

Instance Attribute Details

#envHash<String,String>

Environment variables. At most 100 environment variables can be specified and unique. Example: GCP_BUCKET=gs://my-bucket/samples/ Corresponds to the JSON property env

Returns:

  • (Hash<String,String>)


2919
2920
2921
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2919

def env
  @env
end

#networkString

The full name of the Compute Engine network to which the Job should be peered. For example, projects/ 12345/global/networks/myVPC. Format is of the form projects/project/global/ networks/network`. Whereprojectis a project number, as in12345, and networkis a network name. Private services access must already be configured for the network. If left unspecified, the job is not peered with any network. Corresponds to the JSON propertynetwork`

Returns:

  • (String)


2930
2931
2932
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2930

def network
  @network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2937
2938
2939
2940
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2937

def update!(**args)
  @env = args[:env] if args.key?(:env)
  @network = args[:network] if args.key?(:network)
end