Google Cloud Dataproc v1 API - Class GceClusterConfig (5.11.0)

public sealed class GceClusterConfig : IMessage<GceClusterConfig>, IEquatable<GceClusterConfig>, IDeepCloneable<GceClusterConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dataproc v1 API class GceClusterConfig.

Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.

Inheritance

object > GceClusterConfig

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

GceClusterConfig()

public GceClusterConfig()

GceClusterConfig(GceClusterConfig)

public GceClusterConfig(GceClusterConfig other)
Parameter
Name Description
other GceClusterConfig

Properties

ConfidentialInstanceConfig

public ConfidentialInstanceConfig ConfidentialInstanceConfig { get; set; }

Optional. Confidential Instance Config for clusters using Confidential VMs.

Property Value
Type Description
ConfidentialInstanceConfig

HasInternalIpOnly

public bool HasInternalIpOnly { get; }

Gets whether the "internal_ip_only" field is set

Property Value
Type Description
bool

InternalIpOnly

public bool InternalIpOnly { get; set; }

Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.

Property Value
Type Description
bool

Metadata

public MapField<string, string> Metadata { get; }

Optional. The Compute Engine metadata entries to add to all instances (see Project and instance metadata).

Property Value
Type Description
MapFieldstringstring

NetworkUri

public string NetworkUri { get; set; }

Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the "default" network of the project is used, if it exists. Cannot be a "Custom Subnet Network" (see Using Subnetworks for more information).

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

  • https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default
  • projects/[project_id]/global/networks/default
  • default
Property Value
Type Description
string

NodeGroupAffinity

public NodeGroupAffinity NodeGroupAffinity { get; set; }

Optional. Node Group Affinity for sole-tenant clusters.

Property Value
Type Description
NodeGroupAffinity

PrivateIpv6GoogleAccess

public GceClusterConfig.Types.PrivateIpv6GoogleAccess PrivateIpv6GoogleAccess { get; set; }

Optional. The type of IPv6 access for a cluster.

Property Value
Type Description
GceClusterConfigTypesPrivateIpv6GoogleAccess

ReservationAffinity

public ReservationAffinity ReservationAffinity { get; set; }

Optional. Reservation Affinity for consuming Zonal reservation.

Property Value
Type Description
ReservationAffinity

ServiceAccount

public string ServiceAccount { get; set; }

Optional. The Dataproc service account (also see VM Data Plane identity) used by Dataproc cluster VM instances to access Google Cloud Platform services.

If not specified, the Compute Engine default service account is used.

Property Value
Type Description
string

ServiceAccountScopes

public RepeatedField<string> ServiceAccountScopes { get; }
Property Value
Type Description
RepeatedFieldstring

ShieldedInstanceConfig

public ShieldedInstanceConfig ShieldedInstanceConfig { get; set; }

Optional. Shielded Instance Config for clusters using Compute Engine Shielded VMs.

Property Value
Type Description
ShieldedInstanceConfig

SubnetworkUri

public string SubnetworkUri { get; set; }

Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri.

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

  • https://www.googleapis.com/compute/v1/projects/[project_id]/regions/[region]/subnetworks/sub0
  • projects/[project_id]/regions/[region]/subnetworks/sub0
  • sub0
Property Value
Type Description
string

Tags

public RepeatedField<string> Tags { get; }

The Compute Engine tags to add to all instances (see Tagging instances).

Property Value
Type Description
RepeatedFieldstring

ZoneUri

public string ZoneUri { get; set; }

Optional. The Compute Engine zone where the Dataproc cluster will be located. If omitted, the service will pick a zone in the cluster's Compute Engine region. On a get request, zone will always be present.

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

  • https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]
  • projects/[project_id]/zones/[zone]
  • [zone]
Property Value
Type Description
string