@@ -112,6 +112,14 @@ def bulk_assetlink_check(bulk_check_request_object = nil, fields: nil, quota_use
112112 # relation strings must match exactly. Example: A query with relation `
113113 # delegate_permission/common.handle_all_urls` matches an asset link with
114114 # 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.
115123 # @param [String] source_android_app_certificate_sha256_fingerprint
116124 # The uppercase SHA-265 fingerprint of the certificate. From the PEM certificate,
117125 # it can be acquired like this: $ keytool -printcert -file $CERTFILE | grep
@@ -193,11 +201,12 @@ def bulk_assetlink_check(bulk_check_request_object = nil, fields: nil, quota_use
193201 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194202 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195203 # @raise [Google::Apis::AuthorizationError] Authorization is required
196- 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 )
197205 command = make_simple_command ( :get , 'v1/assetlinks:check' , options )
198206 command . response_representation = Google ::Apis ::DigitalassetlinksV1 ::CheckResponse ::Representation
199207 command . response_class = Google ::Apis ::DigitalassetlinksV1 ::CheckResponse
200208 command . query [ 'relation' ] = relation unless relation . nil?
209+ command . query [ 'returnRelationExtensions' ] = return_relation_extensions unless return_relation_extensions . nil?
201210 command . query [ 'source.androidApp.certificate.sha256Fingerprint' ] = source_android_app_certificate_sha256_fingerprint unless source_android_app_certificate_sha256_fingerprint . nil?
202211 command . query [ 'source.androidApp.packageName' ] = source_android_app_package_name unless source_android_app_package_name . nil?
203212 command . query [ 'source.web.site' ] = source_web_site unless source_web_site . nil?
@@ -230,6 +239,13 @@ def check_assetlink(relation: nil, source_android_app_certificate_sha256_fingerp
230239 # string is empty or missing. Example: A query with relation `
231240 # delegate_permission/common.handle_all_urls` matches an asset link with
232241 # 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.
233249 # @param [String] source_android_app_certificate_sha256_fingerprint
234250 # The uppercase SHA-265 fingerprint of the certificate. From the PEM certificate,
235251 # it can be acquired like this: $ keytool -printcert -file $CERTFILE | grep
@@ -279,11 +295,12 @@ def check_assetlink(relation: nil, source_android_app_certificate_sha256_fingerp
279295 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
280296 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
281297 # @raise [Google::Apis::AuthorizationError] Authorization is required
282- 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 )
283299 command = make_simple_command ( :get , 'v1/statements:list' , options )
284300 command . response_representation = Google ::Apis ::DigitalassetlinksV1 ::ListResponse ::Representation
285301 command . response_class = Google ::Apis ::DigitalassetlinksV1 ::ListResponse
286302 command . query [ 'relation' ] = relation unless relation . nil?
303+ command . query [ 'returnRelationExtensions' ] = return_relation_extensions unless return_relation_extensions . nil?
287304 command . query [ 'source.androidApp.certificate.sha256Fingerprint' ] = source_android_app_certificate_sha256_fingerprint unless source_android_app_certificate_sha256_fingerprint . nil?
288305 command . query [ 'source.androidApp.packageName' ] = source_android_app_package_name unless source_android_app_package_name . nil?
289306 command . query [ 'source.web.site' ] = source_web_site unless source_web_site . nil?
0 commit comments