You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send a bundle of statement checks in a single RPC to minimize latency and service load. Statements need not be all for the same source and/or target. We recommend using this method when you need to check more than one statement in a short period of time.
30
+
31
+
## Parameters
32
+
33
+
* `connection` (*type:* `GoogleApi.DigitalAssetLinks.V1.Connection.t`) - Connection to server
* `:alt` (*type:* `String.t`) - Data format for response.
38
+
* `:callback` (*type:* `String.t`) - JSONP
39
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
40
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
41
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
42
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
43
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
44
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
45
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
Determines whether the specified (directional) relationship exists between the specified source and target assets. The relation describes the intent of the link between the two assets as claimed by the source asset. An example for such relationships is the delegation of privileges or permissions. This command is most often used by infrastructure systems to check preconditions for an action. For example, a client may want to know if it is OK to send a web URL to a particular mobile app instead. The client can check for the relevant asset link from the website to the mobile app to decide if the operation should be allowed. A note about security: if you specify a secure asset as the source, such as an HTTPS website or an Android app, the API will ensure that any statements used to generate the response have been made in a secure way by the owner of that asset. Conversely, if the source asset is an insecure HTTP website (that is, the URL starts with `http://` instead of `https://`), the API cannot verify its statements securely, and it is not possible to ensure that the website's statements have not been altered by a third party. For more information, see the [Digital Asset Links technical design specification](https://github.com/google/digitalassetlinks/blob/master/well-known/details.md).
Message used to check for the existence of multiple digital asset links within a single RPC.
21
+
22
+
## Attributes
23
+
24
+
* `defaultRelation` (*type:* `String.t`, *default:* `nil`) - If specified, will be used in any given template statement that doesn’t specify a relation.
25
+
* `defaultSource` (*type:* `GoogleApi.DigitalAssetLinks.V1.Model.Asset.t`, *default:* `nil`) - If specified, will be used in any given template statement that doesn’t specify a source.
26
+
* `defaultTarget` (*type:* `GoogleApi.DigitalAssetLinks.V1.Model.Asset.t`, *default:* `nil`) - If specified, will be used in any given template statement that doesn’t specify a target.
27
+
* `statements` (*type:* `list(GoogleApi.DigitalAssetLinks.V1.Model.StatementTemplate.t)`, *default:* `nil`) - List of statements to check. For each statement, you can omit a field if the corresponding default_* field below was supplied. Minimum 1 statement; maximum 1,000 statements. Any additional statements will be ignored.
Response for BulkCheck call. Results are sent in a list in the same order in which they were sent. Individual check errors are described in the appropriate check_results entry. If the entire call fails, the response will include a bulk_error_code field describing the error.
21
+
22
+
## Attributes
23
+
24
+
* `bulkErrorCode` (*type:* `String.t`, *default:* `nil`) - Error code for the entire request. Present only if the entire request failed. Individual check errors will not trigger the presence of this field.
25
+
* `checkResults` (*type:* `list(GoogleApi.DigitalAssetLinks.V1.Model.CheckResponse.t)`, *default:* `nil`) - List of results for each check request. Results are returned in the same order in which they were sent in the request.
A single statement to check in a bulk call using BulkCheck. See CheckRequest for details about each field.
21
+
22
+
## Attributes
23
+
24
+
* `relation` (*type:* `String.t`, *default:* `nil`) - The relationship being asserted between the source and target. If omitted, you must specify a BulkCheckRequest.default_relation value to use here.
25
+
* `source` (*type:* `GoogleApi.DigitalAssetLinks.V1.Model.Asset.t`, *default:* `nil`) - The source asset that is asserting the statement. If omitted, you must specify a BulkCheckRequest.default_source value to use here.
26
+
* `target` (*type:* `GoogleApi.DigitalAssetLinks.V1.Model.Asset.t`, *default:* `nil`) - The target that the source is declaring the relationship with. If omitted, you must specify a BulkCheckRequest.default_target to use here.
0 commit comments