Skip to content

Commit 410a317

Browse files
feat: Automated regeneration of firebaseappdistribution v1alpha client (googleapis#21867)
Auto-created at 2025-02-26 21:19:10 +0000 using the toys pull request generator.
1 parent 24aa57e commit 410a317

File tree

6 files changed

+89
-10
lines changed

6 files changed

+89
-10
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229407,6 +229407,10 @@
229407229407
"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaTestDevice/model": model
229408229408
"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaTestDevice/orientation": orientation
229409229409
"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaTestDevice/version": version
229410+
"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaTestQuota": google_firebase_appdistro_v1alpha_test_quota
229411+
"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaTestQuota/limit": limit
229412+
"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaTestQuota/name": name
229413+
"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaTestQuota/usage": usage
229410229414
"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaTesterUdid": google_firebase_appdistro_v1alpha_tester_udid
229411229415
"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaTesterUdid/name": name
229412229416
"/firebaseappdistribution:v1alpha/GoogleFirebaseAppdistroV1alphaTesterUdid/platform": platform
@@ -229465,6 +229469,8 @@
229465229469
"/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.updateTestConfig": update_project_app_test_config
229466229470
"/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.updateTestConfig/name": name
229467229471
"/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.apps.updateTestConfig/updateMask": update_mask
229472+
"/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.getTestQuota": get_project_test_quota
229473+
"/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.getTestQuota/name": name
229468229474
"/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.testers.getUdids": get_project_tester_udids
229469229475
"/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.testers.getUdids/mobilesdkAppId": mobilesdk_app_id
229470229476
"/firebaseappdistribution:v1alpha/firebaseappdistribution.projects.testers.getUdids/project": project

generated/google-apis-firebaseappdistribution_v1alpha/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-firebaseappdistribution_v1alpha
22

3-
### v0.10.0 (2025-01-26)
3+
### v0.10.0 (2025-02-26)
44

5-
* Regenerated from discovery document revision 20250123
5+
* Regenerated from discovery document revision 20250219
66
* Regenerated using generator version 0.16.0
77

88
### v0.9.0 (2024-12-08)

generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/classes.rb

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,6 @@ def update!(**args)
208208
class GoogleFirebaseAppdistroV1alphaAiInstructions
209209
include Google::Apis::Core::Hashable
210210

211-
# Optional. Describes the app to give the AI some context
212-
# Corresponds to the JSON property `appDescription`
213-
# @return [String]
214-
attr_accessor :app_description
215-
216211
# Required. Steps to be accomplished by the AI
217212
# Corresponds to the JSON property `steps`
218213
# @return [Array<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStep>]
@@ -224,7 +219,6 @@ def initialize(**args)
224219

225220
# Update properties of this object
226221
def update!(**args)
227-
@app_description = args[:app_description] if args.key?(:app_description)
228222
@steps = args[:steps] if args.key?(:steps)
229223
end
230224
end
@@ -1432,6 +1426,40 @@ def update!(**args)
14321426
end
14331427
end
14341428

1429+
# Customer quota information for `ReleaseTests`. Note: This quota only applies
1430+
# to tests with `AiInstructions` and is separate from the quota which might
1431+
# apply to the device time used by any tests.
1432+
class GoogleFirebaseAppdistroV1alphaTestQuota
1433+
include Google::Apis::Core::Hashable
1434+
1435+
# Output only. Maximum number of `ReleaseTests` allotted for the current month.
1436+
# Corresponds to the JSON property `limit`
1437+
# @return [Fixnum]
1438+
attr_accessor :limit
1439+
1440+
# Identifier. The name of the `TestQuota` resource. Format: `projects/`
1441+
# project_number`/testQuota`
1442+
# Corresponds to the JSON property `name`
1443+
# @return [String]
1444+
attr_accessor :name
1445+
1446+
# Output only. Number of `ReleaseTests` run in the current month
1447+
# Corresponds to the JSON property `usage`
1448+
# @return [Fixnum]
1449+
attr_accessor :usage
1450+
1451+
def initialize(**args)
1452+
update!(**args)
1453+
end
1454+
1455+
# Update properties of this object
1456+
def update!(**args)
1457+
@limit = args[:limit] if args.key?(:limit)
1458+
@name = args[:name] if args.key?(:name)
1459+
@usage = args[:usage] if args.key?(:usage)
1460+
end
1461+
end
1462+
14351463
# The UDIDs of a tester's iOS device
14361464
class GoogleFirebaseAppdistroV1alphaTesterUdid
14371465
include Google::Apis::Core::Hashable

generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module FirebaseappdistributionV1alpha
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250123"
25+
REVISION = "20250219"
2626
end
2727
end
2828
end

generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/representations.rb

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
286286
include Google::Apis::Core::JsonObjectSupport
287287
end
288288

289+
class GoogleFirebaseAppdistroV1alphaTestQuota
290+
class Representation < Google::Apis::Core::JsonRepresentation; end
291+
292+
include Google::Apis::Core::JsonObjectSupport
293+
end
294+
289295
class GoogleFirebaseAppdistroV1alphaTesterUdid
290296
class Representation < Google::Apis::Core::JsonRepresentation; end
291297

@@ -355,7 +361,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
355361
class GoogleFirebaseAppdistroV1alphaAiInstructions
356362
# @private
357363
class Representation < Google::Apis::Core::JsonRepresentation
358-
property :app_description, as: 'appDescription'
359364
collection :steps, as: 'steps', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStep, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStep::Representation
360365

361366
end
@@ -733,6 +738,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
733738
end
734739
end
735740

741+
class GoogleFirebaseAppdistroV1alphaTestQuota
742+
# @private
743+
class Representation < Google::Apis::Core::JsonRepresentation
744+
property :limit, :numeric_string => true, as: 'limit'
745+
property :name, as: 'name'
746+
property :usage, :numeric_string => true, as: 'usage'
747+
end
748+
end
749+
736750
class GoogleFirebaseAppdistroV1alphaTesterUdid
737751
# @private
738752
class Representation < Google::Apis::Core::JsonRepresentation

generated/google-apis-firebaseappdistribution_v1alpha/lib/google/apis/firebaseappdistribution_v1alpha/service.rb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,37 @@ def get_app_upload_status(mobilesdk_app_id, upload_token, fields: nil, quota_use
326326
execute_or_queue_command(command, &block)
327327
end
328328

329+
# Get information about the quota for `ReleaseTests`.
330+
# @param [String] name
331+
# Required. The name of the `TestQuota` resource to retrieve. Format: `projects/`
332+
# project_number`/testQuota`
333+
# @param [String] fields
334+
# Selector specifying which fields to include in a partial response.
335+
# @param [String] quota_user
336+
# Available to use for quota purposes for server-side applications. Can be any
337+
# arbitrary string assigned to a user, but should not exceed 40 characters.
338+
# @param [Google::Apis::RequestOptions] options
339+
# Request-specific options
340+
#
341+
# @yield [result, err] Result & error if block supplied
342+
# @yieldparam result [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestQuota] parsed result object
343+
# @yieldparam err [StandardError] error object if request failed
344+
#
345+
# @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestQuota]
346+
#
347+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
348+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
349+
# @raise [Google::Apis::AuthorizationError] Authorization is required
350+
def get_project_test_quota(name, fields: nil, quota_user: nil, options: nil, &block)
351+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
352+
command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestQuota::Representation
353+
command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestQuota
354+
command.params['name'] = name unless name.nil?
355+
command.query['fields'] = fields unless fields.nil?
356+
command.query['quotaUser'] = quota_user unless quota_user.nil?
357+
execute_or_queue_command(command, &block)
358+
end
359+
329360
# Gets configuration for automated tests.
330361
# @param [String] name
331362
# Required. The name of the `TestConfig` resource to retrieve. Format: `projects/

0 commit comments

Comments
 (0)