Class: Google::Cloud::Container::V1beta1::SetLoggingServiceRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::SetLoggingServiceRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
SetLoggingServiceRequest sets the logging service of a cluster.
Instance Attribute Summary collapse
-
#cluster_id ⇒ ::String
Required.
-
#logging_service ⇒ ::String
Required.
-
#name ⇒ ::String
The name (project, location, cluster) of the cluster to set logging.
-
#project_id ⇒ ::String
Required.
-
#zone ⇒ ::String
Required.
Instance Attribute Details
#cluster_id ⇒ ::String
Returns Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
2520 2521 2522 2523 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2520 class SetLoggingServiceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#logging_service ⇒ ::String
Returns 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 modellogging.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.
2520 2521 2522 2523 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2520 class SetLoggingServiceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The name (project, location, cluster) of the cluster to set logging.
Specified in the format projects/*/locations/*/clusters/*
.
2520 2521 2522 2523 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2520 class SetLoggingServiceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project_id ⇒ ::String
Returns Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
2520 2521 2522 2523 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2520 class SetLoggingServiceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#zone ⇒ ::String
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.
2520 2521 2522 2523 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2520 class SetLoggingServiceRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |