Class: Google::Apis::NetworkmanagementV1::PrivateConnectionInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::PrivateConnectionInfo
- 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
-
#uri ⇒ String
URI of the Private Connection in format "projects/
project_id/locations/location/privateConnections/private_connection_id" Corresponds to the JSON propertyuri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateConnectionInfo
constructor
A new instance of PrivateConnectionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#uri ⇒ String
URI of the Private Connection in format "projects/project_id/locations/
location/privateConnections/private_connection_id"
Corresponds to the JSON property uri
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 |