Class: Google::Apis::VmwareengineV1::ExternalAddress

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExternalAddress

Returns a new instance of ExternalAddress.



1096
1097
1098
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1096

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

Instance Attribute Details

#create_timeString

Output only. Creation time of this resource. Corresponds to the JSON property createTime

Returns:

  • (String)


1056
1057
1058
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1056

def create_time
  @create_time
end

#descriptionString

User-provided description for this resource. Corresponds to the JSON property description

Returns:

  • (String)


1061
1062
1063
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1061

def description
  @description
end

#external_ipString

Output only. The external IP address of a workload VM. Corresponds to the JSON property externalIp

Returns:

  • (String)


1066
1067
1068
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1066

def external_ip
  @external_ip
end

#internal_ipString

The internal IP address of a workload VM. Corresponds to the JSON property internalIp

Returns:

  • (String)


1071
1072
1073
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1071

def internal_ip
  @internal_ip
end

#nameString

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

Returns:

  • (String)


1079
1080
1081
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1079

def name
  @name
end

#stateString

Output only. The state of the resource. Corresponds to the JSON property state

Returns:

  • (String)


1084
1085
1086
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1084

def state
  @state
end

#uidString

Output only. System-generated unique identifier for the resource. Corresponds to the JSON property uid

Returns:

  • (String)


1089
1090
1091
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1089

def uid
  @uid
end

#update_timeString

Output only. Last update time of this resource. Corresponds to the JSON property updateTime

Returns:

  • (String)


1094
1095
1096
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1094

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1101

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