GKE Hub V1beta1 API - Class Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Rest::ServiceStub (v0.8.0)

Reference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Rest::ServiceStub.

REST service stub for the GkeHubMembershipService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_membership

def create_membership(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_membership REST call

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

#delete_membership

def delete_membership(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_membership REST call

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

#generate_connect_manifest

def generate_connect_manifest(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeHub::V1beta1::GenerateConnectManifestResponse

Baseline implementation for the generate_connect_manifest REST call

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

#generate_exclusivity_manifest

def generate_exclusivity_manifest(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeHub::V1beta1::GenerateExclusivityManifestResponse

Baseline implementation for the generate_exclusivity_manifest REST call

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

#get_membership

def get_membership(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeHub::V1beta1::Membership

Baseline implementation for the get_membership REST call

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

#initialize

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

#list_memberships

def list_memberships(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeHub::V1beta1::ListMembershipsResponse

Baseline implementation for the list_memberships REST call

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

#update_membership

def update_membership(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_membership REST call

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

#validate_exclusivity

def validate_exclusivity(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeHub::V1beta1::ValidateExclusivityResponse

Baseline implementation for the validate_exclusivity REST call

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