Class: Google::Apis::ServicenetworkingV1::CloudSqlConfig

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

Overview

Cloud SQL configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudSqlConfig

Returns a new instance of CloudSqlConfig.



968
969
970
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 968

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

Instance Attribute Details

#serviceString

Peering service used for peering with the Cloud SQL project. Corresponds to the JSON property service

Returns:

  • (String)


956
957
958
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 956

def service
  @service
end

#umbrella_networkString

The name of the umbrella network in the Cloud SQL umbrella project. Corresponds to the JSON property umbrellaNetwork

Returns:

  • (String)


961
962
963
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 961

def umbrella_network
  @umbrella_network
end

#umbrella_projectFixnum

The project number of the Cloud SQL umbrella project. Corresponds to the JSON property umbrellaProject

Returns:

  • (Fixnum)


966
967
968
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 966

def umbrella_project
  @umbrella_project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



973
974
975
976
977
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 973

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