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.



442
443
444
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 442

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

Instance Attribute Details

#ip_addressString

An external IP address. Corresponds to the JSON property ipAddress

Returns:

  • (String)


435
436
437
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 435

def ip_address
  @ip_address
end

#portsArray<Fixnum>

Ports. Corresponds to the JSON property ports

Returns:

  • (Array<Fixnum>)


440
441
442
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 440

def ports
  @ports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



447
448
449
450
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 447

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