google-apis-digitalassetlinks_v1 0.16.0 → 0.18.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4263e22c710bcd0e6bcdeee2d968a85e5eab551e3a07063faf258649d31bd5f
4
- data.tar.gz: bb7229aace5542e99a7b1a42c86a74967513705cfe1a7821700bbccdb62c92ca
3
+ metadata.gz: 35dd7c4b500a6dc3da145b304cfb3cc4ce653177c537854a50aa455469099b5f
4
+ data.tar.gz: de6e4d2ab373cdbed87bea1c257ac6559706c99f52b59bcf03373c4716e2a577
5
5
  SHA512:
6
- metadata.gz: 20c4fca29fabdd4d10b8eca2667fd5e3759d3e7bf73b2937f4ba724cb9d84570daee3b9aec295ba192b31bee27d0c6fdbf9233f235dc4e32c1389da53e20fbed
7
- data.tar.gz: b4574af62471b6236b061c5db3d6bdb5c5c2469f97ae4d7ff5c4f2c4be1ae5a783cca9c464f68b6fc8995a1e634212ecfcbe73d02918c10b0eed0ddeba1c27d7
6
+ metadata.gz: 7eda0e1ed29a88ea527a65ccbd89be91e594cb52ce77e39419df0a2d4e9f7affd7a78c86388f7e243222940fdaa4791a98a73541a51a2b7c83c2202317028d36
7
+ data.tar.gz: 34cf239364071ca71dd522381c14aa01d37fcd4179af2ad0cdce563134bd22202ecb69e083fdffd361b8b5a756cbb58c450677a446d3c9bbcd1d688259f92063
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-digitalassetlinks_v1
2
2
 
3
+ ### v0.18.0 (2024-11-17)
4
+
5
+ * Regenerated from discovery document revision 20241109
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.17.0 (2024-05-26)
9
+
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.16.0 (2024-02-23)
4
13
 
5
14
  * Regenerated using generator version 0.14.0
@@ -76,97 +76,6 @@ 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
- # Same configuration as in Check request, all statements checks will use same
85
- # configurations.
86
- # Corresponds to the JSON property `allowGoogleInternalDataSources`
87
- # @return [Boolean]
88
- attr_accessor :allow_google_internal_data_sources
89
- alias_method :allow_google_internal_data_sources?, :allow_google_internal_data_sources
90
-
91
- # If specified, will be used in any given template statement that doesn’t
92
- # specify a relation.
93
- # Corresponds to the JSON property `defaultRelation`
94
- # @return [String]
95
- attr_accessor :default_relation
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 `defaultSource`
101
- # @return [Google::Apis::DigitalassetlinksV1::Asset]
102
- attr_accessor :default_source
103
-
104
- # Uniquely identifies an asset. A digital asset is an identifiable and
105
- # addressable online entity that typically provides some service or content.
106
- # Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
107
- # Corresponds to the JSON property `defaultTarget`
108
- # @return [Google::Apis::DigitalassetlinksV1::Asset]
109
- attr_accessor :default_target
110
-
111
- # Same configuration as in Check request, all statements checks will use same
112
- # configurations.
113
- # Corresponds to the JSON property `skipCacheLookup`
114
- # @return [Boolean]
115
- attr_accessor :skip_cache_lookup
116
- alias_method :skip_cache_lookup?, :skip_cache_lookup
117
-
118
- # List of statements to check. For each statement, you can omit a field if the
119
- # corresponding default_* field below was supplied. Minimum 1 statement; maximum
120
- # 1,000 statements. Any additional statements will be ignored.
121
- # Corresponds to the JSON property `statements`
122
- # @return [Array<Google::Apis::DigitalassetlinksV1::StatementTemplate>]
123
- attr_accessor :statements
124
-
125
- def initialize(**args)
126
- update!(**args)
127
- end
128
-
129
- # Update properties of this object
130
- def update!(**args)
131
- @allow_google_internal_data_sources = args[:allow_google_internal_data_sources] if args.key?(:allow_google_internal_data_sources)
132
- @default_relation = args[:default_relation] if args.key?(:default_relation)
133
- @default_source = args[:default_source] if args.key?(:default_source)
134
- @default_target = args[:default_target] if args.key?(:default_target)
135
- @skip_cache_lookup = args[:skip_cache_lookup] if args.key?(:skip_cache_lookup)
136
- @statements = args[:statements] if args.key?(:statements)
137
- end
138
- end
139
-
140
- # Response for BulkCheck call. Results are sent in a list in the same order in
141
- # which they were sent. Individual check errors are described in the appropriate
142
- # check_results entry. If the entire call fails, the response will include a
143
- # bulk_error_code field describing the error.
144
- class BulkCheckResponse
145
- include Google::Apis::Core::Hashable
146
-
147
- # Error code for the entire request. Present only if the entire request failed.
148
- # Individual check errors will not trigger the presence of this field.
149
- # Corresponds to the JSON property `bulkErrorCode`
150
- # @return [String]
151
- attr_accessor :bulk_error_code
152
-
153
- # List of results for each check request. Results are returned in the same order
154
- # in which they were sent in the request.
155
- # Corresponds to the JSON property `checkResults`
156
- # @return [Array<Google::Apis::DigitalassetlinksV1::CheckResponse>]
157
- attr_accessor :check_results
158
-
159
- def initialize(**args)
160
- update!(**args)
161
- end
162
-
163
- # Update properties of this object
164
- def update!(**args)
165
- @bulk_error_code = args[:bulk_error_code] if args.key?(:bulk_error_code)
166
- @check_results = args[:check_results] if args.key?(:check_results)
167
- end
168
- end
169
-
170
79
  # Describes an X509 certificate.
