Class Id
Identifies a particular object, including both Users and DirEntries. This Id is unique across the entire server instance, such as the production or qa instance.
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class Id : IDirectResponseSchema
Properties
CreatorUserId
The User account in which the DirEntry was originally created. If name_space==GAIA, then it's the gaia_id of
the user this id is referring to. This field should really be called the "bucket ID", not the creator ID. In
some circumstances, such as copying a Google Docs file, a user can create an item in a different user's
bucket, so it should not be relied upon for anything other than bucket location. To look up the requesting
user who initially created item, use the creator_id DirEntry field instead.
Declaration
[JsonProperty("creatorUserId")]
public virtual ulong? CreatorUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LocalId
The local identifier for the DirEntry (local to the creator's account). local_id + app_name is guaranteed to be unique within the creator account, but not across all User accounts. The string is case sensitive. Ignore if name_space==GAIA. NB For name_space==COSMO, all local_id's should be defined in google3/java/com/google/storage/cosmo/server/api/SpecialObjectIds.java as they have a special predefined meaning. See cosmo.client.CosmoIdFactory.createObjectId(long,String) for IMPORTANT recommendations when generating IDs.
Declaration
[JsonProperty("localId")]
public virtual string LocalId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NameSpace__
The name space in which this id is unique (typically the application that created it). Values should be drawn from the above enum, but for experimentation, use values greater than 1000.
Declaration
[JsonProperty("nameSpace")]
public virtual int? NameSpace__ { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |