Class: Google::Apis::CertificatemanagerV1::IpConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IpConfig

Returns a new instance of IpConfig.



606
607
608
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 606

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

Instance Attribute Details

#ip_addressString

Output only. An external IP address. Corresponds to the JSON property ipAddress

Returns:

  • (String)


599
600
601
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 599

def ip_address
  @ip_address
end

#portsArray<Fixnum>

Output only. Ports. Corresponds to the JSON property ports

Returns:

  • (Array<Fixnum>)


604
605
606
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 604

def ports
  @ports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



611
612
613
614
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 611

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