Google Cloud Dataproc v1 API - Class GceClusterConfig (5.9.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
NameDescription
otherGceClusterConfig

Properties

ConfidentialInstanceConfig

public ConfidentialInstanceConfig ConfidentialInstanceConfig { get; set; }

Optional. Confidential Instance Config for clusters using Confidential VMs.

Property Value
TypeDescription
ConfidentialInstanceConfig

HasInternalIpOnly

public bool HasInternalIpOnly { get; }

Gets whether the "internal_ip_only" field is set

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
string

NodeGroupAffinity

public NodeGroupAffinity NodeGroupAffinity { get; set; }

Optional. Node Group Affinity for sole-tenant clusters.

Property Value
TypeDescription
NodeGroupAffinity

PrivateIpv6GoogleAccess

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

Optional. The type of IPv6 access for a cluster.

Property Value
TypeDescription
GceClusterConfigTypesPrivateIpv6GoogleAccess

ReservationAffinity

public ReservationAffinity ReservationAffinity { get; set; }

Optional. Reservation Affinity for consuming Zonal reservation.

Property Value
TypeDescription
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
TypeDescription
string

ServiceAccountScopes

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

ShieldedInstanceConfig

public ShieldedInstanceConfig ShieldedInstanceConfig { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
string

Tags

public RepeatedField<string> Tags { get; }

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

Property Value
TypeDescription
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
TypeDescription
string