google-apis-digitalassetlinks_v1 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/digitalassetlinks_v1/classes.rb +147 -0
- data/lib/google/apis/digitalassetlinks_v1/gem_version.rb +3 -3
- data/lib/google/apis/digitalassetlinks_v1/representations.rb +54 -0
- data/lib/google/apis/digitalassetlinks_v1/service.rb +52 -2
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 858dbd99b2219d2047bf68ffb2fae7b508835b6c4b2866593ecd7ed52bb5b5db
|
4
|
+
data.tar.gz: b65b792b99ea0df8d35bdb2fb19612fffa974b0d7fbc7e7b2be2e128885d0296
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30fd3ed37d3f83b1509001a6536b556484dbd91571fd9f5c4a88635cfa7e9aaa657e828ab4cb14dff6df1b6f7dfe2b7d0461a68795d5f16b4c8c4b15a73b781d
|
7
|
+
data.tar.gz: a0affcef0eabc0e22a9e6030342d6194f7925bcfab3924d4239c17a80315563c0bc3be58e275d39066186f5ab954e1c16074c3f3faeb531234f133b91a6e5c1d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-digitalassetlinks_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2025-04-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250405
|
6
|
+
|
7
|
+
### v0.19.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250211
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.18.0 (2024-11-17)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241109
|
@@ -76,6 +76,89 @@ module Google
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
|
+
# Message used to check for the existence of multiple digital asset links within
|
80
|
+
# a single RPC.
|
81
|
+
class BulkCheckRequest
|
82
|
+
include Google::Apis::Core::Hashable
|
83
|
+
|
84
|
+
# If specified, will be used in any given template statement that doesn’t
|
85
|
+
# specify a relation.
|
86
|
+
# Corresponds to the JSON property `defaultRelation`
|
87
|
+
# @return [String]
|
88
|
+
attr_accessor :default_relation
|
89
|
+
|
90
|
+
# Uniquely identifies an asset. A digital asset is an identifiable and
|
91
|
+
# addressable online entity that typically provides some service or content.
|
92
|
+
# Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
|
93
|
+
# Corresponds to the JSON property `defaultSource`
|
94
|
+
# @return [Google::Apis::DigitalassetlinksV1::Asset]
|
95
|
+
attr_accessor :default_source
|
96
|
+
|
97
|
+
# Uniquely identifies an asset. A digital asset is an identifiable and
|
98
|
+
# addressable online entity that typically provides some service or content.
|
99
|
+
# Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
|
100
|
+
# Corresponds to the JSON property `defaultTarget`
|
101
|
+
# @return [Google::Apis::DigitalassetlinksV1::Asset]
|
102
|
+
attr_accessor :default_target
|
103
|
+
|
104
|
+
# Same configuration as in CheckRequest; all statement checks will use the same
|
105
|
+
# configuration.
|
106
|
+
# Corresponds to the JSON property `returnRelationExtensions`
|
107
|
+
# @return [Boolean]
|
108
|
+
attr_accessor :return_relation_extensions
|
109
|
+
alias_method :return_relation_extensions?, :return_relation_extensions
|
110
|
+
|
111
|
+
# List of statements to check. For each statement, you can omit a field if the
|
112
|
+
# corresponding default_* field below was supplied. Minimum 1 statement; maximum
|
113
|
+
# 1,000 statements. Any additional statements will be ignored.
|
114
|
+
# Corresponds to the JSON property `statements`
|
115
|
+
# @return [Array<Google::Apis::DigitalassetlinksV1::StatementTemplate>]
|
116
|
+
attr_accessor :statements
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
@default_relation = args[:default_relation] if args.key?(:default_relation)
|
125
|
+
@default_source = args[:default_source] if args.key?(:default_source)
|
126
|
+
@default_target = args[:default_target] if args.key?(:default_target)
|
127
|
+
@return_relation_extensions = args[:return_relation_extensions] if args.key?(:return_relation_extensions)
|
128
|
+
@statements = args[:statements] if args.key?(:statements)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# Response for BulkCheck call. Results are sent in a list in the same order in
|
133
|
+
# which they were sent. Individual check errors are described in the appropriate
|
134
|
+
# check_results entry. If the entire call fails, the response will include a
|
135
|
+
# bulk_error_code field describing the error.
|
136
|
+
class BulkCheckResponse
|
137
|
+
include Google::Apis::Core::Hashable
|
138
|
+
|
139
|
+
# Error code for the entire request. Present only if the entire request failed.
|
140
|
+
# Individual check errors will not trigger the presence of this field.
|
141
|
+
# Corresponds to the JSON property `bulkErrorCode`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :bulk_error_code
|
144
|
+
|
145
|
+
# List of results for each check request. Results are returned in the same order
|
146
|
+
# in which they were sent in the request.
|
147
|
+
# Corresponds to the JSON property `checkResults`
|
148
|
+
# @return [Array<Google::Apis::DigitalassetlinksV1::CheckResponse>]
|
149
|
+
attr_accessor :check_results
|
150
|
+
|
151
|
+
def initialize(**args)
|
152
|
+
update!(**args)
|
153
|
+
end
|
154
|
+
|
155
|
+
# Update properties of this object
|
156
|
+
def update!(**args)
|
157
|
+
@bulk_error_code = args[:bulk_error_code] if args.key?(:bulk_error_code)
|
158
|
+
@check_results = args[:check_results] if args.key?(:check_results)
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
79
162
|
# Describes an X509 certificate.
|
80
163
|
class CertificateInfo
|
81
164
|
include Google::Apis::Core::Hashable
|
@@ -139,6 +222,15 @@ module Google
|
|
139
222
|
# @return [String]
|
140
223
|
attr_accessor :max_age
|
141
224
|
|
225
|
+
# Statements may specify relation level extensions/payloads to express more
|
226
|
+
# details when declaring permissions to grant from the source asset to the
|
227
|
+
# target asset. When requested, the API will return relation_extensions
|
228
|
+
# specified in any and all statements linking the requested source and target
|
229
|
+
# assets by the relation specified in the request.
|
230
|
+
# Corresponds to the JSON property `relationExtensions`
|
231
|
+
# @return [Array<Hash<String,Object>>]
|
232
|
+
attr_accessor :relation_extensions
|
233
|
+
|
142
234
|
def initialize(**args)
|
143
235
|
update!(**args)
|
144
236
|
end
|
@@ -149,6 +241,7 @@ module Google
|
|
149
241
|
@error_code = args[:error_code] if args.key?(:error_code)
|
150
242
|
@linked = args[:linked] if args.key?(:linked)
|
151
243
|
@max_age = args[:max_age] if args.key?(:max_age)
|
244
|
+
@relation_extensions = args[:relation_extensions] if args.key?(:relation_extensions)
|
152
245
|
end
|
153
246
|
end
|
154
247
|
|
@@ -217,6 +310,60 @@ module Google
|
|
217
310
|
# @return [String]
|
218
311
|
attr_accessor :relation
|
219
312
|
|
313
|
+
# Statements may specify relation level extensions/payloads to express more
|
314
|
+
# details when declaring permissions to grant from the source asset to the
|
315
|
+
# target asset. These relation extensions should be specified in the `
|
316
|
+
# relation_extensions` object, keyed by the relation type they're associated
|
317
|
+
# with. ` relation: ["delegate_permission/common.handle_all_urls"], target: `...`
|
318
|
+
# , relation_extensions: ` "delegate_permission/common.handle_all_urls": ` ...
|
319
|
+
# handle_all_urls specific payload specified here... ` ` ` When requested, and
|
320
|
+
# specified in the statement file, the API will return relation_extensions
|
321
|
+
# associated with the statement's relation type. i.e. the API will only return
|
322
|
+
# relation_extensions specified for "delegate_permission/common.handle_all_urls"
|
323
|
+
# if this statement object's relation type is "delegate_permission/common.
|
324
|
+
# handle_all_urls".
|
325
|
+
# Corresponds to the JSON property `relationExtensions`
|
326
|
+
# @return [Hash<String,Object>]
|
327
|
+
attr_accessor :relation_extensions
|
328
|
+
|
329
|
+
# Uniquely identifies an asset. A digital asset is an identifiable and
|
330
|
+
# addressable online entity that typically provides some service or content.
|
331
|
+
# Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
|
332
|
+
# Corresponds to the JSON property `source`
|
333
|
+
# @return [Google::Apis::DigitalassetlinksV1::Asset]
|
334
|
+
attr_accessor :source
|
335
|
+
|
336
|
+
# Uniquely identifies an asset. A digital asset is an identifiable and
|
337
|
+
# addressable online entity that typically provides some service or content.
|
338
|
+
# Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
|
339
|
+
# Corresponds to the JSON property `target`
|
340
|
+
# @return [Google::Apis::DigitalassetlinksV1::Asset]
|
341
|
+
attr_accessor :target
|
342
|
+
|
343
|
+
def initialize(**args)
|
344
|
+
update!(**args)
|
345
|
+
end
|
346
|
+
|
347
|
+
# Update properties of this object
|
348
|
+
def update!(**args)
|
349
|
+
@relation = args[:relation] if args.key?(:relation)
|
350
|
+
@relation_extensions = args[:relation_extensions] if args.key?(:relation_extensions)
|
351
|
+
@source = args[:source] if args.key?(:source)
|
352
|
+
@target = args[:target] if args.key?(:target)
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
# A single statement to check in a bulk call using BulkCheck. See CheckRequest
|
357
|
+
# for details about each field.
|
358
|
+
class StatementTemplate
|
359
|
+
include Google::Apis::Core::Hashable
|
360
|
+
|
361
|
+
# The relationship being asserted between the source and target. If omitted, you
|
362
|
+
# must specify a BulkCheckRequest.default_relation value to use here.
|
363
|
+
# Corresponds to the JSON property `relation`
|
364
|
+
# @return [String]
|
365
|
+
attr_accessor :relation
|
366
|
+
|
220
367
|
# Uniquely identifies an asset. A digital asset is an identifiable and
|
221
368
|
# addressable online entity that typically provides some service or content.
|
222
369
|
# Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DigitalassetlinksV1
|
18
18
|
# Version of the google-apis-digitalassetlinks_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250405"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,18 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class BulkCheckRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class BulkCheckResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class CertificateInfo
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
@@ -58,6 +70,12 @@ module Google
|
|
58
70
|
include Google::Apis::Core::JsonObjectSupport
|
59
71
|
end
|
60
72
|
|
73
|
+
class StatementTemplate
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
61
79
|
class WebAsset
|
62
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
81
|
|
@@ -83,6 +101,29 @@ module Google
|
|
83
101
|
end
|
84
102
|
end
|
85
103
|
|
104
|
+
class BulkCheckRequest
|
105
|
+
# @private
|
106
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
107
|
+
property :default_relation, as: 'defaultRelation'
|
108
|
+
property :default_source, as: 'defaultSource', class: Google::Apis::DigitalassetlinksV1::Asset, decorator: Google::Apis::DigitalassetlinksV1::Asset::Representation
|
109
|
+
|
110
|
+
property :default_target, as: 'defaultTarget', class: Google::Apis::DigitalassetlinksV1::Asset, decorator: Google::Apis::DigitalassetlinksV1::Asset::Representation
|
111
|
+
|
112
|
+
property :return_relation_extensions, as: 'returnRelationExtensions'
|
113
|
+
collection :statements, as: 'statements', class: Google::Apis::DigitalassetlinksV1::StatementTemplate, decorator: Google::Apis::DigitalassetlinksV1::StatementTemplate::Representation
|
114
|
+
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
class BulkCheckResponse
|
119
|
+
# @private
|
120
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
121
|
+
property :bulk_error_code, as: 'bulkErrorCode'
|
122
|
+
collection :check_results, as: 'checkResults', class: Google::Apis::DigitalassetlinksV1::CheckResponse, decorator: Google::Apis::DigitalassetlinksV1::CheckResponse::Representation
|
123
|
+
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
86
127
|
class CertificateInfo
|
87
128
|
# @private
|
88
129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -97,6 +138,7 @@ module Google
|
|
97
138
|
collection :error_code, as: 'errorCode'
|
98
139
|
property :linked, as: 'linked'
|
99
140
|
property :max_age, as: 'maxAge'
|
141
|
+
collection :relation_extensions, as: 'relationExtensions'
|
100
142
|
end
|
101
143
|
end
|
102
144
|
|
@@ -112,6 +154,18 @@ module Google
|
|
112
154
|
end
|
113
155
|
|
114
156
|
class Statement
|
157
|
+
# @private
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
159
|
+
property :relation, as: 'relation'
|
160
|
+
hash :relation_extensions, as: 'relationExtensions'
|
161
|
+
property :source, as: 'source', class: Google::Apis::DigitalassetlinksV1::Asset, decorator: Google::Apis::DigitalassetlinksV1::Asset::Representation
|
162
|
+
|
163
|
+
property :target, as: 'target', class: Google::Apis::DigitalassetlinksV1::Asset, decorator: Google::Apis::DigitalassetlinksV1::Asset::Representation
|
164
|
+
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class StatementTemplate
|
115
169
|
# @private
|
116
170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
117
171
|
property :relation, as: 'relation'
|
@@ -51,6 +51,39 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
+
# Send a bundle of statement checks in a single RPC to minimize latency and
|
55
|
+
# service load. Statements need not be all for the same source and/or target. We
|
56
|
+
# recommend using this method when you need to check more than one statement in
|
57
|
+
# a short period of time.
|
58
|
+
# @param [Google::Apis::DigitalassetlinksV1::BulkCheckRequest] bulk_check_request_object
|
59
|
+
# @param [String] fields
|
60
|
+
# Selector specifying which fields to include in a partial response.
|
61
|
+
# @param [String] quota_user
|
62
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
63
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
64
|
+
# @param [Google::Apis::RequestOptions] options
|
65
|
+
# Request-specific options
|
66
|
+
#
|
67
|
+
# @yield [result, err] Result & error if block supplied
|
68
|
+
# @yieldparam result [Google::Apis::DigitalassetlinksV1::BulkCheckResponse] parsed result object
|
69
|
+
# @yieldparam err [StandardError] error object if request failed
|
70
|
+
#
|
71
|
+
# @return [Google::Apis::DigitalassetlinksV1::BulkCheckResponse]
|
72
|
+
#
|
73
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
+
def bulk_assetlink_check(bulk_check_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
+
command = make_simple_command(:post, 'v1/assetlinks:bulkCheck', options)
|
78
|
+
command.request_representation = Google::Apis::DigitalassetlinksV1::BulkCheckRequest::Representation
|
79
|
+
command.request_object = bulk_check_request_object
|
80
|
+
command.response_representation = Google::Apis::DigitalassetlinksV1::BulkCheckResponse::Representation
|
81
|
+
command.response_class = Google::Apis::DigitalassetlinksV1::BulkCheckResponse
|
82
|
+
command.query['fields'] = fields unless fields.nil?
|
83
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
84
|
+
execute_or_queue_command(command, &block)
|
85
|
+
end
|
86
|
+
|
54
87
|
# Determines whether the specified (directional) relationship exists between the
|
55
88
|
# specified source and target assets. The relation describes the intent of the
|
56
89
|
# link between the two assets as claimed by the source asset. An example for
|
@@ -79,6 +112,14 @@ module Google
|
|
79
112
|
# relation strings must match exactly. Example: A query with relation `
|
80
113
|
# delegate_permission/common.handle_all_urls` matches an asset link with
|
81
114
|
# relation `delegate_permission/common.handle_all_urls`.
|
115
|
+
# @param [Boolean] return_relation_extensions
|
116
|
+
# Whether to return relation_extensions payloads specified in the source Digital
|
117
|
+
# Asset Links statements linking the requested source and target assets by the
|
118
|
+
# requested relation type. If this is set to `false` (default),
|
119
|
+
# relation_extensions specified will not be returned, even if they are specified
|
120
|
+
# in the DAL statement file. If set to `true`, the API will propagate any and
|
121
|
+
# all relation_extensions, across statements, linking the source and target
|
122
|
+
# assets by the requested relation type, if specified in the DAL statement file.
|
82
123
|
# @param [String] source_android_app_certificate_sha256_fingerprint
|
83
124
|
# The uppercase SHA-265 fingerprint of the certificate. From the PEM certificate,
|
84
125
|
# it can be acquired like this: $ keytool -printcert -file $CERTFILE | grep
|
@@ -160,11 +201,12 @@ module Google
|
|
160
201
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
161
202
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
162
203
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
163
|
-
def check_assetlink(relation: nil, source_android_app_certificate_sha256_fingerprint: nil, source_android_app_package_name: nil, source_web_site: nil, target_android_app_certificate_sha256_fingerprint: nil, target_android_app_package_name: nil, target_web_site: nil, fields: nil, quota_user: nil, options: nil, &block)
|
204
|
+
def check_assetlink(relation: nil, return_relation_extensions: nil, source_android_app_certificate_sha256_fingerprint: nil, source_android_app_package_name: nil, source_web_site: nil, target_android_app_certificate_sha256_fingerprint: nil, target_android_app_package_name: nil, target_web_site: nil, fields: nil, quota_user: nil, options: nil, &block)
|
164
205
|
command = make_simple_command(:get, 'v1/assetlinks:check', options)
|
165
206
|
command.response_representation = Google::Apis::DigitalassetlinksV1::CheckResponse::Representation
|
166
207
|
command.response_class = Google::Apis::DigitalassetlinksV1::CheckResponse
|
167
208
|
command.query['relation'] = relation unless relation.nil?
|
209
|
+
command.query['returnRelationExtensions'] = return_relation_extensions unless return_relation_extensions.nil?
|
168
210
|
command.query['source.androidApp.certificate.sha256Fingerprint'] = source_android_app_certificate_sha256_fingerprint unless source_android_app_certificate_sha256_fingerprint.nil?
|
169
211
|
command.query['source.androidApp.packageName'] = source_android_app_package_name unless source_android_app_package_name.nil?
|
170
212
|
command.query['source.web.site'] = source_web_site unless source_web_site.nil?
|
@@ -197,6 +239,13 @@ module Google
|
|
197
239
|
# string is empty or missing. Example: A query with relation `
|
198
240
|
# delegate_permission/common.handle_all_urls` matches an asset link with
|
199
241
|
# relation `delegate_permission/common.handle_all_urls`.
|
242
|
+
# @param [Boolean] return_relation_extensions
|
243
|
+
# Whether to return any relation_extensions payloads specified in the source
|
244
|
+
# digital asset links statements. If this is set to `false` (default),
|
245
|
+
# relation_extensions specified will not be returned, even if they are specified
|
246
|
+
# in the DAL statement file. If set to `true`, the API will propagate
|
247
|
+
# relation_extensions associated with each statement's relation type, if
|
248
|
+
# specified in the DAL statement file.
|
200
249
|
# @param [String] source_android_app_certificate_sha256_fingerprint
|
201
250
|
# The uppercase SHA-265 fingerprint of the certificate. From the PEM certificate,
|
202
251
|
# it can be acquired like this: $ keytool -printcert -file $CERTFILE | grep
|
@@ -246,11 +295,12 @@ module Google
|
|
246
295
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
247
296
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
248
297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
249
|
-
def list_statements(relation: nil, source_android_app_certificate_sha256_fingerprint: nil, source_android_app_package_name: nil, source_web_site: nil, fields: nil, quota_user: nil, options: nil, &block)
|
298
|
+
def list_statements(relation: nil, return_relation_extensions: nil, source_android_app_certificate_sha256_fingerprint: nil, source_android_app_package_name: nil, source_web_site: nil, fields: nil, quota_user: nil, options: nil, &block)
|
250
299
|
command = make_simple_command(:get, 'v1/statements:list', options)
|
251
300
|
command.response_representation = Google::Apis::DigitalassetlinksV1::ListResponse::Representation
|
252
301
|
command.response_class = Google::Apis::DigitalassetlinksV1::ListResponse
|
253
302
|
command.query['relation'] = relation unless relation.nil?
|
303
|
+
command.query['returnRelationExtensions'] = return_relation_extensions unless return_relation_extensions.nil?
|
254
304
|
command.query['source.androidApp.certificate.sha256Fingerprint'] = source_android_app_certificate_sha256_fingerprint unless source_android_app_certificate_sha256_fingerprint.nil?
|
255
305
|
command.query['source.androidApp.packageName'] = source_android_app_package_name unless source_android_app_package_name.nil?
|
256
306
|
command.query['source.web.site'] = source_web_site unless source_web_site.nil?
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-digitalassetlinks_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-digitalassetlinks_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-digitalassetlinks_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-digitalassetlinks_v1/v0.20.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-digitalassetlinks_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Digital Asset Links API V1
|
82
79
|
test_files: []
|