Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class Consumer.
Contains information of the customer's network configurations.
Next available ID: 5
Generated from protobuf message google.cloud.metastore.v1alpha.NetworkConfig.Consumer
Namespace
Google \ Cloud \ Metastore \ V1alpha \ NetworkConfig
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ subnetwork
string
Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form: projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}
↳ endpoint_uri
string
Output only. The URI of the endpoint used to access the metastore service.
↳ endpoint_location
string
Output only. The location of the endpoint URI. Format: projects/{project}/locations/{location}.
getSubnetwork
Immutable. The subnetwork of the customer project from which an IP
address is reserved and used as the Dataproc Metastore service's
endpoint. It is accessible to hosts in the subnet and to all
hosts in a subnet in the same region and same network. There must
be at least one IP address available in the subnet's primary range. The
subnet is specified in the following form:
projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}
Returns
Type
Description
string
hasSubnetwork
setSubnetwork
Immutable. The subnetwork of the customer project from which an IP
address is reserved and used as the Dataproc Metastore service's
endpoint. It is accessible to hosts in the subnet and to all
hosts in a subnet in the same region and same network. There must
be at least one IP address available in the subnet's primary range. The
subnet is specified in the following form:
projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEndpointUri
Output only. The URI of the endpoint used to access the metastore
service.
Returns
Type
Description
string
setEndpointUri
Output only. The URI of the endpoint used to access the metastore
service.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEndpointLocation
Output only. The location of the endpoint URI. Format:
projects/{project}/locations/{location}.
Returns
Type
Description
string
setEndpointLocation
Output only. The location of the endpoint URI. Format:
projects/{project}/locations/{location}.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Dataproc Metastore V1alpha Client - Class Consumer (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-dataproc-metastore/latest/V1alpha.NetworkConfig.Consumer)\n- [1.1.0](/php/docs/reference/cloud-dataproc-metastore/1.1.0/V1alpha.NetworkConfig.Consumer)\n- [1.0.4](/php/docs/reference/cloud-dataproc-metastore/1.0.4/V1alpha.NetworkConfig.Consumer)\n- [0.11.5](/php/docs/reference/cloud-dataproc-metastore/0.11.5/V1alpha.NetworkConfig.Consumer)\n- [0.10.2](/php/docs/reference/cloud-dataproc-metastore/0.10.2/V1alpha.NetworkConfig.Consumer)\n- [0.9.0](/php/docs/reference/cloud-dataproc-metastore/0.9.0/V1alpha.NetworkConfig.Consumer)\n- [0.8.1](/php/docs/reference/cloud-dataproc-metastore/0.8.1/V1alpha.NetworkConfig.Consumer)\n- [0.7.0](/php/docs/reference/cloud-dataproc-metastore/0.7.0/V1alpha.NetworkConfig.Consumer)\n- [0.6.1](/php/docs/reference/cloud-dataproc-metastore/0.6.1/V1alpha.NetworkConfig.Consumer)\n- [0.5.1](/php/docs/reference/cloud-dataproc-metastore/0.5.1/V1alpha.NetworkConfig.Consumer)\n- [0.4.1](/php/docs/reference/cloud-dataproc-metastore/0.4.1/V1alpha.NetworkConfig.Consumer) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class Consumer.\n\nContains information of the customer's network configurations.\n\nNext available ID: 5\n\nGenerated from protobuf message `google.cloud.metastore.v1alpha.NetworkConfig.Consumer`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Metastore \\\\ V1alpha \\\\ NetworkConfig\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSubnetwork\n\nImmutable. The subnetwork of the customer project from which an IP\naddress is reserved and used as the Dataproc Metastore service's\nendpoint. It is accessible to hosts in the subnet and to all\nhosts in a subnet in the same region and same network. There must\nbe at least one IP address available in the subnet's primary range. The\nsubnet is specified in the following form:\n`projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}`\n\n### hasSubnetwork\n\n### setSubnetwork\n\nImmutable. The subnetwork of the customer project from which an IP\naddress is reserved and used as the Dataproc Metastore service's\nendpoint. It is accessible to hosts in the subnet and to all\nhosts in a subnet in the same region and same network. There must\nbe at least one IP address available in the subnet's primary range. The\nsubnet is specified in the following form:\n`projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}`\n\n### getEndpointUri\n\nOutput only. The URI of the endpoint used to access the metastore\nservice.\n\n### setEndpointUri\n\nOutput only. The URI of the endpoint used to access the metastore\nservice.\n\n### getEndpointLocation\n\nOutput only. The location of the endpoint URI. Format:\n`projects/{project}/locations/{location}`.\n\n### setEndpointLocation\n\nOutput only. The location of the endpoint URI. Format:\n`projects/{project}/locations/{location}`.\n\n### getVpcResource"]]