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.



6059
6060
6061
# File 'lib/google/apis/connectors_v1/classes.rb', line 6059

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



6040
6041
6042
# File 'lib/google/apis/connectors_v1/classes.rb', line 6040

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)


6046
6047
6048
# File 'lib/google/apis/connectors_v1/classes.rb', line 6046

def name
  @name
end

#network_configGoogle::Apis::ConnectorsV1::NetworkConfig

Regional Network Config. Corresponds to the JSON property networkConfig



6051
6052
6053
# File 'lib/google/apis/connectors_v1/classes.rb', line 6051

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)


6056
6057
6058
# File 'lib/google/apis/connectors_v1/classes.rb', line 6056

def provisioned
  @provisioned
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6064
6065
6066
6067
6068
6069
# File 'lib/google/apis/connectors_v1/classes.rb', line 6064

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