Class: Google::Apis::ComputeBeta::UsableSubnetwork
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::UsableSubnetwork
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
Subnetwork which the current user has compute.subnetworks.use permission on.
Instance Attribute Summary collapse
-
#ip_cidr_range ⇒ String
The range of internal addresses that are owned by this subnetwork.
-
#network ⇒ String
Network URL.
-
#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
20889 20890 20891 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20889 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_cidr_range ⇒ String
The range of internal addresses that are owned by this subnetwork.
Corresponds to the JSON property ipCidrRange
20877 20878 20879 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20877 def ip_cidr_range @ip_cidr_range end |
#network ⇒ String
Network URL.
Corresponds to the JSON property network
20882 20883 20884 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20882 def network @network end |
#subnetwork ⇒ String
Subnetwork URL.
Corresponds to the JSON property subnetwork
20887 20888 20889 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20887 def subnetwork @subnetwork end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20894 20895 20896 20897 20898 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20894 def update!(**args) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @network = args[:network] if args.key?(:network) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end |