Package com.google.cloud.gkehub.v1
Class GkeHubGrpc.GkeHubBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<GkeHubGrpc.GkeHubBlockingStub>
com.google.cloud.gkehub.v1.GkeHubGrpc.GkeHubBlockingStub
- Enclosing class:
- GkeHubGrpc
public static final class GkeHubGrpc.GkeHubBlockingStub
extends io.grpc.stub.AbstractBlockingStub<GkeHubGrpc.GkeHubBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service GkeHub.
The GKE Hub service handles the registration of many Kubernetes clusters to Google Cloud, and the management of multi-cluster features over those clusters. The GKE Hub service operates on the following resources: * [Membership][google.cloud.gkehub.v1.Membership] * [Feature][google.cloud.gkehub.v1.Feature] GKE Hub is currently available in the global region and all regions in https://cloud.google.com/compute/docs/regions-zones. Feature is only available in global region while membership is global region and all the regions. **Membership management may be non-trivial:** it is recommended to use one of the Google-provided client libraries or tools where possible when working with Membership resources.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected GkeHubGrpc.GkeHubBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createFeature(CreateFeatureRequest request) Adds a new Feature.createFleet(CreateFleetRequest request) Creates a fleet.createMembership(CreateMembershipRequest request) Creates a new Membership.Creates a MembershipBinding.Creates a Membership RBACRoleBinding.createScope(CreateScopeRequest request) Creates a Scope.Creates a fleet namespace.Creates a Scope RBACRoleBinding.deleteFeature(DeleteFeatureRequest request) Removes a Feature.deleteFleet(DeleteFleetRequest request) Removes a Fleet.deleteMembership(DeleteMembershipRequest request) Removes a Membership.Deletes a MembershipBinding.Deletes a Membership RBACRoleBinding.deleteScope(DeleteScopeRequest request) Deletes a Scope.Deletes a fleet namespace.Deletes a Scope RBACRoleBinding.Generates the manifest for deployment of the GKE connect agent.Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.getFeature(GetFeatureRequest request) Gets details of a single Feature.getFleet(GetFleetRequest request) Returns the details of a fleet.getMembership(GetMembershipRequest request) Gets the details of a Membership.Returns the details of a MembershipBinding.Returns the details of a Membership RBACRoleBinding.getScope(GetScopeRequest request) Returns the details of a Scope.Returns the details of a fleet namespace.Returns the details of a Scope RBACRoleBinding.Lists Memberships bound to a Scope.listFeatures(ListFeaturesRequest request) Lists Features in a given project and location.listFleets(ListFleetsRequest request) Returns all fleets within an organization or a project that the caller has access to.Lists MembershipBindings.Lists all Membership RBACRoleBindings.listMemberships(ListMembershipsRequest request) Lists Memberships in a given project and location.Lists permitted Scopes.Lists fleet namespaces.Lists all Scope RBACRoleBindings.listScopes(ListScopesRequest request) Lists Scopes.updateFeature(UpdateFeatureRequest request) Updates an existing Feature.updateFleet(UpdateFleetRequest request) Updates a fleet.updateMembership(UpdateMembershipRequest request) Updates an existing Membership.Updates a MembershipBinding.Updates a Membership RBACRoleBinding.updateScope(UpdateScopeRequest request) Updates a scopes.Updates a fleet namespace.Updates a Scope RBACRoleBinding.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected GkeHubGrpc.GkeHubBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GkeHubGrpc.GkeHubBlockingStub>
-
listMemberships
Lists Memberships in a given project and location.
-
listBoundMemberships
Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions.
-
listFeatures
Lists Features in a given project and location.
-
getMembership
Gets the details of a Membership.
-
getFeature
Gets details of a single Feature.
-
createMembership
Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.
-
createFeature
Adds a new Feature.
-
deleteMembership
Removes a Membership. **This is currently only supported for GKE clusters on Google Cloud**. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.
-
deleteFeature
Removes a Feature.
-
updateMembership
Updates an existing Membership.
-
updateFeature
Updates an existing Feature.
-
generateConnectManifest
public GenerateConnectManifestResponse generateConnectManifest(GenerateConnectManifestRequest request) Generates the manifest for deployment of the GKE connect agent. **This method is used internally by Google-provided libraries.** Most clients should not need to call this method directly.
-
createFleet
Creates a fleet.
-
getFleet
Returns the details of a fleet.
-
updateFleet
Updates a fleet.
-
deleteFleet
Removes a Fleet. There must be no memberships remaining in the Fleet.
-
listFleets
Returns all fleets within an organization or a project that the caller has access to.
-
getScopeNamespace
Returns the details of a fleet namespace.
-
createScopeNamespace
Creates a fleet namespace.
-
updateScopeNamespace
Updates a fleet namespace.
-
deleteScopeNamespace
Deletes a fleet namespace.
-
listScopeNamespaces
Lists fleet namespaces.
-
getScopeRBACRoleBinding
Returns the details of a Scope RBACRoleBinding.
-
createScopeRBACRoleBinding
Creates a Scope RBACRoleBinding.
-
updateScopeRBACRoleBinding
Updates a Scope RBACRoleBinding.
-
deleteScopeRBACRoleBinding
Deletes a Scope RBACRoleBinding.
-
listScopeRBACRoleBindings
public ListScopeRBACRoleBindingsResponse listScopeRBACRoleBindings(ListScopeRBACRoleBindingsRequest request) Lists all Scope RBACRoleBindings.
-
getScope
Returns the details of a Scope.
-
createScope
Creates a Scope.
-
updateScope
Updates a scopes.
-
deleteScope
Deletes a Scope.
-
listScopes
Lists Scopes.
-
listPermittedScopes
Lists permitted Scopes.
-
getMembershipBinding
Returns the details of a MembershipBinding.
-
createMembershipBinding
Creates a MembershipBinding.
-
updateMembershipBinding
Updates a MembershipBinding.
-
deleteMembershipBinding
Deletes a MembershipBinding.
-
listMembershipBindings
Lists MembershipBindings.
-
getMembershipRBACRoleBinding
Returns the details of a Membership RBACRoleBinding.
-
createMembershipRBACRoleBinding
Creates a Membership RBACRoleBinding.
-
updateMembershipRBACRoleBinding
Updates a Membership RBACRoleBinding.
-
deleteMembershipRBACRoleBinding
Deletes a Membership RBACRoleBinding.
-
listMembershipRBACRoleBindings
public ListMembershipRBACRoleBindingsResponse listMembershipRBACRoleBindings(ListMembershipRBACRoleBindingsRequest request) Lists all Membership RBACRoleBindings.
-
generateMembershipRBACRoleBindingYAML
public GenerateMembershipRBACRoleBindingYAMLResponse generateMembershipRBACRoleBindingYAML(GenerateMembershipRBACRoleBindingYAMLRequest request) Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.
-