google_api_digital_asset_links v0.2.0 GoogleApi.DigitalAssetLinks.V1.Model.Statement View Source
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.
Attributes
relation
(type:String.t
, default:nil
) - 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
<kind>/<detail>
, where<kind>
must be one of a set of pre-defined purpose categories, and<detail>
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
REQUIREDsource
(type:GoogleApi.DigitalAssetLinks.V1.Model.Asset.t
, default:nil
) - Every statement has a source asset. REQUIREDtarget
(type:GoogleApi.DigitalAssetLinks.V1.Model.Asset.t
, default:nil
) - Every statement has a target asset. REQUIRED
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Source
t() :: %GoogleApi.DigitalAssetLinks.V1.Model.Statement{
relation: String.t(),
source: GoogleApi.DigitalAssetLinks.V1.Model.Asset.t(),
target: GoogleApi.DigitalAssetLinks.V1.Model.Asset.t()
}
t() :: %GoogleApi.DigitalAssetLinks.V1.Model.Statement{ relation: String.t(), source: GoogleApi.DigitalAssetLinks.V1.Model.Asset.t(), target: GoogleApi.DigitalAssetLinks.V1.Model.Asset.t() }
Link to this section Functions
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.