Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1NatAddress
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/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
Required.
-
#name ⇒ String
Required.
-
#state ⇒ String
Required.
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.
3975 3976 3977 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3975 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
Required. The static IPV4 address.
Corresponds to the JSON property ipAddress
3963 3964 3965 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3963 def ip_address @ip_address end |
#name ⇒ String
Required. Resource ID of the NAT address.
Corresponds to the JSON property name
3968 3969 3970 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3968 def name @name end |
#state ⇒ String
Required. State of the nat address.
Corresponds to the JSON property state
3973 3974 3975 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3973 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3980 3981 3982 3983 3984 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 3980 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 |