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.



3269
3270
3271
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3269

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>)


3255
3256
3257
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3255

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 in `12345`, andnetwork`is 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)


3267
3268
3269
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3267

def network
  @network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3274
3275
3276
3277
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3274

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