google-apis-firebaseappdistribution_v1alpha 0.7.0 → 0.8.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: 1edca761ff0e09a17e569a9619aafbe307801ae4293371c4000e38e7247c8efe
4
- data.tar.gz: 5cbf65c88c9bc621e00270c87b276315c804c266be80d1b634162c0d15b85e45
3
+ metadata.gz: 84db04066b3ebd3be1e3c69aaa1e0de6dfe01d3e42087a81b427e340eb26b8b8
4
+ data.tar.gz: fbb9fd69be5c19e4bb7bbbe2457d5339a47b9a6574ddaad3975a4a6a090685be
5
5
  SHA512:
6
- metadata.gz: 25854d7dee2638a7af6d8b3d7a01fb4c15c5e5f6d91b3e221dbc101192b2607c1414479d6d0d5c42f22163abb7b1062464af49778c785097be9826c9051a2443
7
- data.tar.gz: dfe9dc0818ff430badaea339156703c04453dc22a5aeb2b8a7a0a1efce581bb06491be0b3075b256447011d75cd6499eb8c214d4152542b4a35dd9a0e0c1251b
6
+ metadata.gz: 64b281c781483c9c6cfd88a9de6053192bb43dc17ecbcbe5bc278ca849fbc443afcd07d1cbb5bd42caa22e9ced532b3455a8bcc16f901e5b415c391c060c82f7
7
+ data.tar.gz: 4d4432c129bdfb2ab39e3c68b44ee7930a1abb631526bfcabf1f817eca118169348b490f838cb88c4432dc93c0d717e388e538fd3edd76e0363c6ed442afb176
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-firebaseappdistribution_v1alpha
2
2
 
3
+ ### v0.8.0 (2024-11-22)
4
+
5
+ * Regenerated from discovery document revision 20241121
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.7.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240717
@@ -22,6 +22,31 @@ module Google
22
22
  module Apis
23
23
  module FirebaseappdistributionV1alpha
24
24
 
25
+ # Point for describing bounding boxes tap locations Top left is 0,0
26
+ class AndroidxCrawlerOutputPoint
27
+ include Google::Apis::Core::Hashable
28
+
29
+ #
30
+ # Corresponds to the JSON property `xCoordinate`
31
+ # @return [Fixnum]
32
+ attr_accessor :x_coordinate
33
+
34
+ #
35
+ # Corresponds to the JSON property `yCoordinate`
36
+ # @return [Fixnum]
37
+ attr_accessor :y_coordinate
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @x_coordinate = args[:x_coordinate] if args.key?(:x_coordinate)
46
+ @y_coordinate = args[:y_coordinate] if args.key?(:y_coordinate)
47
+ end
48
+ end
49
+
25
50
  # A release of a Firebase app.
26
51
  class GoogleFirebaseAppdistroV1Release
27
52
  include Google::Apis::Core::Hashable
@@ -218,6 +243,18 @@ module Google
218
243
  # @return [String]
219
244
  attr_accessor :goal
220
245
 
246
+ # Optional. Hint text containing suggestions to help the agent accomplish the
247
+ # goal
248
+ # Corresponds to the JSON property `hint`
249
+ # @return [String]
250
+ attr_accessor :hint
251
+
252
+ # Optional. A description of criteria the agent should use to determine if the
253
+ # goal has been successfully completed
254
+ # Corresponds to the JSON property `successCriteria`
255
+ # @return [String]
256
+ attr_accessor :success_criteria
257
+
221
258
  def initialize(**args)
222
259
  update!(**args)
223
260
  end
@@ -226,6 +263,8 @@ module Google
226
263
  def update!(**args)
227
264
  @assertion = args[:assertion] if args.key?(:assertion)
228
265
  @goal = args[:goal] if args.key?(:goal)
266
+ @hint = args[:hint] if args.key?(:hint)
267
+ @success_criteria = args[:success_criteria] if args.key?(:success_criteria)
229
268
  end
230
269
  end
231
270
 
@@ -233,6 +272,16 @@ module Google
233
272
  class GoogleFirebaseAppdistroV1alphaAiStepResult
234
273
  include Google::Apis::Core::Hashable
235
274
 
275
+ # Details for an assertion step.
276
+ # Corresponds to the JSON property `assertionDetails`
277
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAssertionDetails]
278
+ attr_accessor :assertion_details
279
+
280
+ # Details for a goal step.
281
+ # Corresponds to the JSON property `goalDetails`
282
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaGoalDetails]
283
+ attr_accessor :goal_details
284
+
236
285
  # Output only. The current state of the step
237
286
  # Corresponds to the JSON property `state`
238
287
  # @return [String]
@@ -249,6 +298,8 @@ module Google
249
298
 
250
299
  # Update properties of this object
251
300
  def update!(**args)
301
+ @assertion_details = args[:assertion_details] if args.key?(:assertion_details)
302
+ @goal_details = args[:goal_details] if args.key?(:goal_details)
252
303
  @state = args[:state] if args.key?(:state)
253
304
  @step = args[:step] if args.key?(:step)
254
305
  end
@@ -336,6 +387,51 @@ module Google
336
387
  end
337
388
  end
338
389
 
390
+ # Details for an assertion step.
391
+ class GoogleFirebaseAppdistroV1alphaAssertionDetails
392
+ include Google::Apis::Core::Hashable
393
+
394
+ # Output only. An explanation justifying the assertion result.
395
+ # Corresponds to the JSON property `explanation`
396
+ # @return [String]
397
+ attr_accessor :explanation
398
+
399
+ # Output only. The result of the assertion.
400
+ # Corresponds to the JSON property `result`
401
+ # @return [Boolean]
402
+ attr_accessor :result
403
+ alias_method :result?, :result
404
+
405
+ # A device screenshot taken during a test.
406
+ # Corresponds to the JSON property `screenshot`
407
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot]
408
+ attr_accessor :screenshot
409
+
410
+ def initialize(**args)
411
+ update!(**args)
412
+ end
413
+
414
+ # Update properties of this object
415
+ def update!(**args)
416
+ @explanation = args[:explanation] if args.key?(:explanation)
417
+ @result = args[:result] if args.key?(:result)
418
+ @screenshot = args[:screenshot] if args.key?(:screenshot)
419
+ end
420
+ end
421
+
422
+ # The (empty) response message for `CancelReleaseTest`.
423
+ class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse
424
+ include Google::Apis::Core::Hashable
425
+
426
+ def initialize(**args)
427
+ update!(**args)
428
+ end
429
+
430
+ # Update properties of this object
431
+ def update!(**args)
432
+ end
433
+ end
434
+
339
435
  #
340
436
  class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest
341
437
  include Google::Apis::Core::Hashable
@@ -368,6 +464,34 @@ module Google
368
464
  end
369
465
  end
370
466
 
467
+ # A high level action taken by the AI on the device, potentially involving
468
+ # multiple taps, text entries, waits, etc.
469
+ class GoogleFirebaseAppdistroV1alphaDeviceAction
470
+ include Google::Apis::Core::Hashable
471
+
472
+ # Output only. A short description of the high level action taken by the AI
473
+ # agent.
474
+ # Corresponds to the JSON property `description`
475
+ # @return [String]
476
+ attr_accessor :description
477
+
478
+ # Output only. The interactions made with the device as part of this higher
479
+ # level action taken by the agent, such as taps, text entries, waits, etc.
480
+ # Corresponds to the JSON property `deviceInteractions`
481
+ # @return [Array<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteraction>]
482
+ attr_accessor :device_interactions
483
+
484
+ def initialize(**args)
485
+ update!(**args)
486
+ end
487
+
488
+ # Update properties of this object
489
+ def update!(**args)
490
+ @description = args[:description] if args.key?(:description)
491
+ @device_interactions = args[:device_interactions] if args.key?(:device_interactions)
492
+ end
493
+ end
494
+
371
495
  # The results of running an automated test on a particular device.
372
496
  class GoogleFirebaseAppdistroV1alphaDeviceExecution
373
497
  include Google::Apis::Core::Hashable
@@ -450,6 +574,99 @@ module Google
450
574
  end
451
575
  end
452
576
 
577
+ # An interaction with the device, such as a tap, text entry, wait, etc.
578
+ class GoogleFirebaseAppdistroV1alphaDeviceInteraction
579
+ include Google::Apis::Core::Hashable
580
+
581
+ # Output only. Key code for a key event action.
582
+ # Corresponds to the JSON property `keyCode`
583
+ # @return [String]
584
+ attr_accessor :key_code
585
+
586
+ # A device screenshot taken during a test.
587
+ # Corresponds to the JSON property `screenshot`
588
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot]
589
+ attr_accessor :screenshot
590
+
591
+ # A swipe action.
592
+ # Corresponds to the JSON property `swipe`
593
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe]
594
+ attr_accessor :swipe
595
+
596
+ # Point for describing bounding boxes tap locations Top left is 0,0
597
+ # Corresponds to the JSON property `tap`
598
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint]
599
+ attr_accessor :tap_prop
600
+
601
+ # Output only. Text entered for a text entry action.
602
+ # Corresponds to the JSON property `textInput`
603
+ # @return [String]
604
+ attr_accessor :text_input
605
+
606
+ # A wait action.
607
+ # Corresponds to the JSON property `wait`
608
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteractionWait]
609
+ attr_accessor :wait
610
+
611
+ def initialize(**args)
612
+ update!(**args)
613
+ end
614
+
615
+ # Update properties of this object
616
+ def update!(**args)
617
+ @key_code = args[:key_code] if args.key?(:key_code)
618
+ @screenshot = args[:screenshot] if args.key?(:screenshot)
619
+ @swipe = args[:swipe] if args.key?(:swipe)
620
+ @tap_prop = args[:tap_prop] if args.key?(:tap_prop)
621
+ @text_input = args[:text_input] if args.key?(:text_input)
622
+ @wait = args[:wait] if args.key?(:wait)
623
+ end
624
+ end
625
+
626
+ # A swipe action.
627
+ class GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe
628
+ include Google::Apis::Core::Hashable
629
+
630
+ # Point for describing bounding boxes tap locations Top left is 0,0
631
+ # Corresponds to the JSON property `end`
632
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint]
633
+ attr_accessor :end
634
+
635
+ # Point for describing bounding boxes tap locations Top left is 0,0
636
+ # Corresponds to the JSON property `start`
637
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint]
638
+ attr_accessor :start
639
+
640
+ def initialize(**args)
641
+ update!(**args)
642
+ end
643
+
644
+ # Update properties of this object
645
+ def update!(**args)
646
+ @end = args[:end] if args.key?(:end)
647
+ @start = args[:start] if args.key?(:start)
648
+ end
649
+ end
650
+
651
+ # A wait action.
652
+ class GoogleFirebaseAppdistroV1alphaDeviceInteractionWait
653
+ include Google::Apis::Core::Hashable
654
+
655
+ # Output only. The duration of the wait.
656
+ # Corresponds to the JSON property `duration`
657
+ # @return [String]
658
+ attr_accessor :duration
659
+
660
+ def initialize(**args)
661
+ update!(**args)
662
+ end
663
+
664
+ # Update properties of this object
665
+ def update!(**args)
666
+ @duration = args[:duration] if args.key?(:duration)
667
+ end
668
+ end
669
+
453
670
  #
454
671
  class GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest
455
672
  include Google::Apis::Core::Hashable
@@ -581,6 +798,58 @@ module Google
581
798
  end
582
799
  end
583
800
 
801
+ # An action taken by the AI agent while attempting to accomplish a goal.
802
+ class GoogleFirebaseAppdistroV1alphaGoalAction
803
+ include Google::Apis::Core::Hashable
804
+
805
+ # A high level action taken by the AI on the device, potentially involving
806
+ # multiple taps, text entries, waits, etc.
807
+ # Corresponds to the JSON property `deviceAction`
808
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceAction]
809
+ attr_accessor :device_action
810
+
811
+ # Output only. An explanation justifying why the action was taken.
812
+ # Corresponds to the JSON property `explanation`
813
+ # @return [String]
814
+ attr_accessor :explanation
815
+
816
+ # An action taken by the AI to end the goal.
817
+ # Corresponds to the JSON property `terminalAction`
818
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTerminalAction]
819
+ attr_accessor :terminal_action
820
+
821
+ def initialize(**args)
822
+ update!(**args)
823
+ end
824
+
825
+ # Update properties of this object
826
+ def update!(**args)
827
+ @device_action = args[:device_action] if args.key?(:device_action)
828
+ @explanation = args[:explanation] if args.key?(:explanation)
829
+ @terminal_action = args[:terminal_action] if args.key?(:terminal_action)
830
+ end
831
+ end
832
+
833
+ # Details for a goal step.
834
+ class GoogleFirebaseAppdistroV1alphaGoalDetails
835
+ include Google::Apis::Core::Hashable
836
+
837
+ # Output only. The actions taken by the AI while attempting to accomplish the
838
+ # goal.
839
+ # Corresponds to the JSON property `goalActions`
840
+ # @return [Array<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaGoalAction>]
841
+ attr_accessor :goal_actions
842
+
843
+ def initialize(**args)
844
+ update!(**args)
845
+ end
846
+
847
+ # Update properties of this object
848
+ def update!(**args)
849
+ @goal_actions = args[:goal_actions] if args.key?(:goal_actions)
850
+ end
851
+ end
852
+
584
853
  #
585
854
  class GoogleFirebaseAppdistroV1alphaJwt
586
855
  include Google::Apis::Core::Hashable
@@ -626,6 +895,32 @@ module Google
626
895
  end
627
896
  end
628
897
 
898
+ # The response message for `ListTestCases`.
899
+ class GoogleFirebaseAppdistroV1alphaListTestCasesResponse
900
+ include Google::Apis::Core::Hashable
901
+
902
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
903
+ # field is omitted, there are no subsequent pages.
904
+ # Corresponds to the JSON property `nextPageToken`
905
+ # @return [String]
906
+ attr_accessor :next_page_token
907
+
908
+ # The test cases from the specified app.
909
+ # Corresponds to the JSON property `testCases`
910
+ # @return [Array<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase>]
911
+ attr_accessor :test_cases
912
+
913
+ def initialize(**args)
914
+ update!(**args)
915
+ end
916
+
917
+ # Update properties of this object
918
+ def update!(**args)
919
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
920
+ @test_cases = args[:test_cases] if args.key?(:test_cases)
921
+ end
922
+ end
923
+
629
924
  # Login credential for automated tests
630
925
  class GoogleFirebaseAppdistroV1alphaLoginCredential
631
926
  include Google::Apis::Core::Hashable
@@ -825,6 +1120,12 @@ module Google
825
1120
  # @return [Array<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceExecution>]
826
1121
  attr_accessor :device_executions
827
1122
 
1123
+ # Optional. Display name of the release test. Required if the release test is
1124
+ # created with multiple goals.
1125
+ # Corresponds to the JSON property `displayName`
1126
+ # @return [String]
1127
+ attr_accessor :display_name
1128
+
828
1129
  # Login credential for automated tests
829
1130
  # Corresponds to the JSON property `loginCredential`
830
1131
  # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaLoginCredential]
@@ -836,6 +1137,11 @@ module Google
836
1137
  # @return [String]
837
1138
  attr_accessor :name
838
1139
 
1140
+ # Output only. The state of the release test.
1141
+ # Corresponds to the JSON property `testState`
1142
+ # @return [String]
1143
+ attr_accessor :test_state
1144
+
839
1145
  def initialize(**args)
840
1146
  update!(**args)
841
1147
  end
@@ -845,8 +1151,10 @@ module Google
845
1151
  @ai_instructions = args[:ai_instructions] if args.key?(:ai_instructions)
846
1152
  @create_time = args[:create_time] if args.key?(:create_time)
847
1153
  @device_executions = args[:device_executions] if args.key?(:device_executions)
1154
+ @display_name = args[:display_name] if args.key?(:display_name)
848
1155
  @login_credential = args[:login_credential] if args.key?(:login_credential)
849
1156
  @name = args[:name] if args.key?(:name)
1157
+ @test_state = args[:test_state] if args.key?(:test_state)
850
1158
  end
851
1159
  end
852
1160
 
@@ -913,10 +1221,104 @@ module Google
913
1221
  end
914
1222
  end
915
1223
 
1224
+ # A device screenshot taken during a test.
1225
+ class GoogleFirebaseAppdistroV1alphaScreenshot
1226
+ include Google::Apis::Core::Hashable
1227
+
1228
+ # Output only. The height of the screenshot, in pixels.
1229
+ # Corresponds to the JSON property `height`
1230
+ # @return [Fixnum]
1231
+ attr_accessor :height
1232
+
1233
+ # Output only. The URI of the screenshot.
1234
+ # Corresponds to the JSON property `uri`
1235
+ # @return [String]
1236
+ attr_accessor :uri
1237
+
1238
+ # Output only. The width of the screenshot, in pixels.
1239
+ # Corresponds to the JSON property `width`
1240
+ # @return [Fixnum]
1241
+ attr_accessor :width
1242
+
1243
+ def initialize(**args)
1244
+ update!(**args)
1245
+ end
1246
+
1247
+ # Update properties of this object
1248
+ def update!(**args)
1249
+ @height = args[:height] if args.key?(:height)
1250
+ @uri = args[:uri] if args.key?(:uri)
1251
+ @width = args[:width] if args.key?(:width)
1252
+ end
1253
+ end
1254
+
1255
+ # An action taken by the AI to end the goal.
1256
+ class GoogleFirebaseAppdistroV1alphaTerminalAction
1257
+ include Google::Apis::Core::Hashable
1258
+
1259
+ # Output only. The reason why this goal was ended.
1260
+ # Corresponds to the JSON property `reason`
1261
+ # @return [String]
1262
+ attr_accessor :reason
1263
+
1264
+ # A device screenshot taken during a test.
1265
+ # Corresponds to the JSON property `screenshot`
1266
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot]
1267
+ attr_accessor :screenshot
1268
+
1269
+ def initialize(**args)
1270
+ update!(**args)
1271
+ end
1272
+
1273
+ # Update properties of this object
1274
+ def update!(**args)
1275
+ @reason = args[:reason] if args.key?(:reason)
1276
+ @screenshot = args[:screenshot] if args.key?(:screenshot)
1277
+ end
1278
+ end
1279
+
1280
+ # AI test cases
1281
+ class GoogleFirebaseAppdistroV1alphaTestCase
1282
+ include Google::Apis::Core::Hashable
1283
+
1284
+ # Instructions for AI driven test
1285
+ # Corresponds to the JSON property `aiInstructions`
1286
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiInstructions]
1287
+ attr_accessor :ai_instructions
1288
+
1289
+ # Required. Display name of the test case.
1290
+ # Corresponds to the JSON property `displayName`
1291
+ # @return [String]
1292
+ attr_accessor :display_name
1293
+
1294
+ # Identifier. The name of the test case resource. Format: `projects/`
1295
+ # project_number`/apps/`app_id`/testCases/`test_case_id``
1296
+ # Corresponds to the JSON property `name`
1297
+ # @return [String]
1298
+ attr_accessor :name
1299
+
1300
+ def initialize(**args)
1301
+ update!(**args)
1302
+ end
1303
+
1304
+ # Update properties of this object
1305
+ def update!(**args)
1306
+ @ai_instructions = args[:ai_instructions] if args.key?(:ai_instructions)
1307
+ @display_name = args[:display_name] if args.key?(:display_name)
1308
+ @name = args[:name] if args.key?(:name)
1309
+ end
1310
+ end
1311
+
916
1312
  # Configuration for automated tests
917
1313
  class GoogleFirebaseAppdistroV1alphaTestConfig
918
1314
  include Google::Apis::Core::Hashable
919
1315
 
1316
+ # Optional. Display name of the AI driven test. Required if the release test is
1317
+ # created with multiple goals.
1318
+ # Corresponds to the JSON property `displayName`
1319
+ # @return [String]
1320
+ attr_accessor :display_name
1321
+
920
1322
  # Identifier. The name of the test configuration resource. Format: `projects/`
921
1323
  # project_number`/apps/`app_id`/testConfig`
922
1324
  # Corresponds to the JSON property `name`
@@ -939,6 +1341,7 @@ module Google
939
1341
 
940
1342
  # Update properties of this object
941
1343
  def update!(**args)
1344
+ @display_name = args[:display_name] if args.key?(:display_name)
942
1345
  @name = args[:name] if args.key?(:name)
943
1346
  @robo_crawler = args[:robo_crawler] if args.key?(:robo_crawler)
944
1347
  @test_devices = args[:test_devices] if args.key?(:test_devices)
@@ -1013,6 +1416,22 @@ module Google
1013
1416
  @udid = args[:udid] if args.key?(:udid)
1014
1417
  end
1015
1418
  end
1419
+
1420
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1421
+ # messages in your APIs. A typical example is to use it as the request or the
1422
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1423
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1424
+ class GoogleProtobufEmpty
1425
+ include Google::Apis::Core::Hashable
1426
+
1427
+ def initialize(**args)
1428
+ update!(**args)
1429
+ end
1430
+
1431
+ # Update properties of this object
1432
+ def update!(**args)
1433
+ end
1434
+ end
1016
1435
  end
1017
1436
  end
1018
1437
  end
@@ -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.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240717"
25
+ REVISION = "20241121"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module FirebaseappdistributionV1alpha
24
24
 
25
+ class AndroidxCrawlerOutputPoint
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class GoogleFirebaseAppdistroV1Release
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -82,6 +88,18 @@ module Google
82
88
  include Google::Apis::Core::JsonObjectSupport
83
89
  end
84
90
 
91
+ class GoogleFirebaseAppdistroV1alphaAssertionDetails
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
85
103
  class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest
86
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
105
 
@@ -94,12 +112,36 @@ module Google
94
112
  include Google::Apis::Core::JsonObjectSupport
95
113
  end
96
114
 
115
+ class GoogleFirebaseAppdistroV1alphaDeviceAction
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
97
121
  class GoogleFirebaseAppdistroV1alphaDeviceExecution
98
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
123
 
100
124
  include Google::Apis::Core::JsonObjectSupport
101
125
  end
102
126
 
127
+ class GoogleFirebaseAppdistroV1alphaDeviceInteraction
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleFirebaseAppdistroV1alphaDeviceInteractionWait
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
103
145
  class GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest
104
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
147
 
@@ -130,6 +172,18 @@ module Google
130
172
  include Google::Apis::Core::JsonObjectSupport
131
173
  end
132
174
 
175
+ class GoogleFirebaseAppdistroV1alphaGoalAction
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleFirebaseAppdistroV1alphaGoalDetails
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
133
187
  class GoogleFirebaseAppdistroV1alphaJwt
134
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
189
 
@@ -142,6 +196,12 @@ module Google
142
196
  include Google::Apis::Core::JsonObjectSupport
143
197
  end
144
198
 
199
+ class GoogleFirebaseAppdistroV1alphaListTestCasesResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
145
205
  class GoogleFirebaseAppdistroV1alphaLoginCredential
146
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
207
 
@@ -190,6 +250,24 @@ module Google
190
250
  include Google::Apis::Core::JsonObjectSupport
191
251
  end
192
252
 
253
+ class GoogleFirebaseAppdistroV1alphaScreenshot
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleFirebaseAppdistroV1alphaTerminalAction
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleFirebaseAppdistroV1alphaTestCase
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
193
271
  class GoogleFirebaseAppdistroV1alphaTestConfig
194
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
273
 
@@ -208,6 +286,20 @@ module Google
208
286
  include Google::Apis::Core::JsonObjectSupport
209
287
  end
210
288
 
289
+ class GoogleProtobufEmpty
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class AndroidxCrawlerOutputPoint
296
+ # @private
297
+ class Representation < Google::Apis::Core::JsonRepresentation
298
+ property :x_coordinate, as: 'xCoordinate'
299
+ property :y_coordinate, as: 'yCoordinate'
300
+ end
301
+ end
302
+
211
303
  class GoogleFirebaseAppdistroV1Release
212
304
  # @private
213
305
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -268,12 +360,18 @@ module Google
268
360
  class Representation < Google::Apis::Core::JsonRepresentation
269
361
  property :assertion, as: 'assertion'
270
362
  property :goal, as: 'goal'
363
+ property :hint, as: 'hint'
364
+ property :success_criteria, as: 'successCriteria'
271
365
  end
272
366
  end
273
367
 
274
368
  class GoogleFirebaseAppdistroV1alphaAiStepResult
275
369
  # @private
276
370
  class Representation < Google::Apis::Core::JsonRepresentation
371
+ property :assertion_details, as: 'assertionDetails', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAssertionDetails, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAssertionDetails::Representation
372
+
373
+ property :goal_details, as: 'goalDetails', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaGoalDetails, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaGoalDetails::Representation
374
+
277
375
  property :state, as: 'state'
278
376
  property :step, as: 'step', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStep, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiStep::Representation
279
377
 
@@ -302,6 +400,22 @@ module Google
302
400
  end
303
401
  end
304
402
 
403
+ class GoogleFirebaseAppdistroV1alphaAssertionDetails
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :explanation, as: 'explanation'
407
+ property :result, as: 'result'
408
+ property :screenshot, as: 'screenshot', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot::Representation
409
+
410
+ end
411
+ end
412
+
413
+ class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse
414
+ # @private
415
+ class Representation < Google::Apis::Core::JsonRepresentation
416
+ end
417
+ end
418
+
305
419
  class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest
306
420
  # @private
307
421
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -316,6 +430,15 @@ module Google
316
430
  end
317
431
  end
318
432
 
433
+ class GoogleFirebaseAppdistroV1alphaDeviceAction
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :description, as: 'description'
437
+ collection :device_interactions, as: 'deviceInteractions', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteraction, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteraction::Representation
438
+
439
+ end
440
+ end
441
+
319
442
  class GoogleFirebaseAppdistroV1alphaDeviceExecution
320
443
  # @private
321
444
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -337,6 +460,39 @@ module Google
337
460
  end
338
461
  end
339
462
 
463
+ class GoogleFirebaseAppdistroV1alphaDeviceInteraction
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ property :key_code, as: 'keyCode'
467
+ property :screenshot, as: 'screenshot', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot::Representation
468
+
469
+ property :swipe, as: 'swipe', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe::Representation
470
+
471
+ property :tap_prop, as: 'tap', class: Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint, decorator: Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint::Representation
472
+
473
+ property :text_input, as: 'textInput'
474
+ property :wait, as: 'wait', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteractionWait, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteractionWait::Representation
475
+
476
+ end
477
+ end
478
+
479
+ class GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ property :end, as: 'end', class: Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint, decorator: Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint::Representation
483
+
484
+ property :start, as: 'start', class: Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint, decorator: Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint::Representation
485
+
486
+ end
487
+ end
488
+
489
+ class GoogleFirebaseAppdistroV1alphaDeviceInteractionWait
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ property :duration, as: 'duration'
493
+ end
494
+ end
495
+
340
496
  class GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest
341
497
  # @private
342
498
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -380,6 +536,25 @@ module Google
380
536
  end
381
537
  end
382
538
 
539
+ class GoogleFirebaseAppdistroV1alphaGoalAction
540
+ # @private
541
+ class Representation < Google::Apis::Core::JsonRepresentation
542
+ property :device_action, as: 'deviceAction', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceAction, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceAction::Representation
543
+
544
+ property :explanation, as: 'explanation'
545
+ property :terminal_action, as: 'terminalAction', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTerminalAction, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTerminalAction::Representation
546
+
547
+ end
548
+ end
549
+
550
+ class GoogleFirebaseAppdistroV1alphaGoalDetails
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ collection :goal_actions, as: 'goalActions', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaGoalAction, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaGoalAction::Representation
554
+
555
+ end
556
+ end
557
+
383
558
  class GoogleFirebaseAppdistroV1alphaJwt
384
559
  # @private
385
560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -396,6 +571,15 @@ module Google
396
571
  end
397
572
  end
398
573
 
574
+ class GoogleFirebaseAppdistroV1alphaListTestCasesResponse
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :next_page_token, as: 'nextPageToken'
578
+ collection :test_cases, as: 'testCases', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase::Representation
579
+
580
+ end
581
+ end
582
+
399
583
  class GoogleFirebaseAppdistroV1alphaLoginCredential
400
584
  # @private
401
585
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -453,9 +637,11 @@ module Google
453
637
  property :create_time, as: 'createTime'
454
638
  collection :device_executions, as: 'deviceExecutions', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceExecution, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceExecution::Representation
455
639
 
640
+ property :display_name, as: 'displayName'
456
641
  property :login_credential, as: 'loginCredential', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaLoginCredential, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaLoginCredential::Representation
457
642
 
458
643
  property :name, as: 'name'
644
+ property :test_state, as: 'testState'
459
645
  end
460
646
  end
461
647
 
@@ -479,9 +665,38 @@ module Google
479
665
  end
480
666
  end
481
667
 
668
+ class GoogleFirebaseAppdistroV1alphaScreenshot
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :height, as: 'height'
672
+ property :uri, as: 'uri'
673
+ property :width, as: 'width'
674
+ end
675
+ end
676
+
677
+ class GoogleFirebaseAppdistroV1alphaTerminalAction
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :reason, as: 'reason'
681
+ property :screenshot, as: 'screenshot', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot::Representation
682
+
683
+ end
684
+ end
685
+
686
+ class GoogleFirebaseAppdistroV1alphaTestCase
687
+ # @private
688
+ class Representation < Google::Apis::Core::JsonRepresentation
689
+ property :ai_instructions, as: 'aiInstructions', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiInstructions, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiInstructions::Representation
690
+
691
+ property :display_name, as: 'displayName'
692
+ property :name, as: 'name'
693
+ end
694
+ end
695
+
482
696
  class GoogleFirebaseAppdistroV1alphaTestConfig
483
697
  # @private
484
698
  class Representation < Google::Apis::Core::JsonRepresentation
699
+ property :display_name, as: 'displayName'
485
700
  property :name, as: 'name'
486
701
  property :robo_crawler, as: 'roboCrawler', class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaRoboCrawler, decorator: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaRoboCrawler::Representation
487
702
 
@@ -508,6 +723,12 @@ module Google
508
723
  property :udid, as: 'udid'
509
724
  end
510
725
  end
726
+
727
+ class GoogleProtobufEmpty
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ end
731
+ end
511
732
  end
512
733
  end
513
734
  end
@@ -394,6 +394,37 @@ module Google
394
394
  execute_or_queue_command(command, &block)
395
395
  end
396
396
 
