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.



4290
4291
4292
# File 'lib/google/apis/connectors_v1/classes.rb', line 4290

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

Instance Attribute Details

#encryption_configGoogle::Apis::ConnectorsV1::EncryptionConfig

Regional encryption config for CMEK details. Corresponds to the JSON property encryptionConfig



4271
4272
4273
# File 'lib/google/apis/connectors_v1/classes.rb', line 4271

def encryption_config
  @encryption_config
end

#nameString

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

Returns:

  • (String)


4277
4278
4279
# File 'lib/google/apis/connectors_v1/classes.rb', line 4277

def name
  @name
end

#network_configGoogle::Apis::ConnectorsV1::NetworkConfig

Regional Network Config. Corresponds to the JSON property networkConfig



4282
4283
4284
# File 'lib/google/apis/connectors_v1/classes.rb', line 4282

def network_config
  @network_config
end

#provisionedBoolean Also known as: provisioned?

Output only. Specifies whether the region is provisioned. Corresponds to the JSON property provisioned

Returns:

  • (Boolean)


4287
4288
4289
# File 'lib/google/apis/connectors_v1/classes.rb', line 4287

def provisioned
  @provisioned
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4295
4296
4297
4298
4299
4300
# File 'lib/google/apis/connectors_v1/classes.rb', line 4295

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