Class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainIpAddress
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainIpAddress
- 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
Disable validation warnings
Instance Attribute Summary collapse
-
#private_ip ⇒ String
Disable validation warnings Corresponds to the JSON property
privateIp. -
#public_ip ⇒ String
Disable validation warnings Corresponds to the JSON property
publicIp.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainIpAddress
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainIpAddress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainIpAddress
Returns a new instance of StorageDatabasecenterPartnerapiV1mainIpAddress.
4423 4424 4425 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#private_ip ⇒ String
Disable validation warnings
Corresponds to the JSON property privateIp
4416 4417 4418 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4416 def private_ip @private_ip end |
#public_ip ⇒ String
Disable validation warnings
Corresponds to the JSON property publicIp
4421 4422 4423 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4421 def public_ip @public_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4428 4429 4430 4431 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4428 def update!(**args) @private_ip = args[:private_ip] if args.key?(:private_ip) @public_ip = args[:public_ip] if args.key?(:public_ip) end |