class Google::Apis::NetworkmanagementV1beta1::CloudSqlInstanceInfo
For display only. Metadata associated with a Cloud SQL instance.
Attributes
display_name[RW]
Name of a Cloud SQL instance. Corresponds to the JSON property `displayName` @return [String]
external_ip[RW]
External IP address of a Cloud SQL instance. Corresponds to the JSON property `externalIp` @return [String]
internal_ip[RW]
Internal IP address of a Cloud SQL instance. Corresponds to the JSON property `internalIp` @return [String]
network_uri[RW]
URI of a Cloud SQL instance network or empty string if the instance does not have one. Corresponds to the JSON property `networkUri` @return [String]
region[RW]
Region in which the Cloud SQL instance is running. Corresponds to the JSON property `region` @return [String]
uri[RW]
URI of a Cloud SQL instance. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 240 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 245 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @external_ip = args[:external_ip] if args.key?(:external_ip) @internal_ip = args[:internal_ip] if args.key?(:internal_ip) @network_uri = args[:network_uri] if args.key?(:network_uri) @region = args[:region] if args.key?(:region) @uri = args[:uri] if args.key?(:uri) end