Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::ClusterManager::Rest::ServiceStub (v1.1.0)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_clusters

def list_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Container::V1::ListClustersResponse

Baseline implementation for the list_clusters REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)