Class: Google::Apis::ServicenetworkingV1beta::CloudSqlConfig
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1beta::CloudSqlConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicenetworking_v1beta/classes.rb,
lib/google/apis/servicenetworking_v1beta/representations.rb,
lib/google/apis/servicenetworking_v1beta/representations.rb more...
Overview
Cloud SQL configuration.
Instance Attribute Summary collapse
-
#service ⇒ String
Peering service used for peering with the Cloud SQL project.
-
#umbrella_network ⇒ String
The name of the umbrella network in the Cloud SQL umbrella project.
-
#umbrella_project ⇒ Fixnum
The project number of the Cloud SQL umbrella project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudSqlConfig
constructor
A new instance of CloudSqlConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudSqlConfig
Returns a new instance of CloudSqlConfig.
750 751 752 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 750 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service ⇒ String
Peering service used for peering with the Cloud SQL project.
Corresponds to the JSON property service
738 739 740 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 738 def service @service end |
#umbrella_network ⇒ String
The name of the umbrella network in the Cloud SQL umbrella project.
Corresponds to the JSON property umbrellaNetwork
743 744 745 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 743 def umbrella_network @umbrella_network end |
#umbrella_project ⇒ Fixnum
The project number of the Cloud SQL umbrella project.
Corresponds to the JSON property umbrellaProject
748 749 750 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 748 def umbrella_project @umbrella_project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
755 756 757 758 759 |
# File 'lib/google/apis/servicenetworking_v1beta/classes.rb', line 755 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 |