# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/container/v1beta1/cluster_service.proto for package 'Google::Cloud::Container::V1beta1' # Original file comments: # Copyright 2019 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # require 'grpc' require 'google/container/v1beta1/cluster_service_pb' module Google module Cloud module Container end end Container = Cloud::Container unless const_defined? :Container end module Google::Cloud::Container::V1beta1 module ClusterManager # Google Kubernetes Engine Cluster Manager v1beta1 class Service include GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'google.container.v1beta1.ClusterManager' # Lists all clusters owned by a project in either the specified zone or all # zones. rpc :ListClusters, ListClustersRequest, ListClustersResponse # Gets the details for a specific cluster. rpc :GetCluster, GetClusterRequest, Cluster # Creates a cluster, consisting of the specified number and type of Google # Compute Engine instances. # # By default, the cluster is created in the project's # [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). # # One firewall is added for the cluster. After cluster creation, # the Kubelet creates routes for each node to allow the containers # on that node to communicate with all other instances in the # cluster. # # Finally, an entry is added to the project's global metadata indicating # which CIDR range the cluster is using. rpc :CreateCluster, CreateClusterRequest, Operation # Updates the settings for a specific cluster. rpc :UpdateCluster, UpdateClusterRequest, Operation # Updates the version and/or image type of a specific node pool. rpc :UpdateNodePool, UpdateNodePoolRequest, Operation # Sets the autoscaling settings of a specific node pool. rpc :SetNodePoolAutoscaling, SetNodePoolAutoscalingRequest, Operation # Sets the logging service for a specific cluster. rpc :SetLoggingService, SetLoggingServiceRequest, Operation # Sets the monitoring service for a specific cluster. rpc :SetMonitoringService, SetMonitoringServiceRequest, Operation # Sets the addons for a specific cluster. rpc :SetAddonsConfig, SetAddonsConfigRequest, Operation # Sets the locations for a specific cluster. rpc :SetLocations, SetLocationsRequest, Operation # Updates the master for a specific cluster. rpc :UpdateMaster, UpdateMasterRequest, Operation # Sets master auth materials. Currently supports changing the admin password # or a specific cluster, either via password generation or explicitly setting # the password. rpc :SetMasterAuth, SetMasterAuthRequest, Operation # Deletes the cluster, including the Kubernetes endpoint and all worker # nodes. # # Firewalls and routes that were configured during cluster creation # are also deleted. # # Other Google Compute Engine resources that might be in use by the cluster, # such as load balancer resources, are not deleted if they weren't present # when the cluster was initially created. rpc :DeleteCluster, DeleteClusterRequest, Operation # Lists all operations in a project in the specified zone or all zones. rpc :ListOperations, ListOperationsRequest, ListOperationsResponse # Gets the specified operation. rpc :GetOperation, GetOperationRequest, Operation # Cancels the specified operation. rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty # Returns configuration info about the Google Kubernetes Engine service. rpc :GetServerConfig, GetServerConfigRequest, ServerConfig # Lists the node pools for a cluster. rpc :ListNodePools, ListNodePoolsRequest, ListNodePoolsResponse # Retrieves the requested node pool. rpc :GetNodePool, GetNodePoolRequest, NodePool # Creates a node pool for a cluster. rpc :CreateNodePool, CreateNodePoolRequest, Operation # Deletes a node pool from a cluster. rpc :DeleteNodePool, DeleteNodePoolRequest, Operation # Rolls back a previously Aborted or Failed NodePool upgrade. # This makes no changes if the last upgrade successfully completed. rpc :RollbackNodePoolUpgrade, RollbackNodePoolUpgradeRequest, Operation # Sets the NodeManagement options for a node pool. rpc :SetNodePoolManagement, SetNodePoolManagementRequest, Operation # Sets labels on a cluster. rpc :SetLabels, SetLabelsRequest, Operation # Enables or disables the ABAC authorization mechanism on a cluster. rpc :SetLegacyAbac, SetLegacyAbacRequest, Operation # Starts master IP rotation. rpc :StartIPRotation, StartIPRotationRequest, Operation # Completes master IP rotation. rpc :CompleteIPRotation, CompleteIPRotationRequest, Operation # Sets the size for a specific node pool. rpc :SetNodePoolSize, SetNodePoolSizeRequest, Operation # Enables or disables Network Policy for a cluster. rpc :SetNetworkPolicy, SetNetworkPolicyRequest, Operation # Sets the maintenance policy for a cluster. rpc :SetMaintenancePolicy, SetMaintenancePolicyRequest, Operation # Lists subnetworks that can be used for creating clusters in a project. rpc :ListUsableSubnetworks, ListUsableSubnetworksRequest, ListUsableSubnetworksResponse # Fetches locations that offer Google Kubernetes Engine. rpc :ListLocations, ListLocationsRequest, ListLocationsResponse end Stub = Service.rpc_stub_class end end