Class: Google::Apis::CertificatemanagerV1::IpConfig
- Inherits:
-
Object
- Object
- Google::Apis::CertificatemanagerV1::IpConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/certificatemanager_v1/classes.rb,
lib/google/apis/certificatemanager_v1/representations.rb,
lib/google/apis/certificatemanager_v1/representations.rb
Overview
Defines IP configuration where this Certificate Map is serving.
Instance Attribute Summary collapse
-
#ip_address ⇒ String
An external IP address.
-
#ports ⇒ Array<Fixnum>
Ports.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IpConfig
constructor
A new instance of IpConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IpConfig
Returns a new instance of IpConfig.
441 442 443 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 441 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
An external IP address.
Corresponds to the JSON property ipAddress
434 435 436 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 434 def ip_address @ip_address end |
#ports ⇒ Array<Fixnum>
Ports.
Corresponds to the JSON property ports
439 440 441 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 439 def ports @ports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
446 447 448 449 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 446 def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @ports = args[:ports] if args.key?(:ports) end |