Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainIpAddress

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

Overview

Disable validation warnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainIpAddress

Returns a new instance of StorageDatabasecenterPartnerapiV1mainIpAddress.



4956
4957
4958
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4956

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

Instance Attribute Details

#private_ipString

Disable validation warnings Corresponds to the JSON property privateIp

Returns:

  • (String)


4949
4950
4951
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4949

def private_ip
  @private_ip
end

#public_ipString

Disable validation warnings Corresponds to the JSON property publicIp

Returns:

  • (String)


4954
4955
4956
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4954

def public_ip
  @public_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4961
4962
4963
4964
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4961

def update!(**args)
  @private_ip = args[:private_ip] if args.key?(:private_ip)
  @public_ip = args[:public_ip] if args.key?(:public_ip)
end