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.
Implements
Inherited Members
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 |
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 |