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

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
Boolean

Metadata

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

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

Property Value
TypeDescription
MapField<String, String>

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]/regions/global/default
  • projects/[project_id]/regions/global/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
GceClusterConfig.Types.PrivateIpv6GoogleAccess

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
RepeatedField<String>

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/us-east1/subnetworks/sub0
  • projects/[project_id]/regions/us-east1/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
RepeatedField<String>

ZoneUri

public string ZoneUri { get; set; }

Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding 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]
  • us-central1-f
Property Value
TypeDescription
String