google-apis-firebaseappcheck_v1beta 0.30.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c7533ff8a5fb97019b60214a802fa55e0809f41dfdf7c7a8960f79a5ad3ce2d
4
- data.tar.gz: 608bfa48088bf0fd87408ee14341381b809018f0cce8ec6666b7bfdcc2a1dab9
3
+ metadata.gz: cece1154a7f1a13c6acc29ae16a235d55a19bef65dd517fd5be64e7081a07c7d
4
+ data.tar.gz: 24ca8550a0ddbbd990e4f4d1bf738abe592c728ad91a473bde371389be2b5911
5
5
  SHA512:
6
- metadata.gz: 61988fb18cad724857f31ebf4ae4284830b6e71ca53d682d26322f7ef37a313254bea7a6b9ab343d4477aa1cd538122205383a9dc1600d35cfd097ede66008ab
7
- data.tar.gz: 79f69a8e524a6cd857ac880177ad482ee00ba0f8ba249d594321bd6830988a9f145494b1ae352fdd6233b2992e7726c2144b74adca2e95a98202275045bd188e
6
+ metadata.gz: 3f4a8de0b9998ca14bd149d3a41a70f4f6f2c95f4655023b47d1f95fa514bdb0f4f9ba9ce8b138852a773b4b5e30203963c73b347ea2224f05cea2fc00205257
7
+ data.tar.gz: 4955a8c7b51817e1e1674d4257a424ab3f51307e2a7f208a47b645d59242fb8601a0bbcd24695e0187cf293081388d45288adaa7337e0bded6cb770bc282a7be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebaseappcheck_v1beta
2
2
 
3
+ ### v0.32.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230814
6
+
7
+ ### v0.31.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230807
10
+
3
11
  ### v0.30.0 (2023-08-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20230721
@@ -1173,6 +1173,14 @@ module Google
1173
1173
  # @return [String]
1174
1174
  attr_accessor :enforcement_mode
1175
1175
 
1176
+ # This checksum is computed by the server based on the value of other fields,
1177
+ # and may be sent on update and delete requests to ensure the client has an up-
1178
+ # to-date value before proceeding. This etag is strongly validated as defined by
1179
+ # RFC 7232.
1180
+ # Corresponds to the JSON property `etag`
1181
+ # @return [String]
1182
+ attr_accessor :etag
1183
+
1176
1184
  # Required. The relative resource name of the service configuration object, in
1177
1185
  # the format: ``` projects/`project_number`/services/`service_id` ``` Note that
1178
1186
  # the `service_id` element must be a supported service ID. Currently, the
@@ -1197,6 +1205,7 @@ module Google
1197
1205
  # Update properties of this object
1198
1206
  def update!(**args)
1199
1207
  @enforcement_mode = args[:enforcement_mode] if args.key?(:enforcement_mode)
1208
+ @etag = args[:etag] if args.key?(:etag)
1200
1209
  @name = args[:name] if args.key?(:name)
1201
1210
  @update_time = args[:update_time] if args.key?(:update_time)
1202
1211
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirebaseappcheckV1beta
18
18
  # Version of the google-apis-firebaseappcheck_v1beta gem
19
- GEM_VERSION = "0.30.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230721"
25
+ REVISION = "20230814"
26
26
  end
27
27
  end
28
28
  end
@@ -606,6 +606,7 @@ module Google
606
606
  # @private
607
607
  class Representation < Google::Apis::Core::JsonRepresentation
608
608
  property :enforcement_mode, as: 'enforcementMode'
609
+ property :etag, as: 'etag'
609
610
  property :name, as: 'name'
610
611
  property :update_time, as: 'updateTime'
611
612
  end
@@ -165,6 +165,46 @@ module Google
165
165
  execute_or_queue_command(command, &block)
166
166
  end
167
167
 
168
+ # Validates a debug token secret that you have previously created using
169
+ # CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive
170
+ # quota is enforced on this method to prevent accidental exposure of the app to
171
+ # abuse.
172
+ # @param [String] app
173
+ # Required. The relative resource name of the app, in the format: ``` projects/`
174
+ # project_number`/apps/`app_id` ``` If necessary, the `project_number` element
175
+ # can be replaced with the project ID of the Firebase project. Learn more about
176
+ # using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/
177
+ # 2510) standard.
178
+ # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest] google_firebase_appcheck_v1beta_exchange_debug_token_request_object
179
+ # @param [String] fields
180
+ # Selector specifying which fields to include in a partial response.
181
+ # @param [String] quota_user
182
+ # Available to use for quota purposes for server-side applications. Can be any
183
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
184
+ # @param [Google::Apis::RequestOptions] options
185
+ # Request-specific options
186
+ #
187
+ # @yield [result, err] Result & error if block supplied
188
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken] parsed result object
189
+ # @yieldparam err [StandardError] error object if request failed
190
+ #
191
+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken]
192
+ #
193
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
196
+ def exchange_oauth_client_debug_token(app, google_firebase_appcheck_v1beta_exchange_debug_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
197
+ command = make_simple_command(:post, 'v1beta/{+app}:exchangeDebugToken', options)
198
+ command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest::Representation
199
+ command.request_object = google_firebase_appcheck_v1beta_exchange_debug_token_request_object
200
+ command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken::Representation
201
+ command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken
202
+ command.params['app'] = app unless app.nil?
203
+ command.query['fields'] = fields unless fields.nil?
204
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
205
+ execute_or_queue_command(command, &block)
206
+ end
207
+
168
208
  # Generates a challenge that protects the integrity of an immediately following
169
209
  # call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A
170
210
  # challenge should not be reused for multiple calls.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebaseappcheck_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.32.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: 2023-08-06 00:00:00.000000000 Z
11
+ date: 2023-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-firebaseappcheck_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1beta
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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Firebase App Check API V1beta