class Google::Apis::DataprocV1beta2::NodeGroupAffinity

Node Group Affinity for clusters using sole-tenant node groups.

Attributes

node_group_uri[RW]

Required. The URI of a sole-tenant node group resource (cloud.google. com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1- a/nodeGroups/node-group-1 projects//zones/us-central1-a/nodeGroups/ node-group-1 node-group-1 Corresponds to the JSON property `nodeGroupUri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 2282
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataproc_v1beta2/classes.rb, line 2287
def update!(**args)
  @node_group_uri = args[:node_group_uri] if args.key?(:node_group_uri)
end