Class: Google::Apis::AlloydbV1::ConnectionInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::ConnectionInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/representations.rb
Overview
ConnectionInfo singleton resource. https://google.aip.dev/156
Instance Attribute Summary collapse
-
#instance_uid ⇒ String
Output only.
-
#ip_address ⇒ String
Output only.
-
#name ⇒ String
The name of the ConnectionInfo singleton resource, e.g.: projects/
project
/ locations/location
/clusters//instances//connectionInfo This field currently has no semantic meaning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectionInfo
constructor
A new instance of ConnectionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectionInfo
Returns a new instance of ConnectionInfo.
597 598 599 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 597 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_uid ⇒ String
Output only. The unique ID of the Instance.
Corresponds to the JSON property instanceUid
581 582 583 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 581 def instance_uid @instance_uid end |
#ip_address ⇒ String
Output only. The private network IP address for the Instance. This is the
default IP for the instance and is always created (even if enable_public_ip is
set). This is the connection endpoint for an end-user application.
Corresponds to the JSON property ipAddress
588 589 590 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 588 def ip_address @ip_address end |
#name ⇒ String
The name of the ConnectionInfo singleton resource, e.g.: projects/project
/
locations/location
/clusters//instances//connectionInfo This field
currently has no semantic meaning.
Corresponds to the JSON property name
595 596 597 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 595 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
602 603 604 605 606 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 602 def update!(**args) @instance_uid = args[:instance_uid] if args.key?(:instance_uid) @ip_address = args[:ip_address] if args.key?(:ip_address) @name = args[:name] if args.key?(:name) end |