class Google::Apis::ContainerV1beta1::UsableSubnetwork
UsableSubnetwork
resource returns the subnetwork name, its associated network and the primary CIDR range.
Attributes
The range of internal addresses that are owned by this subnetwork. Corresponds to the JSON property `ipCidrRange` @return [String]
Network Name. Example: projects/my-project/global/networks/my-network Corresponds to the JSON property `network` @return [String]
Secondary IP ranges. Corresponds to the JSON property `secondaryIpRanges` @return [Array<Google::Apis::ContainerV1beta1::UsableSubnetworkSecondaryRange>]
A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges
is empty due to a permission issue, an insufficient permission message will be given by status_message. Corresponds to the JSON property `statusMessage` @return [String]
Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/ my-subnet Corresponds to the JSON property `subnetwork` @return [String]
Public Class Methods
# File lib/google/apis/container_v1beta1/classes.rb, line 5558 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/container_v1beta1/classes.rb, line 5563 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) @status_message = args[:status_message] if args.key?(:status_message) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end