Class Url
Inheritance
System.Object
Url
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Urlshortener.v1.Data
Assembly: Google.Apis.Urlshortener.v1.dll
Syntax
public class Url : IDirectResponseSchema
Properties
Analytics
A summary of the click analytics for the short and long URL. Might not be present if not requested or currently unavailable.
Declaration
[JsonProperty("analytics")]
public virtual AnalyticsSummary Analytics { get; set; }
Property Value
Type | Description |
---|---|
AnalyticsSummary |
Created
Time the short URL was created; ISO 8601 representation using the yyyy-MM-dd'T'HH:mm:ss.SSSZZ format, e.g. "2010-10-14T19:01:24.944+00:00".
Declaration
[JsonProperty("created")]
public virtual string Created { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Short URL, e.g. "http://goo.gl/l6MS".
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kind
The fixed string "urlshortener#url".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LongUrl
Long URL, e.g. "http://www.google.com/". Might not be present if the status is "REMOVED".
Declaration
[JsonProperty("longUrl")]
public virtual string LongUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Status
Status of the target URL. Possible values: "OK", "MALWARE", "PHISHING", or "REMOVED". A URL might be marked "REMOVED" if it was flagged as spam, for example.
Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type | Description |
---|---|
System.String |