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
Output only.
-
#ports ⇒ Array<Fixnum>
Output only.
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.
611 612 613 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 611 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
Output only. An external IP address.
Corresponds to the JSON property ipAddress
604 605 606 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 604 def ip_address @ip_address end |
#ports ⇒ Array<Fixnum>
Output only. Ports.
Corresponds to the JSON property ports
609 610 611 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 609 def ports @ports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
616 617 618 619 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 616 def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @ports = args[:ports] if args.key?(:ports) end |