Class: Google::Apis::ConnectorsV1::RegionalSettings

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

Overview

Regional Settings details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionalSettings

Returns a new instance of RegionalSettings.



3253
3254
3255
# File 'lib/google/apis/connectors_v1/classes.rb', line 3253

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

Instance Attribute Details

#nameString

Output only. Resource name of the Connection. Format: projects/project/ locations/location/regionalSettings Corresponds to the JSON property name

Returns:

  • (String)


3246
3247
3248
# File 'lib/google/apis/connectors_v1/classes.rb', line 3246

def name
  @name
end

#network_configGoogle::Apis::ConnectorsV1::NetworkConfig

Regional Network Config. Corresponds to the JSON property networkConfig



3251
3252
3253
# File 'lib/google/apis/connectors_v1/classes.rb', line 3251

def network_config
  @network_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3258
3259
3260
3261
# File 'lib/google/apis/connectors_v1/classes.rb', line 3258

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