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.
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.
Returns
Type
Description
string
setStatusMessage
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Container V1 Client - Class UsableSubnetwork (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-container/latest/V1.UsableSubnetwork)\n- [2.4.0](/php/docs/reference/cloud-container/2.4.0/V1.UsableSubnetwork)\n- [2.3.4](/php/docs/reference/cloud-container/2.3.4/V1.UsableSubnetwork)\n- [2.2.1](/php/docs/reference/cloud-container/2.2.1/V1.UsableSubnetwork)\n- [2.1.0](/php/docs/reference/cloud-container/2.1.0/V1.UsableSubnetwork)\n- [2.0.0](/php/docs/reference/cloud-container/2.0.0/V1.UsableSubnetwork)\n- [1.33.0](/php/docs/reference/cloud-container/1.33.0/V1.UsableSubnetwork)\n- [1.32.0](/php/docs/reference/cloud-container/1.32.0/V1.UsableSubnetwork)\n- [1.31.0](/php/docs/reference/cloud-container/1.31.0/V1.UsableSubnetwork)\n- [1.30.3](/php/docs/reference/cloud-container/1.30.3/V1.UsableSubnetwork)\n- [1.24.0](/php/docs/reference/cloud-container/1.24.0/V1.UsableSubnetwork)\n- [1.23.0](/php/docs/reference/cloud-container/1.23.0/V1.UsableSubnetwork)\n- [1.22.0](/php/docs/reference/cloud-container/1.22.0/V1.UsableSubnetwork)\n- [1.21.1](/php/docs/reference/cloud-container/1.21.1/V1.UsableSubnetwork)\n- [1.20.0](/php/docs/reference/cloud-container/1.20.0/V1.UsableSubnetwork)\n- [1.19.0](/php/docs/reference/cloud-container/1.19.0/V1.UsableSubnetwork)\n- [1.18.0](/php/docs/reference/cloud-container/1.18.0/V1.UsableSubnetwork)\n- [1.17.1](/php/docs/reference/cloud-container/1.17.1/V1.UsableSubnetwork)\n- [1.16.0](/php/docs/reference/cloud-container/1.16.0/V1.UsableSubnetwork)\n- [1.15.0](/php/docs/reference/cloud-container/1.15.0/V1.UsableSubnetwork)\n- [1.14.0](/php/docs/reference/cloud-container/1.14.0/V1.UsableSubnetwork)\n- [1.13.1](/php/docs/reference/cloud-container/1.13.1/V1.UsableSubnetwork)\n- [1.12.1](/php/docs/reference/cloud-container/1.12.1/V1.UsableSubnetwork)\n- [1.10.3](/php/docs/reference/cloud-container/1.10.3/V1.UsableSubnetwork)\n- [1.9.1](/php/docs/reference/cloud-container/1.9.1/V1.UsableSubnetwork) \nReference documentation and code samples for the Google Cloud Container V1 Client class UsableSubnetwork.\n\nUsableSubnetwork resource returns the subnetwork name, its associated network\nand the primary CIDR range.\n\nGenerated from protobuf message `google.container.v1.UsableSubnetwork`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Container \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSubnetwork\n\nSubnetwork Name.\n\nExample: projects/my-project/regions/us-central1/subnetworks/my-subnet\n\n### setSubnetwork\n\nSubnetwork Name.\n\nExample: projects/my-project/regions/us-central1/subnetworks/my-subnet\n\n### getNetwork\n\nNetwork Name.\n\nExample: projects/my-project/global/networks/my-network\n\n### setNetwork\n\nNetwork Name.\n\nExample: projects/my-project/global/networks/my-network\n\n### getIpCidrRange\n\nThe range of internal addresses that are owned by this subnetwork.\n\n### setIpCidrRange\n\nThe range of internal addresses that are owned by this subnetwork.\n\n### getSecondaryIpRanges\n\nSecondary IP ranges.\n\n### setSecondaryIpRanges\n\nSecondary IP ranges.\n\n### getStatusMessage\n\nA human readable status message representing the reasons for cases where\nthe caller cannot use the secondary ranges under the subnet. For example if\nthe secondary_ip_ranges is empty due to a permission issue, an insufficient\npermission message will be given by status_message.\n\n### setStatusMessage\n\nA human readable status message representing the reasons for cases where\nthe caller cannot use the secondary ranges under the subnet. For example if\nthe secondary_ip_ranges is empty due to a permission issue, an insufficient\npermission message will be given by status_message."]]