Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.GlobalResource.MembershipsResource

The "memberships" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.GlobalResource.MembershipsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GKEHub.v1alpha2
Assembly: Google.Apis.GKEHub.v1alpha2.dll
Syntax
public class ProjectsResource.LocationsResource.GlobalResource.MembershipsResource

Constructors

MembershipsResource(IClientService)

Constructs a new resource.

Declaration
public MembershipsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

InitializeHub(InitializeHubRequest, string)

Initializes the Hub in this project, which includes creating the default Hub Service Account and the Hub Workload Identity Pool. Initialization is optional, and happens automatically when the first Membership is created. InitializeHub should be called when the first Membership cannot be registered without these resources. A common example is granting the Hub Service Account access to another project, which requires the account to exist first.

Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.MembershipsResource.InitializeHubRequest InitializeHub(InitializeHubRequest body, string project)
Parameters
Type Name Description
InitializeHubRequest body

The body of the request.

string project

Required. The Hub to initialize, in the format projects/*/locations/*/memberships/*.

Returns
Type Description
ProjectsResource.LocationsResource.GlobalResource.MembershipsResource.InitializeHubRequest
In This Article
Back to top Generated by DocFX