Google Cloud Hypercompute Cluster V1 Client - Class NetworkReference (0.3.1)

Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1 Client class NetworkReference.

A reference to a VPC network in Google Compute Engine.

Generated from protobuf message google.cloud.hypercomputecluster.v1.NetworkReference

Namespace

Google \ Cloud \ HypercomputeCluster \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ network string

Output only. Name of the network, in the format projects/{project}/global/networks/{network}.

↳ subnetwork string

Output only. Name of the particular subnetwork being used by the cluster, in the format projects/{project}/regions/{region}/subnetworks/{subnetwork}.

getNetwork

Output only. Name of the network, in the format projects/{project}/global/networks/{network}.

Returns
Type Description
string

setNetwork

Output only. Name of the network, in the format projects/{project}/global/networks/{network}.

Parameter
Name Description
var string
Returns
Type Description
$this

getSubnetwork

Output only. Name of the particular subnetwork being used by the cluster, in the format projects/{project}/regions/{region}/subnetworks/{subnetwork}.

Returns
Type Description
string

setSubnetwork

Output only. Name of the particular subnetwork being used by the cluster, in the format projects/{project}/regions/{region}/subnetworks/{subnetwork}.

Parameter
Name Description
var string
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年07月31日 UTC.