Class: Google::Apis::VmwareengineV1::VmwareEngineNetwork

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

VMware Engine network resource that provides connectivity for VMware Engine private clouds.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareEngineNetwork

Returns a new instance of VmwareEngineNetwork.



3285
3286
3287
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3285

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)


3236
3237
3238
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3236

def create_time
  @create_time
end

#descriptionString

User-provided description for this VMware Engine network. Corresponds to the JSON property description

Returns:

  • (String)


3241
3242
3243
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3241

def description
  @description
end

#etagString

Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request. Corresponds to the JSON property etag

Returns:

  • (String)


3248
3249
3250
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3248

def etag
  @etag
end

#nameString

Output only. Identifier. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https:// cloud.google.com/apis/design/resource_names. For example: projects/my-project/ locations/global/vmwareEngineNetworks/my-network Corresponds to the JSON property name

Returns:

  • (String)


3256
3257
3258
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3256

def name
  @name
end

#stateString

Output only. State of the VMware Engine network. Corresponds to the JSON property state

Returns:

  • (String)


3261
3262
3263
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3261

def state
  @state
end

#typeString

Required. VMware Engine network type. Corresponds to the JSON property type

Returns:

  • (String)


3266
3267
3268
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3266

def type
  @type
end

#uidString

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

Returns:

  • (String)


3271
3272
3273
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3271

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


3276
3277
3278
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3276

def update_time
  @update_time
end

#vpc_networksArray<Google::Apis::VmwareengineV1::VpcNetwork>

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services. Corresponds to the JSON property vpcNetworks



3283
3284
3285
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3283

def vpc_networks
  @vpc_networks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3290

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @etag = args[:etag] if args.key?(:etag)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @type = args[:type] if args.key?(:type)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
  @vpc_networks = args[:vpc_networks] if args.key?(:vpc_networks)
end