Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::NodeGroupAffinity (v1.0.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::NodeGroupAffinity.

Node Group Affinity for clusters using sole-tenant node groups. The Dataproc NodeGroupAffinity resource is not related to the Dataproc NodeGroup resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#node_group_uri

def node_group_uri() -> ::String
Returns
  • (::String) —

    Required. The URI of a sole-tenant node group resource that the cluster will be created on.

    A full URL, partial URI, or node group name are valid. Examples:

    • https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1
    • projects/[project_id]/zones/[zone]/nodeGroups/node-group-1
    • node-group-1

#node_group_uri=

def node_group_uri=(value) -> ::String
Parameter
  • value (::String) —

    Required. The URI of a sole-tenant node group resource that the cluster will be created on.

    A full URL, partial URI, or node group name are valid. Examples:

    • https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1
    • projects/[project_id]/zones/[zone]/nodeGroups/node-group-1
    • node-group-1
Returns
  • (::String) —

    Required. The URI of a sole-tenant node group resource that the cluster will be created on.

    A full URL, partial URI, or node group name are valid. Examples:

    • https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1
    • projects/[project_id]/zones/[zone]/nodeGroups/node-group-1
    • node-group-1