Show / Hide Table of Contents

Class Statement

Describes a reliable statement that has been made about the relationship between a source asset and a target asset. Statements are always made by the source asset, either directly or by delegating to a statement list that is stored elsewhere. For more detailed definitions of statements and assets, please refer to our API documentation landing page.

Inheritance
object
Statement
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.Digitalassetlinks.v1.Data
Assembly: Google.Apis.Digitalassetlinks.v1.dll
Syntax
public class Statement : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Relation

The relation identifies the use of the statement as intended by the source asset's owner (that is, the person or entity who issued the statement). Every complete statement has a relation. We identify relations with strings of the format /, where must be one of a set of pre-defined purpose categories, and is a free-form lowercase alphanumeric string that describes the specific use case of the statement. Refer to our API documentation for the current list of supported relations. Example: delegate_permission/common.handle_all_urls REQUIRED

Declaration
[JsonProperty("relation")]
public virtual string Relation { get; set; }
Property Value
Type Description
string

RelationExtensions

Statements may specify relation level extensions/payloads to express more details when declaring permissions to grant from the source asset to the target asset. These relation extensions should be specified in the relation_extensions object, keyed by the relation type they're associated with. { relation: ["delegate_permission/common.handle_all_urls"], target: {...}, relation_extensions: { "delegate_permission/common.handle_all_urls": { ...handle_all_urls specific payload specified here... } } } When requested, and specified in the statement file, the API will return relation_extensions associated with the statement's relation type. i.e. the API will only return relation_extensions specified for "delegate_permission/common.handle_all_urls" if this statement object's relation type is "delegate_permission/common.handle_all_urls".

Declaration
[JsonProperty("relationExtensions")]
public virtual IDictionary<string, object> RelationExtensions { get; set; }
Property Value
Type Description
IDictionary<string, object>

Source

Every statement has a source asset. REQUIRED

Declaration
[JsonProperty("source")]
public virtual Asset Source { get; set; }
Property Value
Type Description
Asset

Target

Every statement has a target asset. REQUIRED

Declaration
[JsonProperty("target")]
public virtual Asset Target { get; set; }
Property Value
Type Description
Asset

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX