Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::ClusterManager::Rest::ServiceStub.
REST service stub for the ClusterManager service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#cancel_operation
def cancel_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the cancel_operation REST call
- request_pb (::Google::Cloud::Container::V1::CancelOperationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#check_autopilot_compatibility
def check_autopilot_compatibility(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::CheckAutopilotCompatibilityResponse
Baseline implementation for the check_autopilot_compatibility REST call
- request_pb (::Google::Cloud::Container::V1::CheckAutopilotCompatibilityRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::CheckAutopilotCompatibilityResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::CheckAutopilotCompatibilityResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#complete_ip_rotation
def complete_ip_rotation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the complete_ip_rotation REST call
- request_pb (::Google::Cloud::Container::V1::CompleteIPRotationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#complete_node_pool_upgrade
def complete_node_pool_upgrade(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the complete_node_pool_upgrade REST call
- request_pb (::Google::Cloud::Container::V1::CompleteNodePoolUpgradeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_cluster
def create_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the create_cluster REST call
- request_pb (::Google::Cloud::Container::V1::CreateClusterRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_node_pool
def create_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the create_node_pool REST call
- request_pb (::Google::Cloud::Container::V1::CreateNodePoolRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_cluster
def delete_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the delete_cluster REST call
- request_pb (::Google::Cloud::Container::V1::DeleteClusterRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_node_pool
def delete_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the delete_node_pool REST call
- request_pb (::Google::Cloud::Container::V1::DeleteNodePoolRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_cluster
def get_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Cluster
Baseline implementation for the get_cluster REST call
- request_pb (::Google::Cloud::Container::V1::GetClusterRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Cluster)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Cluster) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_json_web_keys
def get_json_web_keys(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::GetJSONWebKeysResponse
Baseline implementation for the get_json_web_keys REST call
- request_pb (::Google::Cloud::Container::V1::GetJSONWebKeysRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::GetJSONWebKeysResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::GetJSONWebKeysResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_node_pool
def get_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::NodePool
Baseline implementation for the get_node_pool REST call
- request_pb (::Google::Cloud::Container::V1::GetNodePoolRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::NodePool)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::NodePool) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_operation
def get_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the get_operation REST call
- request_pb (::Google::Cloud::Container::V1::GetOperationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_server_config
def get_server_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::ServerConfig
Baseline implementation for the get_server_config REST call
- request_pb (::Google::Cloud::Container::V1::GetServerConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::ServerConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::ServerConfig) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_clusters
def list_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::ListClustersResponse
Baseline implementation for the list_clusters REST call
- request_pb (::Google::Cloud::Container::V1::ListClustersRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::ListClustersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::ListClustersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_node_pools
def list_node_pools(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::ListNodePoolsResponse
Baseline implementation for the list_node_pools REST call
- request_pb (::Google::Cloud::Container::V1::ListNodePoolsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::ListNodePoolsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::ListNodePoolsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_operations
def list_operations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::ListOperationsResponse
Baseline implementation for the list_operations REST call
- request_pb (::Google::Cloud::Container::V1::ListOperationsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::ListOperationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::ListOperationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_usable_subnetworks
def list_usable_subnetworks(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::ListUsableSubnetworksResponse
Baseline implementation for the list_usable_subnetworks REST call
- request_pb (::Google::Cloud::Container::V1::ListUsableSubnetworksRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::ListUsableSubnetworksResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::ListUsableSubnetworksResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#rollback_node_pool_upgrade
def rollback_node_pool_upgrade(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the rollback_node_pool_upgrade REST call
- request_pb (::Google::Cloud::Container::V1::RollbackNodePoolUpgradeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_addons_config
def set_addons_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_addons_config REST call
- request_pb (::Google::Cloud::Container::V1::SetAddonsConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_labels
def set_labels(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_labels REST call
- request_pb (::Google::Cloud::Container::V1::SetLabelsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_legacy_abac
def set_legacy_abac(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_legacy_abac REST call
- request_pb (::Google::Cloud::Container::V1::SetLegacyAbacRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_locations
def set_locations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_locations REST call
- request_pb (::Google::Cloud::Container::V1::SetLocationsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_logging_service
def set_logging_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_logging_service REST call
- request_pb (::Google::Cloud::Container::V1::SetLoggingServiceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_maintenance_policy
def set_maintenance_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_maintenance_policy REST call
- request_pb (::Google::Cloud::Container::V1::SetMaintenancePolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_master_auth
def set_master_auth(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_master_auth REST call
- request_pb (::Google::Cloud::Container::V1::SetMasterAuthRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_monitoring_service
def set_monitoring_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_monitoring_service REST call
- request_pb (::Google::Cloud::Container::V1::SetMonitoringServiceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_network_policy
def set_network_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_network_policy REST call
- request_pb (::Google::Cloud::Container::V1::SetNetworkPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_node_pool_autoscaling
def set_node_pool_autoscaling(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_node_pool_autoscaling REST call
- request_pb (::Google::Cloud::Container::V1::SetNodePoolAutoscalingRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_node_pool_management
def set_node_pool_management(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_node_pool_management REST call
- request_pb (::Google::Cloud::Container::V1::SetNodePoolManagementRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#set_node_pool_size
def set_node_pool_size(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the set_node_pool_size REST call
- request_pb (::Google::Cloud::Container::V1::SetNodePoolSizeRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#start_ip_rotation
def start_ip_rotation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the start_ip_rotation REST call
- request_pb (::Google::Cloud::Container::V1::StartIPRotationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_cluster
def update_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the update_cluster REST call
- request_pb (::Google::Cloud::Container::V1::UpdateClusterRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_master
def update_master(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the update_master REST call
- request_pb (::Google::Cloud::Container::V1::UpdateMasterRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_node_pool
def update_node_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::Operation
Baseline implementation for the update_node_pool REST call
- request_pb (::Google::Cloud::Container::V1::UpdateNodePoolRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Container::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Container::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)