Google Cloud Dataproc Metastore V1beta Client - Class Consumer (0.4.1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class Consumer.

Contains information of the customer's network configurations.

Generated from protobuf message google.cloud.metastore.v1beta.NetworkConfig.Consumer

Methods

__construct

Constructor.

Parameters
NameDescription
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.

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}

Generated from protobuf field string subnetwork = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {

Returns
TypeDescription
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}

Generated from protobuf field string subnetwork = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEndpointUri

Output only. The URI of the endpoint used to access the metastore service.

Generated from protobuf field string endpoint_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setEndpointUri

Output only. The URI of the endpoint used to access the metastore service.

Generated from protobuf field string endpoint_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVpcResource

Returns
TypeDescription
string