REST Resource: projects.locations.codeRepositoryIndexes

Resource: CodeRepositoryIndex

Message describing CodeRepositoryIndex object

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "state": enum (State),
  "labels": {
    string: string,
    ...
  },
  "kmsKey": string
}
Fields
name

string

Immutable. Identifier. name of resource

createTime

string (Timestamp format)

Output only. Create time stamp

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. Update time stamp

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

enum (State)

Output only. Code Repository Index instance State

labels

map (key: string, value: string)

Optional. Labels as key value pairs

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

kmsKey

string

Optional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.

State

Code Repository Index instance state.

Enums
STATE_UNSPECIFIED Not set.
CREATING Instance is being created.
ACTIVE Instance is active.
DELETING Instance is being deleted.
SUSPENDED Instance is suspended.

Methods

create

Creates a new CodeRepositoryIndex in a given project and location.

delete

Deletes a single CodeRepositoryIndex.

get

Gets details of a single CodeRepositoryIndex.

list

Lists CodeRepositoryIndexes in a given project and location.

patch

Updates the parameters of a single CodeRepositoryIndex.