171
80
  class CertificateInfo
172
81
  include Google::Apis::Core::Hashable
@@ -334,43 +243,6 @@ module Google
334
243
  end
335
244
  end
336
245
 
337
- # A single statement to check in a bulk call using BulkCheck. See CheckRequest
338
- # for details about each field.
339
- class StatementTemplate
340
- include Google::Apis::Core::Hashable
341
-
342
- # The relationship being asserted between the source and target. If omitted, you
343
- # must specify a BulkCheckRequest.default_relation value to use here.
344
- # Corresponds to the JSON property `relation`
345
- # @return [String]
346
- attr_accessor :relation
347
-
348
- # Uniquely identifies an asset. A digital asset is an identifiable and
349
- # addressable online entity that typically provides some service or content.
350
- # Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
351
- # Corresponds to the JSON property `source`
352
- # @return [Google::Apis::DigitalassetlinksV1::Asset]
353
- attr_accessor :source
354
-
355
- # Uniquely identifies an asset. A digital asset is an identifiable and
356
- # addressable online entity that typically provides some service or content.
357
- # Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
358
- # Corresponds to the JSON property `target`
359
- # @return [Google::Apis::DigitalassetlinksV1::Asset]
360
- attr_accessor :target
361
-
362
- def initialize(**args)
363
- update!(**args)
364
- end
365
-
366
- # Update properties of this object
367
- def update!(**args)
368
- @relation = args[:relation] if args.key?(:relation)
369
- @source = args[:source] if args.key?(:source)
370
- @target = args[:target] if args.key?(:target)
371
- end
372
- end
373
-
374
246
  # Describes a web asset.
375
247
  class WebAsset
376
248
  include Google::Apis::Core::Hashable
@@ -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.16.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220122"
25
+ REVISION = "20241109"
26
26
  end
27
27
  end
28
28
  end
@@ -34,18 +34,6 @@ 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
-
49
37
  class CertificateInfo
50
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
39
 
@@ -70,12 +58,6 @@ module Google
70
58
  include Google::Apis::Core::JsonObjectSupport
71
59
  end
72
60
 
73
- class StatementTemplate
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
61
  class WebAsset
80
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
63
 
@@ -101,30 +83,6 @@ module Google
101
83
  end
102
84
  end
103
85
 
104
- class BulkCheckRequest
105
- # @private
106
- class Representation < Google::Apis::Core::JsonRepresentation
107
- property :allow_google_internal_data_sources, as: 'allowGoogleInternalDataSources'
108
- property :default_relation, as: 'defaultRelation'
109
- property :default_source, as: 'defaultSource', class: Google::Apis::DigitalassetlinksV1::Asset, decorator: Google::Apis::DigitalassetlinksV1::Asset::Representation
110
-
111
- property :default_target, as: 'defaultTarget', class: Google::Apis::DigitalassetlinksV1::Asset, decorator: Google::Apis::DigitalassetlinksV1::Asset::Representation
112
-
113
- property :skip_cache_lookup, as: 'skipCacheLookup'
114
- collection :statements, as: 'statements', class: Google::Apis::DigitalassetlinksV1::StatementTemplate, decorator: Google::Apis::DigitalassetlinksV1::StatementTemplate::Representation
115
-
116
- end
117
- end
118
-
119
- class BulkCheckResponse
120
- # @private
121
- class Representation < Google::Apis::Core::JsonRepresentation
122
- property :bulk_error_code, as: 'bulkErrorCode'
123
- collection :check_results, as: 'checkResults', class: Google::Apis::DigitalassetlinksV1::CheckResponse, decorator: Google::Apis::DigitalassetlinksV1::CheckResponse::Representation
124
-
125
- end
126
- end
127
-
128
86
  class CertificateInfo
129
87
  # @private
130
88
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -164,17 +122,6 @@ module Google
164
122
  end
165
123
  end
166
124
 
167
- class StatementTemplate
168
- # @private
169
- class Representation < Google::Apis::Core::JsonRepresentation
170
- property :relation, as: 'relation'
171
- property :source, as: 'source', class: Google::Apis::DigitalassetlinksV1::Asset, decorator: Google::Apis::DigitalassetlinksV1::Asset::Representation
172
-
173
- property :target, as: 'target', class: Google::Apis::DigitalassetlinksV1::Asset, decorator: Google::Apis::DigitalassetlinksV1::Asset::Representation
174
-
175
- end
176
- end
177
-
178
125
  class WebAsset
179
126
  # @private
180
127
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,39 +51,6 @@ 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
-
87
54
  # Determines whether the specified (directional) relationship exists between the
88
55
  # specified source and target assets. The relation describes the intent of the
89
56
  # link between the two assets as claimed by the source asset. An example for
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-digitalassetlinks_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-digitalassetlinks_v1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-digitalassetlinks_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Digital Asset Links API V1