google_api_digital_asset_links v0.2.1 GoogleApi.DigitalAssetLinks.V1.Model.WebAsset View Source
Describes a web asset.
Attributes
site
(type:String.t
, default:nil
) - Web assets are identified by a URL that contains only the scheme, hostname and port parts. The format ishttp[s]://<hostname>[:<port>]
Hostnames must be fully qualified: they must end in a single period ("
.
").Only the schemes "http" and "https" are currently allowed.
Port numbers are given as a decimal number, and they must be omitted if the standard port numbers are used: 80 for http and 443 for https.
We call this limited URL the "site". All URLs that share the same scheme, hostname and port are considered to be a part of the site and thus belong to the web asset.
Example: the asset with the site
https://www.google.com
contains all these URLs:https://www.google.com/
https://www.google.com:443/
https://www.google.com/foo
https://www.google.com/foo?bar
https://www.google.com/foo#bar
https://user@password:www.google.com/
But it does not contain these URLs:
http://www.google.com/
(wrong scheme)https://google.com/
(hostname does not match)https://www.google.com:444/
(port does not match) 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.WebAsset{site: String.t()}
t() :: %GoogleApi.DigitalAssetLinks.V1.Model.WebAsset{site: String.t()}
Link to this section Functions
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.