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.



559
560
561
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 559

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)


552
553
554
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 552

def ip_address
  @ip_address
end

#portsArray<Fixnum>

Output only. Ports. Corresponds to the JSON property ports

Returns:

  • (Array<Fixnum>)


557
558
559
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 557

def ports
  @ports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



564
565
566
567
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 564

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