google-apis-firebaseappdistribution_v1alpha 0.20.0 → 0.22.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: 605eb7a2492478fbbb5e3a9eaf19169e5a6d69c7de6a86a2175951e24ae73367
4
- data.tar.gz: 66d1f3824360cc6a6316b6e17da6c0d66e8ecaa3d49ab3bcf57591eaeefa6913
3
+ metadata.gz: '01833e30e832640450af24c3fe3b7a4bf329994d0f29f72720291ebf6ed267ed'
4
+ data.tar.gz: d314d115d869505655038615a176f97c9815df789ec94f364c3755d34265d78f
5
5
  SHA512:
6
- metadata.gz: a626e9df8a8b020ea12ca7ec53d893297ac67d78a5eddf33a52b4e083511a0b7f3c8cb7cbdb33e936b4aea6bf052a1d89e9b1289c8bb1c33579bb59d0332b4ef
7
- data.tar.gz: debfaf7d47fc1ad8fddb1834be6986ee2191ef1de84fe93b787a29337fe92b6bc4045019191644443fe9abee13056ec57e562746c18c0648e3c7b07985e47d9e
6
+ metadata.gz: 2c4b73ee8e3f97bbad109675ffc6dbe62ab7550c8ae0120c4355474996989b6f7058032084f93a62d70bc7ea5fea70d2f54a92efb75464a852d59f3e64086273
7
+ data.tar.gz: b4d6e850a21b6015336c60122c92477c8b49d369f44c033b976a36f1c79ca0031973ba64c29361f6ba25e79ad0be16c06aed512f304c6491b4dfa14f3ff784f9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebaseappdistribution_v1alpha
2
2
 
3
+ ### v0.22.0 (2025-10-26)
4
+
5
+ * Regenerated from discovery document revision 20251022
6
+
7
+ ### v0.21.0 (2025-10-19)
8
+
9
+ * Regenerated from discovery document revision 20251015
10
+
3
11
  ### v0.20.0 (2025-09-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20250925
@@ -470,7 +470,7 @@ module Google
470
470
  end
471
471
  end
472
472
 
473
- # The request message for `DeleteTestCase`.
473
+ # The request message for `BatchDeleteTestCase`.
474
474
  class GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest
475
475
  include Google::Apis::Core::Hashable
476
476
 
@@ -491,6 +491,45 @@ module Google
491
491
  end
492
492
  end
493
493
 
494
+ # The request message for `BatchUpdateTestCase`.
495
+ class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest
496
+ include Google::Apis::Core::Hashable
497
+
498
+ # Required. The update requests. A maximum number of 1000 test cases can be
499
+ # updated in one batch
500
+ # Corresponds to the JSON property `requests`
501
+ # @return [Array<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest>]
502
+ attr_accessor :requests
503
+
504
+ def initialize(**args)
505
+ update!(**args)
506
+ end
507
+
508
+ # Update properties of this object
509
+ def update!(**args)
510
+ @requests = args[:requests] if args.key?(:requests)
511
+ end
512
+ end
513
+
514
+ # The response message for `BatchUpdateTestCase`.
515
+ class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse
516
+ include Google::Apis::Core::Hashable
517
+
518
+ # The updated test cases.
519
+ # Corresponds to the JSON property `testCases`
520
+ # @return [Array<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase>]
521
+ attr_accessor :test_cases
522
+
523
+ def initialize(**args)
524
+ update!(**args)
525
+ end
526
+
527
+ # Update properties of this object
528
+ def update!(**args)
529
+ @test_cases = args[:test_cases] if args.key?(:test_cases)
530
+ end
531
+ end
532
+
494
533
  # The (empty) response message for `CancelReleaseTest`.
495
534
  class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse
496
535
  include Google::Apis::Core::Hashable
@@ -504,6 +543,39 @@ module Google
504
543
  end
505
544
  end
506
545
 
546
+ # Request message for `ClearTestCaseCache`.
547
+ class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest
548
+ include Google::Apis::Core::Hashable
549
+
550
+ # Optional. The list of devices for which to clear the cache. If not present,
551
+ # clear all of them.
552
+ # Corresponds to the JSON property `testDevices`
553
+ # @return [Array<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestDevice>]
554
+ attr_accessor :test_devices
555
+
556
+ def initialize(**args)
557
+ update!(**args)
558
+ end
559
+
560
+ # Update properties of this object
561
+ def update!(**args)
562
+ @test_devices = args[:test_devices] if args.key?(:test_devices)
563
+ end
564
+ end
565
+
566
+ # Response empty (google.protobuf.Empty) message for `ClearTestCaseCache`
567
+ class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse
568
+ include Google::Apis::Core::Hashable
569
+
570
+ def initialize(**args)
571
+ update!(**args)
572
+ end
573
+
574
+ # Update properties of this object
575
+ def update!(**args)
576
+ end
577
+ end
578
+
507
579
  # The request message for `CreateReleaseNotes`.
508
580
  class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest
509
581
  include Google::Apis::Core::Hashable
@@ -1678,6 +1750,33 @@ module Google
1678
1750
  end
1679
1751
  end
1680
1752
 
1753
+ # The request message for `UpdateTestCase`.
1754
+ class GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest
1755
+ include Google::Apis::Core::Hashable
1756
+
1757
+ # Optional. If set to true, and the test case is not found, a new test case will
1758
+ # be created.
1759
+ # Corresponds to the JSON property `allowMissing`
1760
+ # @return [Boolean]
1761
+ attr_accessor :allow_missing
1762
+ alias_method :allow_missing?, :allow_missing
1763
+
1764
+ # AI test cases
1765
+ # Corresponds to the JSON property `testCase`
1766
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase]
1767
+ attr_accessor :test_case
1768
+
1769
+ def initialize(**args)
1770
+ update!(**args)
1771
+ end
1772
+
1773
+ # Update properties of this object
1774
+ def update!(**args)
1775
+ @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
1776
+ @test_case = args[:test_case] if args.key?(:test_case)
1777
+ end
1778
+ end
1779
+
1681
1780
  # A generic empty message that you can re-use to avoid defining duplicated empty
1682
1781
  # messages in your APIs. A typical example is to use it as the request or the
1683
1782
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirebaseappdistributionV1alpha
18
18
  # Version of the google-apis-firebaseappdistribution_v1alpha gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250925"
25
+ REVISION = "20251022"
26
26
  end
27
27
  end
28
28
  end
@@ -106,12 +106,36 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
109
121
  class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse
110
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
123
 
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
126
 
127
+ class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
115
139
  class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest
116
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
141
 
@@ -322,6 +346,12 @@ module Google
322
346
  include Google::Apis::Core::JsonObjectSupport
323
347
  end
324
348
 
349
+ class GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
325
355
  class GoogleProtobufEmpty
326
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
357
 
@@ -465,12 +495,42 @@ module Google
465
495
  end
466
496
  end
467
497
 
498
+ class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ collection :requests, as: 'requests', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest::Representation
502
+
503
+ end
504
+ end
505
+
506
+ class GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ collection :test_cases, as: 'testCases', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase::Representation
510
+
511
+ end
512
+ end
513
+
468
514
  class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse
469
515
  # @private
470
516
  class Representation < Google::Apis::Core::JsonRepresentation
471
517
  end
472
518
  end
473
519
 
520
+ class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest
521
+ # @private
522
+ class Representation < Google::Apis::Core::JsonRepresentation
523
+ collection :test_devices, as: 'testDevices', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestDevice, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestDevice::Representation
524
+
525
+ end
526
+ end
527
+
528
+ class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ end
532
+ end
533
+
474
534
  class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest
475
535
  # @private
476
536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -832,6 +892,15 @@ module Google
832
892
  end
833
893
  end
834
894
 
895
+ class GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest
896
+ # @private
897
+ class Representation < Google::Apis::Core::JsonRepresentation
898
+ property :allow_missing, as: 'allowMissing'
899
+ property :test_case, as: 'testCase', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase::Representation
900
+
901
+ end
902
+ end
903
+
835
904
  class GoogleProtobufEmpty
836
905
  # @private
837
906
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -543,9 +543,9 @@ module Google
543
543
  execute_or_queue_command(command, &block)
544
544
  end
545
545
 
546
- # Delete test cases.
546
+ # Deletes multiple test cases.
547
547
  # @param [String] parent
548
- # Required. The parent resource where these test cases will be deleted. Format: `
548
+ # Required. The parent resource of the test cases being deleted. Format: `
549
549
  # projects/`project_number`/apps/`app_id``
550
550
  # @param [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest] google_firebase_appdistro_v1alpha_batch_delete_test_cases_request_object
551
551
  # @param [String] fields
@@ -577,6 +577,74 @@ module Google
577
577
  execute_or_queue_command(command, &block)
578
578
  end
579
579
 
580
+ # Updates multiple test cases.
581
+ # @param [String] parent
582
+ # Required. The parent resource of the test cases being updated. Format: `
583
+ # projects/`project_number`/apps/`app_id``
584
+ # @param [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest] google_firebase_appdistro_v1alpha_batch_update_test_cases_request_object
585
+ # @param [String] fields
586
+ # Selector specifying which fields to include in a partial response.
587
+ # @param [String] quota_user
588
+ # Available to use for quota purposes for server-side applications. Can be any
589
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
590
+ # @param [Google::Apis::RequestOptions] options
591
+ # Request-specific options
592
+ #
593
+ # @yield [result, err] Result & error if block supplied
594
+ # @yieldparam result [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse] parsed result object
595
+ # @yieldparam err [StandardError] error object if request failed
596
+ #
597
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse]
598
+ #
599
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
600
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
601
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
602
+ def batch_project_app_test_case_update(parent, google_firebase_appdistro_v1alpha_batch_update_test_cases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
603
+ command = make_simple_command(:post, 'v1alpha/{+parent}/testCases:batchUpdate', options)
604
+ command.request_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest::Representation
605
+ command.request_object = google_firebase_appdistro_v1alpha_batch_update_test_cases_request_object
606
+ command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse::Representation
607
+ command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse
608
+ command.params['parent'] = parent unless parent.nil?
609
+ command.query['fields'] = fields unless fields.nil?
610
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
611
+ execute_or_queue_command(command, &block)
612
+ end
613
+
614
+ # Clears cached test runs for a specific test case and device(s).
615
+ # @param [String] test_case
616
+ # Required. The name of the test case resource for which to clear the cache.
617
+ # Format: `projects/`project_number`/apps/`app_id`/testCases/`test_case_id``
618
+ # @param [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest] google_firebase_appdistro_v1alpha_clear_test_case_cache_request_object
619
+ # @param [String] fields
620
+ # Selector specifying which fields to include in a partial response.
621
+ # @param [String] quota_user
622
+ # Available to use for quota purposes for server-side applications. Can be any
623
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
624
+ # @param [Google::Apis::RequestOptions] options
625
+ # Request-specific options
626
+ #
627
+ # @yield [result, err] Result & error if block supplied
628
+ # @yieldparam result [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse] parsed result object
629
+ # @yieldparam err [StandardError] error object if request failed
630
+ #
631
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse]
632
+ #
633
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
634
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
635
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
636
+ def clear_project_app_test_case_test_case_cache(test_case, google_firebase_appdistro_v1alpha_clear_test_case_cache_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
637
+ command = make_simple_command(:post, 'v1alpha/{+testCase}:clearTestCaseCache', options)
638
+ command.request_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest::Representation
639
+ command.request_object = google_firebase_appdistro_v1alpha_clear_test_case_cache_request_object
640
+ command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse::Representation
641
+ command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse
642
+ command.params['testCase'] = test_case unless test_case.nil?
643
+ command.query['fields'] = fields unless fields.nil?
644
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
645
+ execute_or_queue_command(command, &block)
646
+ end
647
+
580
648
  # Create a new test case.
581
649
  # @param [String] parent
582
650
  # Required. The parent resource where this test case will be created. Format: `
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebaseappdistribution_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappdistribution_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappdistribution_v1alpha/v0.20.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappdistribution_v1alpha/v0.22.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappdistribution_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: