Class: Google::Apis::ComputeAlpha::UsableSubnetwork
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::UsableSubnetwork
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
Subnetwork which the current user has compute.subnetworks.use permission on.
Instance Attribute Summary collapse
-
#subnetwork ⇒ String
Subnetwork URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UsableSubnetwork
constructor
A new instance of UsableSubnetwork.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ UsableSubnetwork
Returns a new instance of UsableSubnetwork
23506 23507 23508 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23506 def initialize(**args) update!(**args) end |
Instance Attribute Details
#subnetwork ⇒ String
Subnetwork URL.
Corresponds to the JSON property subnetwork
23504 23505 23506 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23504 def subnetwork @subnetwork end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23511 23512 23513 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23511 def update!(**args) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end |