google-api-client 0.46.1 → 0.46.2
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 +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +58 -0
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +6 -6
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +8 -9
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +7 -7
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +80 -5
- data/generated/google/apis/bigquery_v2/representations.rb +33 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -3
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +30 -30
- data/generated/google/apis/displayvideo_v1/service.rb +8 -8
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +4 -4
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -6
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +1 -1
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +80 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +33 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +81 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +33 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -8
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +45 -45
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +33 -33
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -4
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -6
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +17 -18
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +12 -11
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +13 -3
|
@@ -22,6 +22,18 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module VaultV1
|
|
24
24
|
|
|
25
|
+
class AccountCount
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class AccountCountError
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
25
37
|
class AccountInfo
|
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
39
|
|
|
@@ -52,6 +64,12 @@ module Google
|
|
|
52
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
65
|
end
|
|
54
66
|
|
|
67
|
+
class CancelOperationRequest
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
55
73
|
class CloseMatterRequest
|
|
56
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
75
|
|
|
@@ -82,6 +100,24 @@ module Google
|
|
|
82
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
101
|
end
|
|
84
102
|
|
|
103
|
+
class CountArtifactsMetadata
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
class CountArtifactsRequest
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class CountArtifactsResponse
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
85
121
|
class DriveExportOptions
|
|
86
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
123
|
|
|
@@ -118,6 +154,12 @@ module Google
|
|
|
118
154
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
155
|
end
|
|
120
156
|
|
|
157
|
+
class GroupsCountResult
|
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
+
end
|
|
162
|
+
|
|
121
163
|
class GroupsExportOptions
|
|
122
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
165
|
|
|
@@ -208,12 +250,24 @@ module Google
|
|
|
208
250
|
include Google::Apis::Core::JsonObjectSupport
|
|
209
251
|
end
|
|
210
252
|
|
|
253
|
+
class ListOperationsResponse
|
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
|
+
|
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
257
|
+
end
|
|
258
|
+
|
|
211
259
|
class ListSavedQueriesResponse
|
|
212
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
261
|
|
|
214
262
|
include Google::Apis::Core::JsonObjectSupport
|
|
215
263
|
end
|
|
216
264
|
|
|
265
|
+
class MailCountResult
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
+
|
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
+
end
|
|
270
|
+
|
|
217
271
|
class MailExportOptions
|
|
218
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
273
|
|
|
@@ -238,6 +292,12 @@ module Google
|
|
|
238
292
|
include Google::Apis::Core::JsonObjectSupport
|
|
239
293
|
end
|
|
240
294
|
|
|
295
|
+
class Operation
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
+
|
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
+
end
|
|
300
|
+
|
|
241
301
|
class OrgUnitInfo
|
|
242
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
303
|
|
|
@@ -316,6 +376,24 @@ module Google
|
|
|
316
376
|
include Google::Apis::Core::JsonObjectSupport
|
|
317
377
|
end
|
|
318
378
|
|
|
379
|
+
class AccountCount
|
|
380
|
+
# @private
|
|
381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
382
|
+
property :account, as: 'account', class: Google::Apis::VaultV1::UserInfo, decorator: Google::Apis::VaultV1::UserInfo::Representation
|
|
383
|
+
|
|
384
|
+
property :count, :numeric_string => true, as: 'count'
|
|
385
|
+
end
|
|
386
|
+
end
|
|
387
|
+
|
|
388
|
+
class AccountCountError
|
|
389
|
+
# @private
|
|
390
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
391
|
+
property :account, as: 'account', class: Google::Apis::VaultV1::UserInfo, decorator: Google::Apis::VaultV1::UserInfo::Representation
|
|
392
|
+
|
|
393
|
+
property :error_type, as: 'errorType'
|
|
394
|
+
end
|
|
395
|
+
end
|
|
396
|
+
|
|
319
397
|
class AccountInfo
|
|
320
398
|
# @private
|
|
321
399
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -359,6 +437,12 @@ module Google
|
|
|
359
437
|
end
|
|
360
438
|
end
|
|
361
439
|
|
|
440
|
+
class CancelOperationRequest
|
|
441
|
+
# @private
|
|
442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
443
|
+
end
|
|
444
|
+
end
|
|
445
|
+
|
|
362
446
|
class CloseMatterRequest
|
|
363
447
|
# @private
|
|
364
448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -405,6 +489,37 @@ module Google
|
|
|
405
489
|
end
|
|
406
490
|
end
|
|
407
491
|
|
|
492
|
+
class CountArtifactsMetadata
|
|
493
|
+
# @private
|
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
495
|
+
property :end_time, as: 'endTime'
|
|
496
|
+
property :matter_id, as: 'matterId'
|
|
497
|
+
property :query, as: 'query', class: Google::Apis::VaultV1::Query, decorator: Google::Apis::VaultV1::Query::Representation
|
|
498
|
+
|
|
499
|
+
property :start_time, as: 'startTime'
|
|
500
|
+
end
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
class CountArtifactsRequest
|
|
504
|
+
# @private
|
|
505
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
506
|
+
property :query, as: 'query', class: Google::Apis::VaultV1::Query, decorator: Google::Apis::VaultV1::Query::Representation
|
|
507
|
+
|
|
508
|
+
property :view, as: 'view'
|
|
509
|
+
end
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
class CountArtifactsResponse
|
|
513
|
+
# @private
|
|
514
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
515
|
+
property :groups_count_result, as: 'groupsCountResult', class: Google::Apis::VaultV1::GroupsCountResult, decorator: Google::Apis::VaultV1::GroupsCountResult::Representation
|
|
516
|
+
|
|
517
|
+
property :mail_count_result, as: 'mailCountResult', class: Google::Apis::VaultV1::MailCountResult, decorator: Google::Apis::VaultV1::MailCountResult::Representation
|
|
518
|
+
|
|
519
|
+
property :total_count, :numeric_string => true, as: 'totalCount'
|
|
520
|
+
end
|
|
521
|
+
end
|
|
522
|
+
|
|
408
523
|
class DriveExportOptions
|
|
409
524
|
# @private
|
|
410
525
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -472,6 +587,19 @@ module Google
|
|
|
472
587
|
end
|
|
473
588
|
end
|
|
474
589
|
|
|
590
|
+
class GroupsCountResult
|
|
591
|
+
# @private
|
|
592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
593
|
+
collection :account_count_errors, as: 'accountCountErrors', class: Google::Apis::VaultV1::AccountCountError, decorator: Google::Apis::VaultV1::AccountCountError::Representation
|
|
594
|
+
|
|
595
|
+
collection :account_counts, as: 'accountCounts', class: Google::Apis::VaultV1::AccountCount, decorator: Google::Apis::VaultV1::AccountCount::Representation
|
|
596
|
+
|
|
597
|
+
property :matching_accounts_count, :numeric_string => true, as: 'matchingAccountsCount'
|
|
598
|
+
collection :non_queryable_accounts, as: 'nonQueryableAccounts'
|
|
599
|
+
property :queried_accounts_count, :numeric_string => true, as: 'queriedAccountsCount'
|
|
600
|
+
end
|
|
601
|
+
end
|
|
602
|
+
|
|
475
603
|
class GroupsExportOptions
|
|
476
604
|
# @private
|
|
477
605
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -603,6 +731,15 @@ module Google
|
|
|
603
731
|
end
|
|
604
732
|
end
|
|
605
733
|
|
|
734
|
+
class ListOperationsResponse
|
|
735
|
+
# @private
|
|
736
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
737
|
+
property :next_page_token, as: 'nextPageToken'
|
|
738
|
+
collection :operations, as: 'operations', class: Google::Apis::VaultV1::Operation, decorator: Google::Apis::VaultV1::Operation::Representation
|
|
739
|
+
|
|
740
|
+
end
|
|
741
|
+
end
|
|
742
|
+
|
|
606
743
|
class ListSavedQueriesResponse
|
|
607
744
|
# @private
|
|
608
745
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -612,6 +749,19 @@ module Google
|
|
|
612
749
|
end
|
|
613
750
|
end
|
|
614
751
|
|
|
752
|
+
class MailCountResult
|
|
753
|
+
# @private
|
|
754
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
755
|
+
collection :account_count_errors, as: 'accountCountErrors', class: Google::Apis::VaultV1::AccountCountError, decorator: Google::Apis::VaultV1::AccountCountError::Representation
|
|
756
|
+
|
|
757
|
+
collection :account_counts, as: 'accountCounts', class: Google::Apis::VaultV1::AccountCount, decorator: Google::Apis::VaultV1::AccountCount::Representation
|
|
758
|
+
|
|
759
|
+
property :matching_accounts_count, :numeric_string => true, as: 'matchingAccountsCount'
|
|
760
|
+
collection :non_queryable_accounts, as: 'nonQueryableAccounts'
|
|
761
|
+
property :queried_accounts_count, :numeric_string => true, as: 'queriedAccountsCount'
|
|
762
|
+
end
|
|
763
|
+
end
|
|
764
|
+
|
|
615
765
|
class MailExportOptions
|
|
616
766
|
# @private
|
|
617
767
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -647,6 +797,18 @@ module Google
|
|
|
647
797
|
end
|
|
648
798
|
end
|
|
649
799
|
|
|
800
|
+
class Operation
|
|
801
|
+
# @private
|
|
802
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
803
|
+
property :done, as: 'done'
|
|
804
|
+
property :error, as: 'error', class: Google::Apis::VaultV1::Status, decorator: Google::Apis::VaultV1::Status::Representation
|
|
805
|
+
|
|
806
|
+
hash :metadata, as: 'metadata'
|
|
807
|
+
property :name, as: 'name'
|
|
808
|
+
hash :response, as: 'response'
|
|
809
|
+
end
|
|
810
|
+
end
|
|
811
|
+
|
|
650
812
|
class OrgUnitInfo
|
|
651
813
|
# @private
|
|
652
814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -113,6 +113,40 @@ module Google
|
|
|
113
113
|
execute_or_queue_command(command, &block)
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
+
# Counts the artifacts within the context of a matter and returns a detailed
|
|
117
|
+
# breakdown of metrics.
|
|
118
|
+
# @param [String] matter_id
|
|
119
|
+
# The matter ID.
|
|
120
|
+
# @param [Google::Apis::VaultV1::CountArtifactsRequest] count_artifacts_request_object
|
|
121
|
+
# @param [String] fields
|
|
122
|
+
# Selector specifying which fields to include in a partial response.
|
|
123
|
+
# @param [String] quota_user
|
|
124
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
125
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
126
|
+
# @param [Google::Apis::RequestOptions] options
|
|
127
|
+
# Request-specific options
|
|
128
|
+
#
|
|
129
|
+
# @yield [result, err] Result & error if block supplied
|
|
130
|
+
# @yieldparam result [Google::Apis::VaultV1::Operation] parsed result object
|
|
131
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
132
|
+
#
|
|
133
|
+
# @return [Google::Apis::VaultV1::Operation]
|
|
134
|
+
#
|
|
135
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
136
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
137
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
138
|
+
def count_matter_artifacts(matter_id, count_artifacts_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
139
|
+
command = make_simple_command(:post, 'v1/matters/{matterId}:count', options)
|
|
140
|
+
command.request_representation = Google::Apis::VaultV1::CountArtifactsRequest::Representation
|
|
141
|
+
command.request_object = count_artifacts_request_object
|
|
142
|
+
command.response_representation = Google::Apis::VaultV1::Operation::Representation
|
|
143
|
+
command.response_class = Google::Apis::VaultV1::Operation
|
|
144
|
+
command.params['matterId'] = matter_id unless matter_id.nil?
|
|
145
|
+
command.query['fields'] = fields unless fields.nil?
|
|
146
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
147
|
+
execute_or_queue_command(command, &block)
|
|
148
|
+
end
|
|
149
|
+
|
|
116
150
|
# Creates a new matter with the given name and description. The initial state is
|
|
117
151
|
# open, and the owner is the method caller. Returns the created matter with
|
|
118
152
|
# default view.
|
|
@@ -1023,6 +1057,46 @@ module Google
|
|
|
1023
1057
|
execute_or_queue_command(command, &block)
|
|
1024
1058
|
end
|
|
1025
1059
|
|
|
1060
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
1061
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
1062
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
1063
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
1064
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
1065
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
1066
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
|
1067
|
+
# corresponding to `Code.CANCELLED`.
|
|
1068
|
+
# @param [String] name
|
|
1069
|
+
# The name of the operation resource to be cancelled.
|
|
1070
|
+
# @param [Google::Apis::VaultV1::CancelOperationRequest] cancel_operation_request_object
|
|
1071
|
+
# @param [String] fields
|
|
1072
|
+
# Selector specifying which fields to include in a partial response.
|
|
1073
|
+
# @param [String] quota_user
|
|
1074
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1075
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1076
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1077
|
+
# Request-specific options
|
|
1078
|
+
#
|
|
1079
|
+
# @yield [result, err] Result & error if block supplied
|
|
1080
|
+
# @yieldparam result [Google::Apis::VaultV1::Empty] parsed result object
|
|
1081
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1082
|
+
#
|
|
1083
|
+
# @return [Google::Apis::VaultV1::Empty]
|
|
1084
|
+
#
|
|
1085
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1086
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1087
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1088
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1089
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
1090
|
+
command.request_representation = Google::Apis::VaultV1::CancelOperationRequest::Representation
|
|
1091
|
+
command.request_object = cancel_operation_request_object
|
|
1092
|
+
command.response_representation = Google::Apis::VaultV1::Empty::Representation
|
|
1093
|
+
command.response_class = Google::Apis::VaultV1::Empty
|
|
1094
|
+
command.params['name'] = name unless name.nil?
|
|
1095
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1096
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1097
|
+
execute_or_queue_command(command, &block)
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1026
1100
|
# Deletes a long-running operation. This method indicates that the client is no
|
|
1027
1101
|
# longer interested in the operation result. It does not cancel the operation.
|
|
1028
1102
|
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
@@ -1055,6 +1129,83 @@ module Google
|
|
|
1055
1129
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1056
1130
|
execute_or_queue_command(command, &block)
|
|
1057
1131
|
end
|
|
1132
|
+
|
|
1133
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
1134
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
1135
|
+
# @param [String] name
|
|
1136
|
+
# The name of the operation resource.
|
|
1137
|
+
# @param [String] fields
|
|
1138
|
+
# Selector specifying which fields to include in a partial response.
|
|
1139
|
+
# @param [String] quota_user
|
|
1140
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1141
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1142
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1143
|
+
# Request-specific options
|
|
1144
|
+
#
|
|
1145
|
+
# @yield [result, err] Result & error if block supplied
|
|
1146
|
+
# @yieldparam result [Google::Apis::VaultV1::Operation] parsed result object
|
|
1147
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1148
|
+
#
|
|
1149
|
+
# @return [Google::Apis::VaultV1::Operation]
|
|
1150
|
+
#
|
|
1151
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1152
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1153
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1154
|
+
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1155
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
1156
|
+
command.response_representation = Google::Apis::VaultV1::Operation::Representation
|
|
1157
|
+
command.response_class = Google::Apis::VaultV1::Operation
|
|
1158
|
+
command.params['name'] = name unless name.nil?
|
|
1159
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1160
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1161
|
+
execute_or_queue_command(command, &block)
|
|
1162
|
+
end
|
|
1163
|
+
|
|
1164
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
1165
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
|
1166
|
+
# binding allows API services to override the binding to use different resource
|
|
1167
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
|
1168
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
|
1169
|
+
# service configuration. For backwards compatibility, the default name includes
|
|
1170
|
+
# the operations collection id, however overriding users must ensure the name
|
|
1171
|
+
# binding is the parent resource, without the operations collection id.
|
|
1172
|
+
# @param [String] name
|
|
1173
|
+
# The name of the operation's parent resource.
|
|
1174
|
+
# @param [String] filter
|
|
1175
|
+
# The standard list filter.
|
|
1176
|
+
# @param [Fixnum] page_size
|
|
1177
|
+
# The standard list page size.
|
|
1178
|
+
# @param [String] page_token
|
|
1179
|
+
# The standard list page token.
|
|
1180
|
+
# @param [String] fields
|
|
1181
|
+
# Selector specifying which fields to include in a partial response.
|
|
1182
|
+
# @param [String] quota_user
|
|
1183
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1184
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1185
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1186
|
+
# Request-specific options
|
|
1187
|
+
#
|
|
1188
|
+
# @yield [result, err] Result & error if block supplied
|
|
1189
|
+
# @yieldparam result [Google::Apis::VaultV1::ListOperationsResponse] parsed result object
|
|
1190
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1191
|
+
#
|
|
1192
|
+
# @return [Google::Apis::VaultV1::ListOperationsResponse]
|
|
1193
|
+
#
|
|
1194
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1195
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1196
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1197
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1198
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
1199
|
+
command.response_representation = Google::Apis::VaultV1::ListOperationsResponse::Representation
|
|
1200
|
+
command.response_class = Google::Apis::VaultV1::ListOperationsResponse
|
|
1201
|
+
command.params['name'] = name unless name.nil?
|
|
1202
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1203
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1204
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1205
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1206
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1207
|
+
execute_or_queue_command(command, &block)
|
|
1208
|
+
end
|
|
1058
1209
|
|
|
1059
1210
|
protected
|
|
1060
1211
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/
|
|
27
27
|
module YoutubePartnerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201016'
|
|
30
30
|
|
|
31
31
|
# View and manage your assets and associated content on YouTube
|
|
32
32
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
|
@@ -44,8 +44,8 @@ module Google
|
|
|
44
44
|
attr_accessor :quota_user
|
|
45
45
|
|
|
46
46
|
def initialize
|
|
47
|
-
super('https://
|
|
48
|
-
@batch_path = 'batch
|
|
47
|
+
super('https://youtube.googleapis.com/', '')
|
|
48
|
+
@batch_path = 'batch'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# Inserts a new resource into this collection.
|