397
+ # Abort automated test run on release.
398
+ # @param [String] name
399
+ # Required. The name of the release test resource. Format: `projects/`
400
+ # project_number`/apps/`app_id`/releases/`release_id`/tests/`test_id``
401
+ # @param [String] fields
402
+ # Selector specifying which fields to include in a partial response.
403
+ # @param [String] quota_user
404
+ # Available to use for quota purposes for server-side applications. Can be any
405
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
406
+ # @param [Google::Apis::RequestOptions] options
407
+ # Request-specific options
408
+ #
409
+ # @yield [result, err] Result & error if block supplied
410
+ # @yieldparam result [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse] parsed result object
411
+ # @yieldparam err [StandardError] error object if request failed
412
+ #
413
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse]
414
+ #
415
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
416
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
417
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
418
+ def cancel_project_app_release_test(name, fields: nil, quota_user: nil, options: nil, &block)
419
+ command = make_simple_command(:get, 'v1alpha/{+name}:cancel', options)
420
+ command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse::Representation
421
+ command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse
422
+ command.params['name'] = name unless name.nil?
423
+ command.query['fields'] = fields unless fields.nil?
424
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
425
+ execute_or_queue_command(command, &block)
426
+ end
427
+
397
428
  # Run automated test(s) on release.
398
429
  # @param [String] parent
399
430
  # Required. The name of the release resource, which is the parent of the test
@@ -401,7 +432,7 @@ module Google
401
432
  # @param [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaReleaseTest] google_firebase_appdistro_v1alpha_release_test_object
402
433
  # @param [String] release_test_id
403
434
  # Optional. The ID to use for the test, which will become the final component of
404
- # the tests's resource name. This value should be 4-63 characters, and valid
435
+ # the test's resource name. This value should be 4-63 characters, and valid
405
436
  # characters are /a-z-/. If it is not provided one will be automatically
406
437
  # generated.
407
438
  # @param [String] fields
@@ -475,6 +506,9 @@ module Google
475
506
  # @param [String] page_token
476
507
  # Optional. A page token, received from a previous `ListReleaseTests` call.
477
508
  # Provide this to retrieve the subsequent page.
509
+ # @param [String] view
510
+ # Optional. The requested view on the returned ReleaseTests. Defaults to the
511
+ # basic view.
478
512
  # @param [String] fields
479
513
  # Selector specifying which fields to include in a partial response.
480
514
  # @param [String] quota_user
@@ -492,13 +526,190 @@ module Google
492
526
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
493
527
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
494
528
  # @raise [Google::Apis::AuthorizationError] Authorization is required
495
- def list_project_app_release_tests(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
529
+ def list_project_app_release_tests(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
496
530
  command = make_simple_command(:get, 'v1alpha/{+parent}/tests', options)
497
531
  command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse::Representation
498
532
  command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse
499
533
  command.params['parent'] = parent unless parent.nil?
500
534
  command.query['pageSize'] = page_size unless page_size.nil?
501
535
  command.query['pageToken'] = page_token unless page_token.nil?
536
+ command.query['view'] = view unless view.nil?
537
+ command.query['fields'] = fields unless fields.nil?
538
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
539
+ execute_or_queue_command(command, &block)
540
+ end
541
+
542
+ # Create a new test case.
543
+ # @param [String] parent
544
+ # Required. The parent resource where this test case will be created. Format: `
545
+ # projects/`project_number`/apps/`app_id``
546
+ # @param [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase] google_firebase_appdistro_v1alpha_test_case_object
547
+ # @param [String] test_case_id
548
+ # Optional. The ID to use for the test case, which will become the final
549
+ # component of the test case's resource name. This value should be 4-63
550
+ # characters, and valid characters are /a-z-/.
551
+ # @param [String] fields
552
+ # Selector specifying which fields to include in a partial response.
553
+ # @param [String] quota_user
554
+ # Available to use for quota purposes for server-side applications. Can be any
555
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
556
+ # @param [Google::Apis::RequestOptions] options
557
+ # Request-specific options
558
+ #
559
+ # @yield [result, err] Result & error if block supplied
560
+ # @yieldparam result [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase] parsed result object
561
+ # @yieldparam err [StandardError] error object if request failed
562
+ #
563
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase]
564
+ #
565
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
566
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
567
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
568
+ def create_project_app_test_case(parent, google_firebase_appdistro_v1alpha_test_case_object = nil, test_case_id: nil, fields: nil, quota_user: nil, options: nil, &block)
569
+ command = make_simple_command(:post, 'v1alpha/{+parent}/testCases', options)
570
+ command.request_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase::Representation
571
+ command.request_object = google_firebase_appdistro_v1alpha_test_case_object
572
+ command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase::Representation
573
+ command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase
574
+ command.params['parent'] = parent unless parent.nil?
575
+ command.query['testCaseId'] = test_case_id unless test_case_id.nil?
576
+ command.query['fields'] = fields unless fields.nil?
577
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
578
+ execute_or_queue_command(command, &block)
579
+ end
580
+
581
+ # Delete a test case.
582
+ # @param [String] name
583
+ # Required. The name of the test case resource to delete. Format: `projects/`
584
+ # project_number`/apps/`app_id`/testCases/`test_case_id``
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::GoogleProtobufEmpty] parsed result object
595
+ # @yieldparam err [StandardError] error object if request failed
596
+ #
597
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleProtobufEmpty]
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 delete_project_app_test_case(name, fields: nil, quota_user: nil, options: nil, &block)
603
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
604
+ command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleProtobufEmpty::Representation
605
+ command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleProtobufEmpty
606
+ command.params['name'] = name unless name.nil?
607
+ command.query['fields'] = fields unless fields.nil?
608
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
609
+ execute_or_queue_command(command, &block)
610
+ end
611
+
612
+ # Get a test case.
613
+ # @param [String] name
614
+ # Required. The name of the test case resource to retrieve. Format: `projects/`
615
+ # project_number`/apps/`app_id`/testCases/`test_case_id``
616
+ # @param [String] fields
617
+ # Selector specifying which fields to include in a partial response.
618
+ # @param [String] quota_user
619
+ # Available to use for quota purposes for server-side applications. Can be any
620
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
621
+ # @param [Google::Apis::RequestOptions] options
622
+ # Request-specific options
623
+ #
624
+ # @yield [result, err] Result & error if block supplied
625
+ # @yieldparam result [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase] parsed result object
626
+ # @yieldparam err [StandardError] error object if request failed
627
+ #
628
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase]
629
+ #
630
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
631
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
632
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
633
+ def get_project_app_test_case(name, fields: nil, quota_user: nil, options: nil, &block)
634
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
635
+ command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase::Representation
636
+ command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase
637
+ command.params['name'] = name unless name.nil?
638
+ command.query['fields'] = fields unless fields.nil?
639
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
640
+ execute_or_queue_command(command, &block)
641
+ end
642
+
643
+ # List test cases.
644
+ # @param [String] parent
645
+ # Required. The parent resource from which to list test cases. Format: `projects/
646
+ # `project_number`/apps/`app_id``
647
+ # @param [Fixnum] page_size
648
+ # Optional. The maximum number of test cases to return. The service may return
649
+ # fewer than this value. If unspecified, at most 50 test cases will be returned.
650
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
651
+ # @param [String] page_token
652
+ # Optional. A page token, received from a previous `ListTestCases` call. Provide
653
+ # this to retrieve the subsequent page. When paginating, all other parameters
654
+ # provided to `ListTestCases` must match the call that provided the page token.
655
+ # @param [String] fields
656
+ # Selector specifying which fields to include in a partial response.
657
+ # @param [String] quota_user
658
+ # Available to use for quota purposes for server-side applications. Can be any
659
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
660
+ # @param [Google::Apis::RequestOptions] options
661
+ # Request-specific options
662
+ #
663
+ # @yield [result, err] Result & error if block supplied
664
+ # @yieldparam result [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaListTestCasesResponse] parsed result object
665
+ # @yieldparam err [StandardError] error object if request failed
666
+ #
667
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaListTestCasesResponse]
668
+ #
669
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
670
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
671
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
672
+ def list_project_app_test_cases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
673
+ command = make_simple_command(:get, 'v1alpha/{+parent}/testCases', options)
674
+ command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaListTestCasesResponse::Representation
675
+ command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaListTestCasesResponse
676
+ command.params['parent'] = parent unless parent.nil?
677
+ command.query['pageSize'] = page_size unless page_size.nil?
678
+ command.query['pageToken'] = page_token unless page_token.nil?
679
+ command.query['fields'] = fields unless fields.nil?
680
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
681
+ execute_or_queue_command(command, &block)
682
+ end
683
+
684
+ # Update a test case.
685
+ # @param [String] name
686
+ # Identifier. The name of the test case resource. Format: `projects/`
687
+ # project_number`/apps/`app_id`/testCases/`test_case_id``
688
+ # @param [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase] google_firebase_appdistro_v1alpha_test_case_object
689
+ # @param [String] fields
690
+ # Selector specifying which fields to include in a partial response.
691
+ # @param [String] quota_user
692
+ # Available to use for quota purposes for server-side applications. Can be any
693
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
694
+ # @param [Google::Apis::RequestOptions] options
695
+ # Request-specific options
696
+ #
697
+ # @yield [result, err] Result & error if block supplied
698
+ # @yieldparam result [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase] parsed result object
699
+ # @yieldparam err [StandardError] error object if request failed
700
+ #
701
+ # @return [Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase]
702
+ #
703
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
704
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
705
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
706
+ def patch_project_app_test_case(name, google_firebase_appdistro_v1alpha_test_case_object = nil, fields: nil, quota_user: nil, options: nil, &block)
707
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
708
+ command.request_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase::Representation
709
+ command.request_object = google_firebase_appdistro_v1alpha_test_case_object
710
+ command.response_representation = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase::Representation
711
+ command.response_class = Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestCase
712
+ command.params['name'] = name unless name.nil?
502
713
  command.query['fields'] = fields unless fields.nil?
503
714
  command.query['quotaUser'] = quota_user unless quota_user.nil?
504
715
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebaseappdistribution_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-07-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
@@ -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-firebaseappdistribution_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappdistribution_v1alpha/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappdistribution_v1alpha/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappdistribution_v1alpha
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 Firebase App Distribution API V1alpha