Show / Hide Table of Contents

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.

Inheritance
object
Id
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

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?

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX