Google Kubernetes Engine v1 API - Class SetLoggingServiceRequest (3.8.0)

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

Reference documentation and code samples for the Google Kubernetes Engine v1 API class SetLoggingServiceRequest.

SetLoggingServiceRequest sets the logging service of a cluster.

Inheritance

Object > SetLoggingServiceRequest

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

SetLoggingServiceRequest()

public SetLoggingServiceRequest()

SetLoggingServiceRequest(SetLoggingServiceRequest)

public SetLoggingServiceRequest(SetLoggingServiceRequest other)
Parameter
NameDescription
otherSetLoggingServiceRequest

Properties

ClusterId

[Obsolete]
public string ClusterId { get; set; }

Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.

Property Value
TypeDescription
String

LoggingService

public string LoggingService { get; set; }

Required. The logging service the cluster should use to write logs. Currently available options:

  • logging.googleapis.com/kubernetes - The Cloud Logging service with a Kubernetes-native resource model
  • logging.googleapis.com - The legacy Cloud Logging service (no longer available as of GKE 1.15).
  • none - no logs will be exported from the cluster.

If left as an empty string,logging.googleapis.com/kubernetes will be used for GKE 1.14+ or logging.googleapis.com for earlier versions.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

The name (project, location, cluster) of the cluster to set logging. Specified in the format projects/*/locations/*/clusters/*.

Property Value
TypeDescription
String

ProjectId

[Obsolete]
public string ProjectId { get; set; }

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Property Value
TypeDescription
String

Zone

[Obsolete]
public string Zone { get; set; }

Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.

Property Value
TypeDescription
String