Class: Google::Apis::VmwareengineV1::ExternalAddress
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::ExternalAddress
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmwareengine_v1/classes.rb,
lib/google/apis/vmwareengine_v1/representations.rb,
lib/google/apis/vmwareengine_v1/representations.rb
Overview
Represents an allocated external IP address and its corresponding internal IP address in a private cloud.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
User-provided description for this resource.
-
#external_ip ⇒ String
Output only.
-
#internal_ip ⇒ String
The internal IP address of a workload VM.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExternalAddress
constructor
A new instance of ExternalAddress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExternalAddress
Returns a new instance of ExternalAddress.
1066 1067 1068 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1066 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Creation time of this resource.
Corresponds to the JSON property createTime
1026 1027 1028 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1026 def create_time @create_time end |
#description ⇒ String
User-provided description for this resource.
Corresponds to the JSON property description
1031 1032 1033 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1031 def description @description end |
#external_ip ⇒ String
Output only. The external IP address of a workload VM.
Corresponds to the JSON property externalIp
1036 1037 1038 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1036 def external_ip @external_ip end |
#internal_ip ⇒ String
The internal IP address of a workload VM.
Corresponds to the JSON property internalIp
1041 1042 1043 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1041 def internal_ip @internal_ip end |
#name ⇒ String
Output only. Identifier. The resource name of this external IP address.
Resource names are schemeless URIs that follow the conventions in https://
cloud.google.com/apis/design/resource_names. For example: projects/my-project/
locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address
Corresponds to the JSON property name
1049 1050 1051 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1049 def name @name end |
#state ⇒ String
Output only. The state of the resource.
Corresponds to the JSON property state
1054 1055 1056 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1054 def state @state end |
#uid ⇒ String
Output only. System-generated unique identifier for the resource.
Corresponds to the JSON property uid
1059 1060 1061 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1059 def uid @uid end |
#update_time ⇒ String
Output only. Last update time of this resource.
Corresponds to the JSON property updateTime
1064 1065 1066 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1064 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1071 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @external_ip = args[:external_ip] if args.key?(:external_ip) @internal_ip = args[:internal_ip] if args.key?(:internal_ip) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |