class Google::Apis::ComputeV1::UsableSubnetwork
Subnetwork
which the current user has compute.subnetworks.use permission on.
Attributes
ip_cidr_range[RW]
The range of internal addresses that are owned by this subnetwork. Corresponds to the JSON property `ipCidrRange` @return [String]
network[RW]
Network
URL. Corresponds to the JSON property `network` @return [String]
secondary_ip_ranges[RW]
Secondary IP ranges. Corresponds to the JSON property `secondaryIpRanges` @return [Array<Google::Apis::ComputeV1::UsableSubnetworkSecondaryRange>]
subnetwork[RW]
Subnetwork
URL. Corresponds to the JSON property `subnetwork` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 36202 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 36207 def update!(**args) @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) @network = args[:network] if args.key?(:network) @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end