Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscAutomationConfig

Inherits:
Object
  • Object
show all
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

PSC config that is used to automatically create forwarding rule via ServiceConnectionMap.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PscAutomationConfig

Returns a new instance of GoogleCloudAiplatformV1beta1PscAutomationConfig.



22315
22316
22317
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22315

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

Instance Attribute Details

#networkString

Required. The full name of the Google Compute Engine network. Format: projects/ project/global/networks/network`. Whereprojectis a project number, as in '12345', andnetworkis network name. Corresponds to the JSON propertynetwork`

Returns:

  • (String)


22308
22309
22310
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22308

def network
  @network
end

#project_idString

Required. Project id used to create forwarding rule. Corresponds to the JSON property projectId

Returns:

  • (String)


22313
22314
22315
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22313

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22320
22321
22322
22323
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22320

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