Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress
- 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
-
#ip_address ⇒ String
Output only.
-
#name ⇒ String
Required.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1NatAddress
constructor
A new instance of GoogleCloudApigeeV1NatAddress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1NatAddress
Returns a new instance of GoogleCloudApigeeV1NatAddress.
6134 6135 6136 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6134 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
Output only. The static IPV4 address.
Corresponds to the JSON property ipAddress
6122 6123 6124 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6122 def ip_address @ip_address end |
#name ⇒ String
Required. Resource ID of the NAT address.
Corresponds to the JSON property name
6127 6128 6129 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6127 def name @name end |
#state ⇒ String
Output only. State of the nat address.
Corresponds to the JSON property state
6132 6133 6134 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6132 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6139 6140 6141 6142 6143 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6139 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 |