Class: Google::Apis::ComposerV1::NetworkingConfig

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

Overview

Configuration options for networking connections in the Composer 2 environment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkingConfig

Returns a new instance of NetworkingConfig.



1217
1218
1219
# File 'lib/google/apis/composer_v1/classes.rb', line 1217

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

Instance Attribute Details

#connection_typeString

Optional. Indicates the user requested specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. Corresponds to the JSON property connectionType

Returns:

  • (String)


1215
1216
1217
# File 'lib/google/apis/composer_v1/classes.rb', line 1215

def connection_type
  @connection_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1222
1223
1224
# File 'lib/google/apis/composer_v1/classes.rb', line 1222

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