Cluster Director V1BETA API - Class Google::Cloud::HypercomputeCluster::V1beta::NetworkResourceConfig (v0.1.0)

Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::NetworkResourceConfig.

Describes how a network resource should be initialized. Each network resource can either be imported from an existing Google Cloud resource or initialized when the cluster is created.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#existing_network

def existing_network() -> ::Google::Cloud::HypercomputeCluster::V1beta::ExistingNetworkConfig
Returns
  • (::Google::Cloud::HypercomputeCluster::V1beta::ExistingNetworkConfig) — Optional. Immutable. If set, indicates that an existing network should be imported.

    Note: The following fields are mutually exclusive: existing_network, new_network. If a field in that set is populated, all other fields in the set will automatically be cleared.

#existing_network=

def existing_network=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::ExistingNetworkConfig
Parameter
  • value (::Google::Cloud::HypercomputeCluster::V1beta::ExistingNetworkConfig) — Optional. Immutable. If set, indicates that an existing network should be imported.

    Note: The following fields are mutually exclusive: existing_network, new_network. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::HypercomputeCluster::V1beta::ExistingNetworkConfig) — Optional. Immutable. If set, indicates that an existing network should be imported.

    Note: The following fields are mutually exclusive: existing_network, new_network. If a field in that set is populated, all other fields in the set will automatically be cleared.

#new_network

def new_network() -> ::Google::Cloud::HypercomputeCluster::V1beta::NewNetworkConfig
Returns
  • (::Google::Cloud::HypercomputeCluster::V1beta::NewNetworkConfig) — Optional. Immutable. If set, indicates that a new network should be created.

    Note: The following fields are mutually exclusive: new_network, existing_network. If a field in that set is populated, all other fields in the set will automatically be cleared.

#new_network=

def new_network=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::NewNetworkConfig
Parameter
  • value (::Google::Cloud::HypercomputeCluster::V1beta::NewNetworkConfig) — Optional. Immutable. If set, indicates that a new network should be created.

    Note: The following fields are mutually exclusive: new_network, existing_network. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::HypercomputeCluster::V1beta::NewNetworkConfig) — Optional. Immutable. If set, indicates that a new network should be created.

    Note: The following fields are mutually exclusive: new_network, existing_network. If a field in that set is populated, all other fields in the set will automatically be cleared.