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

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

updateTime

string ( Timestamp format)

Output only. Update time stamp

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

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.
Design a Mobile Site
View Site in Mobile | Classic
Share by: