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
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/tpu/
|
|
26
26
|
module TpuV1alpha1
|
|
27
27
|
VERSION = 'V1alpha1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201014'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -283,7 +283,7 @@ module Google
|
|
|
283
283
|
class Node
|
|
284
284
|
include Google::Apis::Core::Hashable
|
|
285
285
|
|
|
286
|
-
# The type of hardware accelerators associated with this node.
|
|
286
|
+
# Required. The type of hardware accelerators associated with this node.
|
|
287
287
|
# Corresponds to the JSON property `acceleratorType`
|
|
288
288
|
# @return [String]
|
|
289
289
|
attr_accessor :accelerator_type
|
|
@@ -331,7 +331,7 @@ module Google
|
|
|
331
331
|
# @return [Hash<String,String>]
|
|
332
332
|
attr_accessor :labels
|
|
333
333
|
|
|
334
|
-
# Output only. The
|
|
334
|
+
# Output only. Immutable. The name of the TPU
|
|
335
335
|
# Corresponds to the JSON property `name`
|
|
336
336
|
# @return [String]
|
|
337
337
|
attr_accessor :name
|
|
@@ -379,7 +379,7 @@ module Google
|
|
|
379
379
|
# @return [Array<Google::Apis::TpuV1alpha1::Symptom>]
|
|
380
380
|
attr_accessor :symptoms
|
|
381
381
|
|
|
382
|
-
# The version of Tensorflow running in the Node.
|
|
382
|
+
# Required. The version of Tensorflow running in the Node.
|
|
383
383
|
# Corresponds to the JSON property `tensorflowVersion`
|
|
384
384
|
# @return [String]
|
|
385
385
|
attr_accessor :tensorflow_version
|
|
@@ -118,7 +118,7 @@ module Google
|
|
|
118
118
|
|
|
119
119
|
# Gets AcceleratorType.
|
|
120
120
|
# @param [String] name
|
|
121
|
-
# The resource name.
|
|
121
|
+
# Required. The resource name.
|
|
122
122
|
# @param [String] fields
|
|
123
123
|
# Selector specifying which fields to include in a partial response.
|
|
124
124
|
# @param [String] quota_user
|
|
@@ -148,7 +148,7 @@ module Google
|
|
|
148
148
|
|
|
149
149
|
# Lists accelerator types supported by this API.
|
|
150
150
|
# @param [String] parent
|
|
151
|
-
# The parent resource name.
|
|
151
|
+
# Required. The parent resource name.
|
|
152
152
|
# @param [String] filter
|
|
153
153
|
# List filter.
|
|
154
154
|
# @param [String] order_by
|
|
@@ -190,7 +190,7 @@ module Google
|
|
|
190
190
|
|
|
191
191
|
# Creates a node.
|
|
192
192
|
# @param [String] parent
|
|
193
|
-
# The parent resource name.
|
|
193
|
+
# Required. The parent resource name.
|
|
194
194
|
# @param [Google::Apis::TpuV1alpha1::Node] node_object
|
|
195
195
|
# @param [String] node_id
|
|
196
196
|
# The unqualified resource name.
|
|
@@ -226,7 +226,7 @@ module Google
|
|
|
226
226
|
|
|
227
227
|
# Deletes a node.
|
|
228
228
|
# @param [String] name
|
|
229
|
-
# The resource name.
|
|
229
|
+
# Required. The resource name.
|
|
230
230
|
# @param [String] fields
|
|
231
231
|
# Selector specifying which fields to include in a partial response.
|
|
232
232
|
# @param [String] quota_user
|
|
@@ -256,7 +256,7 @@ module Google
|
|
|
256
256
|
|
|
257
257
|
# Gets the details of a node.
|
|
258
258
|
# @param [String] name
|
|
259
|
-
# The resource name.
|
|
259
|
+
# Required. The resource name.
|
|
260
260
|
# @param [String] fields
|
|
261
261
|
# Selector specifying which fields to include in a partial response.
|
|
262
262
|
# @param [String] quota_user
|
|
@@ -286,7 +286,7 @@ module Google
|
|
|
286
286
|
|
|
287
287
|
# Lists nodes.
|
|
288
288
|
# @param [String] parent
|
|
289
|
-
# The parent resource name.
|
|
289
|
+
# Required. The parent resource name.
|
|
290
290
|
# @param [Fixnum] page_size
|
|
291
291
|
# The maximum number of items to return.
|
|
292
292
|
# @param [String] page_token
|
|
@@ -568,7 +568,7 @@ module Google
|
|
|
568
568
|
|
|
569
569
|
# Gets TensorFlow Version.
|
|
570
570
|
# @param [String] name
|
|
571
|
-
# The resource name.
|
|
571
|
+
# Required. The resource name.
|
|
572
572
|
# @param [String] fields
|
|
573
573
|
# Selector specifying which fields to include in a partial response.
|
|
574
574
|
# @param [String] quota_user
|
|
@@ -598,7 +598,7 @@ module Google
|
|
|
598
598
|
|
|
599
599
|
# Lists TensorFlow versions supported by this API.
|
|
600
600
|
# @param [String] parent
|
|
601
|
-
# The parent resource name.
|
|
601
|
+
# Required. The parent resource name.
|
|
602
602
|
# @param [String] filter
|
|
603
603
|
# List filter.
|
|
604
604
|
# @param [String] order_by
|
|
@@ -22,6 +22,56 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module VaultV1
|
|
24
24
|
|
|
25
|
+
# Count number for each account.
|
|
26
|
+
class AccountCount
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# User's information.
|
|
30
|
+
# Corresponds to the JSON property `account`
|
|
31
|
+
# @return [Google::Apis::VaultV1::UserInfo]
|
|
32
|
+
attr_accessor :account
|
|
33
|
+
|
|
34
|
+
# The number of artifacts found for this account.
|
|
35
|
+
# Corresponds to the JSON property `count`
|
|
36
|
+
# @return [Fixnum]
|
|
37
|
+
attr_accessor :count
|
|
38
|
+
|
|
39
|
+
def initialize(**args)
|
|
40
|
+
update!(**args)
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Update properties of this object
|
|
44
|
+
def update!(**args)
|
|
45
|
+
@account = args[:account] if args.key?(:account)
|
|
46
|
+
@count = args[:count] if args.key?(:count)
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# An error that occurred when querying a specific account
|
|
51
|
+
class AccountCountError
|
|
52
|
+
include Google::Apis::Core::Hashable
|
|
53
|
+
|
|
54
|
+
# User's information.
|
|
55
|
+
# Corresponds to the JSON property `account`
|
|
56
|
+
# @return [Google::Apis::VaultV1::UserInfo]
|
|
57
|
+
attr_accessor :account
|
|
58
|
+
|
|
59
|
+
# Account query error.
|
|
60
|
+
# Corresponds to the JSON property `errorType`
|
|
61
|
+
# @return [String]
|
|
62
|
+
attr_accessor :error_type
|
|
63
|
+
|
|
64
|
+
def initialize(**args)
|
|
65
|
+
update!(**args)
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Update properties of this object
|
|
69
|
+
def update!(**args)
|
|
70
|
+
@account = args[:account] if args.key?(:account)
|
|
71
|
+
@error_type = args[:error_type] if args.key?(:error_type)
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
25
75
|
# Accounts to search
|
|
26
76
|
class AccountInfo
|
|
27
77
|
include Google::Apis::Core::Hashable
|
|
@@ -157,6 +207,19 @@ module Google
|
|
|
157
207
|
end
|
|
158
208
|
end
|
|
159
209
|
|
|
210
|
+
# The request message for Operations.CancelOperation.
|
|
211
|
+
class CancelOperationRequest
|
|
212
|
+
include Google::Apis::Core::Hashable
|
|
213
|
+
|
|
214
|
+
def initialize(**args)
|
|
215
|
+
update!(**args)
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# Update properties of this object
|
|
219
|
+
def update!(**args)
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
|
|
160
223
|
# Close a matter by ID.
|
|
161
224
|
class CloseMatterRequest
|
|
162
225
|
include Google::Apis::Core::Hashable
|
|
@@ -285,6 +348,99 @@ module Google
|
|
|
285
348
|
end
|
|
286
349
|
end
|
|
287
350
|
|
|
351
|
+
# Long running operation metadata for CountArtifacts.
|
|
352
|
+
class CountArtifactsMetadata
|
|
353
|
+
include Google::Apis::Core::Hashable
|
|
354
|
+
|
|
355
|
+
# End time of count operation. Available when operation is done.
|
|
356
|
+
# Corresponds to the JSON property `endTime`
|
|
357
|
+
# @return [String]
|
|
358
|
+
attr_accessor :end_time
|
|
359
|
+
|
|
360
|
+
# The matter ID of the associated matter.
|
|
361
|
+
# Corresponds to the JSON property `matterId`
|
|
362
|
+
# @return [String]
|
|
363
|
+
attr_accessor :matter_id
|
|
364
|
+
|
|
365
|
+
# A query definition relevant for search & export.
|
|
366
|
+
# Corresponds to the JSON property `query`
|
|
367
|
+
# @return [Google::Apis::VaultV1::Query]
|
|
368
|
+
attr_accessor :query
|
|
369
|
+
|
|
370
|
+
# Creation time of count operation.
|
|
371
|
+
# Corresponds to the JSON property `startTime`
|
|
372
|
+
# @return [String]
|
|
373
|
+
attr_accessor :start_time
|
|
374
|
+
|
|
375
|
+
def initialize(**args)
|
|
376
|
+
update!(**args)
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
# Update properties of this object
|
|
380
|
+
def update!(**args)
|
|
381
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
382
|
+
@matter_id = args[:matter_id] if args.key?(:matter_id)
|
|
383
|
+
@query = args[:query] if args.key?(:query)
|
|
384
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
385
|
+
end
|
|
386
|
+
end
|
|
387
|
+
|
|
388
|
+
# Count artifacts request.
|
|
389
|
+
class CountArtifactsRequest
|
|
390
|
+
include Google::Apis::Core::Hashable
|
|
391
|
+
|
|
392
|
+
# A query definition relevant for search & export.
|
|
393
|
+
# Corresponds to the JSON property `query`
|
|
394
|
+
# @return [Google::Apis::VaultV1::Query]
|
|
395
|
+
attr_accessor :query
|
|
396
|
+
|
|
397
|
+
# Specifies the granularity of the count result returned in response.
|
|
398
|
+
# Corresponds to the JSON property `view`
|
|
399
|
+
# @return [String]
|
|
400
|
+
attr_accessor :view
|
|
401
|
+
|
|
402
|
+
def initialize(**args)
|
|
403
|
+
update!(**args)
|
|
404
|
+
end
|
|
405
|
+
|
|
406
|
+
# Update properties of this object
|
|
407
|
+
def update!(**args)
|
|
408
|
+
@query = args[:query] if args.key?(:query)
|
|
409
|
+
@view = args[:view] if args.key?(:view)
|
|
410
|
+
end
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
# Definition of the response for method CountArtifacts.
|
|
414
|
+
class CountArtifactsResponse
|
|
415
|
+
include Google::Apis::Core::Hashable
|
|
416
|
+
|
|
417
|
+
# Groups specific count metrics.
|
|
418
|
+
# Corresponds to the JSON property `groupsCountResult`
|
|
419
|
+
# @return [Google::Apis::VaultV1::GroupsCountResult]
|
|
420
|
+
attr_accessor :groups_count_result
|
|
421
|
+
|
|
422
|
+
# Mail specific count metrics.
|
|
423
|
+
# Corresponds to the JSON property `mailCountResult`
|
|
424
|
+
# @return [Google::Apis::VaultV1::MailCountResult]
|
|
425
|
+
attr_accessor :mail_count_result
|
|
426
|
+
|
|
427
|
+
# Total count of artifacts. For mail and groups, artifacts refers to messages.
|
|
428
|
+
# Corresponds to the JSON property `totalCount`
|
|
429
|
+
# @return [Fixnum]
|
|
430
|
+
attr_accessor :total_count
|
|
431
|
+
|
|
432
|
+
def initialize(**args)
|
|
433
|
+
update!(**args)
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
# Update properties of this object
|
|
437
|
+
def update!(**args)
|
|
438
|
+
@groups_count_result = args[:groups_count_result] if args.key?(:groups_count_result)
|
|
439
|
+
@mail_count_result = args[:mail_count_result] if args.key?(:mail_count_result)
|
|
440
|
+
@total_count = args[:total_count] if args.key?(:total_count)
|
|
441
|
+
end
|
|
442
|
+
end
|
|
443
|
+
|
|
288
444
|
# The options for Drive export.
|
|
289
445
|
class DriveExportOptions
|
|
290
446
|
include Google::Apis::Core::Hashable
|
|
@@ -504,6 +660,51 @@ module Google
|
|
|
504
660
|
end
|
|
505
661
|
end
|
|
506
662
|
|
|
663
|
+
# Groups specific count metrics.
|
|
664
|
+
class GroupsCountResult
|
|
665
|
+
include Google::Apis::Core::Hashable
|
|
666
|
+
|
|
667
|
+
# Error occurred when querying these accounts.
|
|
668
|
+
# Corresponds to the JSON property `accountCountErrors`
|
|
669
|
+
# @return [Array<Google::Apis::VaultV1::AccountCountError>]
|
|
670
|
+
attr_accessor :account_count_errors
|
|
671
|
+
|
|
672
|
+
# Subtotal count per matching account that have more than zero messages.
|
|
673
|
+
# Corresponds to the JSON property `accountCounts`
|
|
674
|
+
# @return [Array<Google::Apis::VaultV1::AccountCount>]
|
|
675
|
+
attr_accessor :account_counts
|
|
676
|
+
|
|
677
|
+
# Total number of accounts that can be queried and have more than zero messages.
|
|
678
|
+
# Corresponds to the JSON property `matchingAccountsCount`
|
|
679
|
+
# @return [Fixnum]
|
|
680
|
+
attr_accessor :matching_accounts_count
|
|
681
|
+
|
|
682
|
+
# When data scope is HELD_DATA in the request Query, these accounts in the
|
|
683
|
+
# request are not queried because they are not on hold. For other data scope,
|
|
684
|
+
# this field is not set.
|
|
685
|
+
# Corresponds to the JSON property `nonQueryableAccounts`
|
|
686
|
+
# @return [Array<String>]
|
|
687
|
+
attr_accessor :non_queryable_accounts
|
|
688
|
+
|
|
689
|
+
# Total number of accounts involved in this count operation.
|
|
690
|
+
# Corresponds to the JSON property `queriedAccountsCount`
|
|
691
|
+
# @return [Fixnum]
|
|
692
|
+
attr_accessor :queried_accounts_count
|
|
693
|
+
|
|
694
|
+
def initialize(**args)
|
|
695
|
+
update!(**args)
|
|
696
|
+
end
|
|
697
|
+
|
|
698
|
+
# Update properties of this object
|
|
699
|
+
def update!(**args)
|
|
700
|
+
@account_count_errors = args[:account_count_errors] if args.key?(:account_count_errors)
|
|
701
|
+
@account_counts = args[:account_counts] if args.key?(:account_counts)
|
|
702
|
+
@matching_accounts_count = args[:matching_accounts_count] if args.key?(:matching_accounts_count)
|
|
703
|
+
@non_queryable_accounts = args[:non_queryable_accounts] if args.key?(:non_queryable_accounts)
|
|
704
|
+
@queried_accounts_count = args[:queried_accounts_count] if args.key?(:queried_accounts_count)
|
|
705
|
+
end
|
|
706
|
+
end
|
|
707
|
+
|
|
507
708
|
# The options for groups export.
|
|
508
709
|
class GroupsExportOptions
|
|
509
710
|
include Google::Apis::Core::Hashable
|
|
@@ -919,6 +1120,31 @@ module Google
|
|
|
919
1120
|
end
|
|
920
1121
|
end
|
|
921
1122
|
|
|
1123
|
+
# The response message for Operations.ListOperations.
|
|
1124
|
+
class ListOperationsResponse
|
|
1125
|
+
include Google::Apis::Core::Hashable
|
|
1126
|
+
|
|
1127
|
+
# The standard List next-page token.
|
|
1128
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1129
|
+
# @return [String]
|
|
1130
|
+
attr_accessor :next_page_token
|
|
1131
|
+
|
|
1132
|
+
# A list of operations that matches the specified filter in the request.
|
|
1133
|
+
# Corresponds to the JSON property `operations`
|
|
1134
|
+
# @return [Array<Google::Apis::VaultV1::Operation>]
|
|
1135
|
+
attr_accessor :operations
|
|
1136
|
+
|
|
1137
|
+
def initialize(**args)
|
|
1138
|
+
update!(**args)
|
|
1139
|
+
end
|
|
1140
|
+
|
|
1141
|
+
# Update properties of this object
|
|
1142
|
+
def update!(**args)
|
|
1143
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1144
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
1145
|
+
end
|
|
1146
|
+
end
|
|
1147
|
+
|
|
922
1148
|
# Definition of the response for method ListSaveQuery.
|
|
923
1149
|
class ListSavedQueriesResponse
|
|
924
1150
|
include Google::Apis::Core::Hashable
|
|
@@ -945,6 +1171,51 @@ module Google
|
|
|
945
1171
|
end
|
|
946
1172
|
end
|
|
947
1173
|
|
|
1174
|
+
# Mail specific count metrics.
|
|
1175
|
+
class MailCountResult
|
|
1176
|
+
include Google::Apis::Core::Hashable
|
|
1177
|
+
|
|
1178
|
+
# Error occurred when querying these accounts.
|
|
1179
|
+
# Corresponds to the JSON property `accountCountErrors`
|
|
1180
|
+
# @return [Array<Google::Apis::VaultV1::AccountCountError>]
|
|
1181
|
+
attr_accessor :account_count_errors
|
|
1182
|
+
|
|
1183
|
+
# Subtotal count per matching account that have more than zero messages.
|
|
1184
|
+
# Corresponds to the JSON property `accountCounts`
|
|
1185
|
+
# @return [Array<Google::Apis::VaultV1::AccountCount>]
|
|
1186
|
+
attr_accessor :account_counts
|
|
1187
|
+
|
|
1188
|
+
# Total number of accounts that can be queried and have more than zero messages.
|
|
1189
|
+
# Corresponds to the JSON property `matchingAccountsCount`
|
|
1190
|
+
# @return [Fixnum]
|
|
1191
|
+
attr_accessor :matching_accounts_count
|
|
1192
|
+
|
|
1193
|
+
# When data scope is HELD_DATA in the request Query, these accounts in the
|
|
1194
|
+
# request are not queried because they are not on hold. For other data scope,
|
|
1195
|
+
# this field is not set.
|
|
1196
|
+
# Corresponds to the JSON property `nonQueryableAccounts`
|
|
1197
|
+
# @return [Array<String>]
|
|
1198
|
+
attr_accessor :non_queryable_accounts
|
|
1199
|
+
|
|
1200
|
+
# Total number of accounts involved in this count operation.
|
|
1201
|
+
# Corresponds to the JSON property `queriedAccountsCount`
|
|
1202
|
+
# @return [Fixnum]
|
|
1203
|
+
attr_accessor :queried_accounts_count
|
|
1204
|
+
|
|
1205
|
+
def initialize(**args)
|
|
1206
|
+
update!(**args)
|
|
1207
|
+
end
|
|
1208
|
+
|
|
1209
|
+
# Update properties of this object
|
|
1210
|
+
def update!(**args)
|
|
1211
|
+
@account_count_errors = args[:account_count_errors] if args.key?(:account_count_errors)
|
|
1212
|
+
@account_counts = args[:account_counts] if args.key?(:account_counts)
|
|
1213
|
+
@matching_accounts_count = args[:matching_accounts_count] if args.key?(:matching_accounts_count)
|
|
1214
|
+
@non_queryable_accounts = args[:non_queryable_accounts] if args.key?(:non_queryable_accounts)
|
|
1215
|
+
@queried_accounts_count = args[:queried_accounts_count] if args.key?(:queried_accounts_count)
|
|
1216
|
+
end
|
|
1217
|
+
end
|
|
1218
|
+
|
|
948
1219
|
# The options for mail export.
|
|
949
1220
|
class MailExportOptions
|
|
950
1221
|
include Google::Apis::Core::Hashable
|
|
@@ -1063,6 +1334,68 @@ module Google
|
|
|
1063
1334
|
end
|
|
1064
1335
|
end
|
|
1065
1336
|
|
|
1337
|
+
# This resource represents a long-running operation that is the result of a
|
|
1338
|
+
# network API call.
|
|
1339
|
+
class Operation
|
|
1340
|
+
include Google::Apis::Core::Hashable
|
|
1341
|
+
|
|
1342
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
1343
|
+
# , the operation is completed, and either `error` or `response` is available.
|
|
1344
|
+
# Corresponds to the JSON property `done`
|
|
1345
|
+
# @return [Boolean]
|
|
1346
|
+
attr_accessor :done
|
|
1347
|
+
alias_method :done?, :done
|
|
1348
|
+
|
|
1349
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
1350
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1351
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
1352
|
+
# data: error code, error message, and error details. You can find out more
|
|
1353
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
1354
|
+
# //cloud.google.com/apis/design/errors).
|
|
1355
|
+
# Corresponds to the JSON property `error`
|
|
1356
|
+
# @return [Google::Apis::VaultV1::Status]
|
|
1357
|
+
attr_accessor :error
|
|
1358
|
+
|
|
1359
|
+
# Service-specific metadata associated with the operation. It typically contains
|
|
1360
|
+
# progress information and common metadata such as create time. Some services
|
|
1361
|
+
# might not provide such metadata. Any method that returns a long-running
|
|
1362
|
+
# operation should document the metadata type, if any.
|
|
1363
|
+
# Corresponds to the JSON property `metadata`
|
|
1364
|
+
# @return [Hash<String,Object>]
|
|
1365
|
+
attr_accessor :metadata
|
|
1366
|
+
|
|
1367
|
+
# The server-assigned name, which is only unique within the same service that
|
|
1368
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
1369
|
+
# be a resource name ending with `operations/`unique_id``.
|
|
1370
|
+
# Corresponds to the JSON property `name`
|
|
1371
|
+
# @return [String]
|
|
1372
|
+
attr_accessor :name
|
|
1373
|
+
|
|
1374
|
+
# The normal response of the operation in case of success. If the original
|
|
1375
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
|
1376
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
|
1377
|
+
# the response should be the resource. For other methods, the response should
|
|
1378
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
|
1379
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
|
1380
|
+
# response type is `TakeSnapshotResponse`.
|
|
1381
|
+
# Corresponds to the JSON property `response`
|
|
1382
|
+
# @return [Hash<String,Object>]
|
|
1383
|
+
attr_accessor :response
|
|
1384
|
+
|
|
1385
|
+
def initialize(**args)
|
|
1386
|
+
update!(**args)
|
|
1387
|
+
end
|
|
1388
|
+
|
|
1389
|
+
# Update properties of this object
|
|
1390
|
+
def update!(**args)
|
|
1391
|
+
@done = args[:done] if args.key?(:done)
|
|
1392
|
+
@error = args[:error] if args.key?(:error)
|
|
1393
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1394
|
+
@name = args[:name] if args.key?(:name)
|
|
1395
|
+
@response = args[:response] if args.key?(:response)
|
|
1396
|
+
end
|
|
1397
|
+
end
|
|
1398
|
+
|
|
1066
1399
|
# Org Unit to search
|
|
1067
1400
|
class OrgUnitInfo
|
|
1068
1401
|
include Google::Apis::Core::Hashable
|