Gcp/gkehub
@swamp/gcp/gkehubv2026.06.12.1
01README
Google Cloud gkehub infrastructure models
02Release Notes
- Updated: memberships_features, features
03Models
@swamp/gcp/gkehub/featuresv2026.06.12.1features.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| fleetDefaultMemberConfig? | object | CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet |
| labels? | record | Labels for this Feature. |
| membershipSpecs? | record | Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is a |
| resourceState? | object | FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the "running state" of the Feature in the Fleet and across Memberships. |
| scopeSpecs? | record | Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the configuration is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the ma |
| spec? | object | CommonFeatureSpec contains Fleet-wide configuration information |
| state? | object | CommonFeatureState contains Fleet-wide Feature status information. |
| featureId? | string | The ID of the feature to create. |
| requestId? | string | A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a features
fn get(identifier: string)
Get a features
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the features |
fn update()
Update features attributes
fn delete(identifier: string)
Delete the features
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the features |
fn sync()
Sync features state from GCP
fn list(filter?: string, orderBy?: string, pageSize?: number, returnPartialSuccess?: boolean, maxPages?: number)
List features resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Feature with the name "servicemesh" in project "foo-proj": name = "projects/foo-proj/locations/global/features/servicemesh" - Features that have a label called `foo`: labels.foo:* - Features that have a label called `foo` whose value is `bar`: labels.foo = bar |
| orderBy? | string | One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering. |
| pageSize? | number | When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. |
| returnPartialSuccess? | boolean | Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn get_iam_policy()
get iam policy
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
Resources
state(infinite)— Feature represents the settings and status of any Fleet Feature.
@swamp/gcp/gkehub/fleetsv2026.06.08.1fleets.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a fleets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the fleets |
fn sync()
Sync fleets state from GCP
fn list(pageSize?: number, maxPages?: number)
List fleets resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Fleet contains the Fleet-wide metadata and configuration.
@swamp/gcp/gkehub/locationsv2026.06.08.1locations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
fn get(identifier: string)
Get a locations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the locations |
fn sync()
Sync locations state from GCP
fn list(extraLocationTypes?: string, filter?: string, pageSize?: number, maxPages?: number)
List locations resources
| Argument | Type | Description |
|---|---|---|
| extraLocationTypes? | string | Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. |
| filter? | string | A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). |
| pageSize? | number | The maximum number of results to return. If not set, the service selects a default. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/gkehub/membershipsv2026.06.08.1memberships.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| authority? | object | Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity |
| endpoint? | object | MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata. |
| externalId? | string | Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object. |
| labels? | record | Optional. Labels for this membership. These labels are not leveraged by multi-cluster features, instead, we prefer cluster labels, which can be set on GKE cluster or other cluster types. |
| monitoringConfig? | object | MonitoringConfig informs Fleet-based applications/services/UIs how the metrics for the underlying cluster is reported to cloud monitoring services. It can be set from empty to non-empty, but can't be mutated directly to prevent accidentally breaking the constinousty of metrics. |
| state? | object | MembershipState describes the state of a Membership resource. |
| membershipId? | string | Required. Client chosen ID for the membership. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. |
| requestId? | string | Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was receive |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a memberships
fn get(identifier: string)
Get a memberships
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the memberships |
fn update()
Update memberships attributes
fn delete(identifier: string)
Delete the memberships
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the memberships |
fn sync()
Sync memberships state from GCP
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List memberships resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Name is `bar` in project `foo-proj` and location `global`: name = "projects/foo-proj/locations/global/membership/bar" - Memberships that have a label called `foo`: labels.foo:* - Memberships that have a label called `foo` whose value is `bar`: labels.foo = bar - Memberships in the CREATING state: state = CREATING |
| orderBy? | string | Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering. |
| pageSize? | number | Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn generate_connect_manifest()
generate connect manifest
fn get_iam_policy()
get iam policy
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
Resources
state(infinite)— Membership contains information about a member cluster.
@swamp/gcp/gkehub/memberships-bindingsv2026.06.08.1memberships_bindings.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| labels? | record | Optional. Labels for this MembershipBinding. |
| name? | string | The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}` |
| scope? | string | A Scope resource name in the format `projects/*/locations/*/scopes/*`. |
| state? | object | MembershipBindingLifecycleState describes the state of a Binding resource. |
| membershipBindingId? | string | Required. The ID to use for the MembershipBinding. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a bindings
fn get(identifier: string)
Get a bindings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the bindings |
fn update()
Update bindings attributes
fn delete(identifier: string)
Delete the bindings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the bindings |
fn sync()
Sync bindings state from GCP
fn list(filter?: string, pageSize?: number, maxPages?: number)
List bindings resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. Lists MembershipBindings that match the filter expression, following the syntax outlined in https://google.aip.dev/160. |
| pageSize? | number | Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— MembershipBinding is a subresource of a Membership, representing what Fleet S...
@swamp/gcp/gkehub/memberships-featuresv2026.06.12.1memberships_features.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| labels? | record | Google Cloud labels for this MembershipFeature. |
| lifecycleState? | object | LifecycleState describes the state of a MembershipFeature *resource* in the GkeHub API. See `FeatureState` for the "running state" of the MembershipFeature. |
| spec? | object | FeatureSpec contains user input per-feature spec information. |
| state? | object | FeatureState contains high-level state information and per-feature state information for this MembershipFeature. |
| featureId? | string | Required. The ID of the membership_feature to create. |
| requestId? | string | Idempotent request UUID. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a features
fn get(identifier: string)
Get a features
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the features |
fn update()
Update features attributes
fn delete(identifier: string)
Delete the features
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the features |
fn sync()
Sync features state from GCP
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List features resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Lists MembershipFeatures that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Feature with the name "helloworld" in project "foo-proj" and membership "member-bar": name = "projects/foo-proj/locations/global/memberships/member-bar/features/helloworld" - Features that have a label called `foo`: labels.foo:* - Features that have a label called `foo` whose value is `bar`: labels.foo = bar |
| orderBy? | string | One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering. |
| pageSize? | number | When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— MembershipFeature represents the settings and status of a Fleet Feature enabl...
@swamp/gcp/gkehub/memberships-rbacrolebindingsv2026.06.08.1memberships_rbacrolebindings.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| group? | string | group is the group, as seen by the kubernetes cluster. |
| labels? | record | Optional. Labels for this RBACRolebinding. |
| name? | string | The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` |
| role? | object | Role is the type for Kubernetes roles |
| state? | object | RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. |
| user? | string | user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld" |
| rbacrolebindingId? | string | Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a rbacrolebindings
fn get(identifier: string)
Get a rbacrolebindings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the rbacrolebindings |
fn update()
Update rbacrolebindings attributes
fn delete(identifier: string)
Delete the rbacrolebindings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the rbacrolebindings |
fn sync()
Sync rbacrolebindings state from GCP
fn list(pageSize?: number, maxPages?: number)
List rbacrolebindings resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn generate_membership_rbacrole_binding_yaml(createTime?: any, deleteTime?: any, group?: any, labels?: any, name?: any, role?: any, state?: any, uid?: any, updateTime?: any, user?: any)
generate membership rbacrole binding yaml
| Argument | Type | Description |
|---|---|---|
| createTime? | any | |
| deleteTime? | any | |
| group? | any | |
| labels? | any | |
| name? | any | |
| role? | any | |
| state? | any | |
| uid? | any | |
| updateTime? | any | |
| user? | any |
Resources
state(infinite)— RBACRoleBinding represents a rbacrolebinding across the Fleet
@swamp/gcp/gkehub/scopesv2026.06.08.1scopes.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| labels? | record | Optional. Labels for this Scope. |
| name? | string | The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}` |
| namespaceLabels? | record | Optional. Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (`namespace_labels` in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant. |
| state? | object | ScopeLifecycleState describes the state of a Scope resource. |
| scopeId? | string | Required. Client chosen ID for the Scope. `scope_id` must be a???? |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a scopes
fn get(identifier: string)
Get a scopes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the scopes |
fn update()
Update scopes attributes
fn delete(identifier: string)
Delete the scopes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the scopes |
fn sync()
Sync scopes state from GCP
fn list(pageSize?: number, maxPages?: number)
List scopes resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn get_iam_policy()
get iam policy
fn list_memberships()
list memberships
fn list_permitted()
list permitted
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
Resources
state(infinite)— Scope represents a Scope in a Fleet.
@swamp/gcp/gkehub/scopes-namespacesv2026.06.08.1scopes_namespaces.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| labels? | record | Optional. Labels for this Namespace. |
| name? | string | The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}` |
| namespaceLabels? | record | Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (`namespace_labels` in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant. |
| scope? | string | Required. Scope associated with the namespace |
| state? | object | NamespaceLifecycleState describes the state of a Namespace resource. |
| scopeNamespaceId? | string | Required. Client chosen ID for the Namespace. `namespace_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a namespaces
fn get(identifier: string)
Get a namespaces
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the namespaces |
fn update()
Update namespaces attributes
fn delete(identifier: string)
Delete the namespaces
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the namespaces |
fn sync()
Sync namespaces state from GCP
fn list(pageSize?: number, maxPages?: number)
List namespaces resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Namespace represents a namespace across the Fleet
@swamp/gcp/gkehub/scopes-rbacrolebindingsv2026.06.08.1scopes_rbacrolebindings.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| group? | string | group is the group, as seen by the kubernetes cluster. |
| labels? | record | Optional. Labels for this RBACRolebinding. |
| name? | string | The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}` |
| role? | object | Role is the type for Kubernetes roles |
| state? | object | RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource. |
| user? | string | user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld" |
| rbacrolebindingId? | string | Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a rbacrolebindings
fn get(identifier: string)
Get a rbacrolebindings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the rbacrolebindings |
fn update()
Update rbacrolebindings attributes
fn delete(identifier: string)
Delete the rbacrolebindings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the rbacrolebindings |
fn sync()
Sync rbacrolebindings state from GCP
fn list(pageSize?: number, maxPages?: number)
List rbacrolebindings resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— RBACRoleBinding represents a rbacrolebinding across the Fleet
04Previous Versions
2026.06.08.2Jun 8, 2026
- Updated: locations, memberships_features, fleets, features, memberships, memberships_bindings, memberships_rbacrolebindings, scopes, scopes_namespaces, scopes_rbacrolebindings
2026.06.07.1Jun 7, 2026
- Updated: locations, memberships_features, fleets, features, memberships, memberships_bindings, memberships_rbacrolebindings, scopes, scopes_namespaces, scopes_rbacrolebindings
2026.06.05.2Jun 5, 2026
- Added: fleets, features, memberships, memberships_bindings, memberships_rbacrolebindings, scopes, scopes_namespaces, scopes_rbacrolebindings
Added 8 models
2026.06.05.1Jun 5, 2026
- Updated: memberships_features
2026.05.26.1May 26, 2026
- Updated: locations
2026.05.25.1May 25, 2026
- Updated: locations, memberships_features
Modified 2 models
2026.05.24.1May 24, 2026
- Updated: locations, memberships_features
2026.05.21.2May 21, 2026
- Updated: locations, memberships_features
2026.05.21.1May 21, 2026
2026.05.19.2May 19, 2026
2026.05.19.1May 19, 2026
2026.05.18.1May 18, 2026
2026.04.23.1Apr 23, 2026
2026.04.04.1Apr 4, 2026
- Updated: memberships_features
2026.04.03.3Apr 3, 2026
- Updated: locations, memberships_features
2026.04.03.1Apr 3, 2026
- Updated: locations, memberships_features
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
- Added: locations, memberships_features
05Stats
A
100 / 100
Downloads
0
Archive size
218.2 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels