Class: Google::Apis::NetworkmanagementV1::PrivateConnectionInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb

Overview

For display only. Metadata associated with a Private Connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivateConnectionInfo

Returns a new instance of PrivateConnectionInfo.



2484
2485
2486
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 2484

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

Instance Attribute Details

#uriString

URI of the Private Connection in format "projects/project_id/locations/ location/privateConnections/private_connection_id" Corresponds to the JSON property uri

Returns:

  • (String)


2482
2483
2484
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 2482

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2489
2490
2491
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 2489

def update!(**args)
  @uri = args[:uri] if args.key?(:uri)
end