Class: Google::Container::V1beta1::SetLoggingServiceRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb

Overview

SetLoggingServiceRequest sets the logging service of a cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_idString

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

Returns:

  • (String)

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



1285
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1285

class SetLoggingServiceRequest; end

#logging_serviceString

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

  • "logging.googleapis.com" - the Google Cloud Logging service
  • "none" - no metrics will be exported from the cluster.

Returns:

  • (String)

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

    • "logging.googleapis.com" - the Google Cloud Logging service
    • "none" - no metrics will be exported from the cluster


1285
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1285

class SetLoggingServiceRequest; end

#nameString

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

Returns:

  • (String)

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



1285
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1285

class SetLoggingServiceRequest; end

#project_idString

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

Returns:

  • (String)

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



1285
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1285

class SetLoggingServiceRequest; end

#zoneString

Returns Required. 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.

Returns:

  • (String)

    Required. 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.



1285
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 1285

class SetLoggingServiceRequest; end