Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::GkeHub::Rest::ServiceStub.
REST service stub for the GkeHub service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_feature
def create_feature(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_feature REST call
- request_pb (::Google::Cloud::GkeHub::V1::CreateFeatureRequest) — 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)
#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::V1::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_feature
def delete_feature(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_feature REST call
- request_pb (::Google::Cloud::GkeHub::V1::DeleteFeatureRequest) — 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::V1::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::V1::GenerateConnectManifestResponse
Baseline implementation for the generate_connect_manifest REST call
- request_pb (::Google::Cloud::GkeHub::V1::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::V1::GenerateConnectManifestResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeHub::V1::GenerateConnectManifestResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_feature
def get_feature(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeHub::V1::Feature
Baseline implementation for the get_feature REST call
- request_pb (::Google::Cloud::GkeHub::V1::GetFeatureRequest) — 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::V1::Feature)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeHub::V1::Feature) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_membership
def get_membership(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeHub::V1::Membership
Baseline implementation for the get_membership REST call
- request_pb (::Google::Cloud::GkeHub::V1::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::V1::Membership)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeHub::V1::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_features
def list_features(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeHub::V1::ListFeaturesResponse
Baseline implementation for the list_features REST call
- request_pb (::Google::Cloud::GkeHub::V1::ListFeaturesRequest) — 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::V1::ListFeaturesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeHub::V1::ListFeaturesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_memberships
def list_memberships(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GkeHub::V1::ListMembershipsResponse
Baseline implementation for the list_memberships REST call
- request_pb (::Google::Cloud::GkeHub::V1::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::V1::ListMembershipsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GkeHub::V1::ListMembershipsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_feature
def update_feature(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_feature REST call
- request_pb (::Google::Cloud::GkeHub::V1::UpdateFeatureRequest) — 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)
#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::V1::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)