REST Resource: projects.locations.scopes

Resource: Scope

Scope represents a Scope in a Fleet.

JSON representation
{
  "name": string,
  "uid": string,
  "createTime": string,
  "updateTime": string,
  "deleteTime": string,
  "state": {
    object (ScopeLifecycleState)
  },
  "namespaceLabels": {
    string: string,
    ...
  },
  "labels": {
    string: string,
    ...
  }
}
Fields
name

string

The resource name for the scope projects/{project}/locations/{location}/scopes/{scope}

uid

string

Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.

createTime

string (Timestamp format)

Output only. When the scope was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. When the scope was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

deleteTime

string (Timestamp format)

Output only. When the scope was deleted.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

state

object (ScopeLifecycleState)

Output only. State of the scope resource.

namespaceLabels

map (key: string, value: string)

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 (namespaceLabels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

labels

map (key: string, value: string)

Optional. Labels for this Scope.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

ScopeLifecycleState

ScopeLifecycleState describes the state of a Scope resource.

JSON representation
{
  "code": enum (ScopeLifecycleState.Code)
}
Fields
code

enum (ScopeLifecycleState.Code)

Output only. The current state of the scope resource.

ScopeLifecycleState.Code

Code describes the state of a Scope resource.

Enums
CODE_UNSPECIFIED The code is not set.
CREATING The scope is being created.
READY The scope active.
DELETING The scope is being deleted.
UPDATING The scope is being updated.

Methods

create

Creates a Scope.

delete

Deletes a Scope.

get

Returns the details of a Scope.

getIamPolicy

Gets the access control policy for a resource.

list

Lists Scopes.

listMemberships

Lists Memberships bound to a Scope.

listPermitted

Lists permitted Scopes.

patch

Updates a scopes.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.