Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Overview

Apigee NAT(network address translation) address. A NAT address is a static external IP address used for Internet egress traffic.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1NatAddress

Returns a new instance of GoogleCloudApigeeV1NatAddress.



6699
6700
6701
# File 'lib/google/apis/apigee_v1/classes.rb', line 6699

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

Instance Attribute Details

#ip_addressString

Output only. The static IPV4 address. Corresponds to the JSON property ipAddress

Returns:

  • (String)


6687
6688
6689
# File 'lib/google/apis/apigee_v1/classes.rb', line 6687

def ip_address
  @ip_address
end

#nameString

Required. Resource ID of the NAT address. Corresponds to the JSON property name

Returns:

  • (String)


6692
6693
6694
# File 'lib/google/apis/apigee_v1/classes.rb', line 6692

def name
  @name
end

#stateString

Output only. State of the nat address. Corresponds to the JSON property state

Returns:

  • (String)


6697
6698
6699
# File 'lib/google/apis/apigee_v1/classes.rb', line 6697

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6704
6705
6706
6707
6708
# File 'lib/google/apis/apigee_v1/classes.rb', line 6704

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