Class: Google::Apis::VmwareengineV1::PrivateConnection
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::PrivateConnection
- 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
Private connection resource that provides connectivity for VMware Engine private clouds.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#name ⇒ String
Output only.
-
#peering_id ⇒ String
Output only.
-
#peering_state ⇒ String
Output only.
-
#routing_mode ⇒ String
Optional.
-
#service_network ⇒ String
Required.
-
#state ⇒ String
Output only.
-
#type ⇒ String
Required.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#vmware_engine_network ⇒ String
Required.
-
#vmware_engine_network_canonical ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateConnection
constructor
A new instance of PrivateConnection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivateConnection
Returns a new instance of PrivateConnection.
3378 3379 3380 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3378 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
3293 3294 3295 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3293 def create_time @create_time end |
#description ⇒ String
Optional. User-provided description for this private connection.
Corresponds to the JSON property description
3298 3299 3300 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3298 def description @description end |
#name ⇒ String
Output only. The resource name of the private connection. 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/
privateConnections/my-connection
Corresponds to the JSON property name
3306 3307 3308 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3306 def name @name end |
#peering_id ⇒ String
Output only. VPC network peering id between given network VPC and
VMwareEngineNetwork.
Corresponds to the JSON property peeringId
3312 3313 3314 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3312 def peering_id @peering_id end |
#peering_state ⇒ String
Output only. Peering state between service network and VMware Engine network.
Corresponds to the JSON property peeringState
3317 3318 3319 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3317 def peering_state @peering_state end |
#routing_mode ⇒ String
Optional. Routing Mode. Default value is set to GLOBAL. For type =
PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other
types only GLOBAL is supported.
Corresponds to the JSON property routingMode
3324 3325 3326 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3324 def routing_mode @routing_mode end |
#service_network ⇒ String
Required. Service network to create private connection. Specify the name in
the following form: projects/project/global/networks/network_id`For type
= PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g.
projects/project-tp/global/networks/servicenetworking. For type =
NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/
project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this
field represent Dell service VPC, e.g. projects/project-tp/global/networks/
dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a
consumer VPC or any other producer VPC to which the VMware Engine Network
needs to be connected, e.g. projects/project/global/networks/vpc.
Corresponds to the JSON propertyserviceNetwork`
3338 3339 3340 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3338 def service_network @service_network end |
#state ⇒ String
Output only. State of the private connection.
Corresponds to the JSON property state
3343 3344 3345 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3343 def state @state end |
#type ⇒ String
Required. Private connection type.
Corresponds to the JSON property type
3348 3349 3350 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3348 def type @type end |
#uid ⇒ String
Output only. System-generated unique identifier for the resource.
Corresponds to the JSON property uid
3353 3354 3355 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3353 def uid @uid end |
#update_time ⇒ String
Output only. Last update time of this resource.
Corresponds to the JSON property updateTime
3358 3359 3360 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3358 def update_time @update_time end |
#vmware_engine_network ⇒ String
Required. The relative resource name of Legacy VMware Engine network. Specify
the name in the following form: projects/project/locations/location/
vmwareEngineNetworks/vmware_engine_network_idwhereproject,location
will be same as specified in private connection resource name and
vmware_engine_network_id will be in the form of location-default e.g.
projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-
default.
Corresponds to the JSON property vmwareEngineNetwork
3369 3370 3371 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3369 def vmware_engine_network @vmware_engine_network end |
#vmware_engine_network_canonical ⇒ String
Output only. The canonical name of the VMware Engine network in the form:
projects/project_number/locations/location/vmwareEngineNetworks/
vmware_engine_network_id`
Corresponds to the JSON propertyvmwareEngineNetworkCanonical`
3376 3377 3378 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3376 def vmware_engine_network_canonical @vmware_engine_network_canonical end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 3383 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @peering_id = args[:peering_id] if args.key?(:peering_id) @peering_state = args[:peering_state] if args.key?(:peering_state) @routing_mode = args[:routing_mode] if args.key?(:routing_mode) @service_network = args[:service_network] if args.key?(:service_network) @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) @vmware_engine_network = args[:vmware_engine_network] if args.key?(:vmware_engine_network) @vmware_engine_network_canonical = args[:vmware_engine_network_canonical] if args.key?(:vmware_engine_network_canonical) end |