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
- request_pb (::Google::Cloud::GkeHub::V1beta1::CreateMembershipRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_membership
def delete_membership(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_membership REST call
- request_pb (::Google::Cloud::GkeHub::V1beta1::DeleteMembershipRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#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
- request_pb (::Google::Cloud::GkeHub::V1beta1::GenerateConnectManifestRequest) — 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::GkeHub::V1beta1::GenerateConnectManifestResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeHub::V1beta1::GenerateConnectManifestResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::GkeHub::V1beta1::GenerateExclusivityManifestRequest) — 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::GkeHub::V1beta1::GenerateExclusivityManifestResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeHub::V1beta1::GenerateExclusivityManifestResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::GkeHub::V1beta1::GetMembershipRequest) — 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::GkeHub::V1beta1::Membership)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeHub::V1beta1::Membership) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_memberships
def list_memberships(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeHub::V1beta1::ListMembershipsResponse
Baseline implementation for the list_memberships REST call
- request_pb (::Google::Cloud::GkeHub::V1beta1::ListMembershipsRequest) — 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::GkeHub::V1beta1::ListMembershipsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeHub::V1beta1::ListMembershipsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_membership
def update_membership(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_membership REST call
- request_pb (::Google::Cloud::GkeHub::V1beta1::UpdateMembershipRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::GkeHub::V1beta1::ValidateExclusivityRequest) — 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::GkeHub::V1beta1::ValidateExclusivityResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeHub::V1beta1::ValidateExclusivityResponse) — A result object deserialized from the server's reply
- (::ArgumentError)