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.



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

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


2906
2907
2908
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2906

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)


2917
2918
2919
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2917

def network
  @network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2924
2925
2926
2927
# File 'lib/google/apis/notebooks_v1/classes.rb', line 2924

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