google-apis-vault_v1 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/lib/google/apis/vault_v1.rb +7 -1
- data/lib/google/apis/vault_v1/classes.rb +217 -172
- data/lib/google/apis/vault_v1/gem_version.rb +3 -3
- data/lib/google/apis/vault_v1/service.rb +56 -52
- metadata +15 -9
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module VaultV1
|
18
18
|
# Version of the google-apis-vault_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210621"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,7 +22,13 @@ module Google
|
|
22
22
|
module VaultV1
|
23
23
|
# G Suite Vault API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Retention and eDiscovery for Google Workspace. To work with Vault resources,
|
26
|
+
# the account must have the [required Vault privileges](https://support.google.
|
27
|
+
# com/vault/answer/2799699) and access to the matter. To access a matter, the
|
28
|
+
# account must have created the matter, have the matter shared with them, or
|
29
|
+
# have the **View All Matters** privilege. For example, to download an export,
|
30
|
+
# an account needs the **Manage Exports** privilege and the matter shared with
|
31
|
+
# them.
|
26
32
|
#
|
27
33
|
# @example
|
28
34
|
# require 'google/apis/vault_v1'
|
@@ -82,7 +88,7 @@ module Google
|
|
82
88
|
execute_or_queue_command(command, &block)
|
83
89
|
end
|
84
90
|
|
85
|
-
# Closes the specified matter. Returns matter with updated state.
|
91
|
+
# Closes the specified matter. Returns the matter with updated state.
|
86
92
|
# @param [String] matter_id
|
87
93
|
# The matter ID.
|
88
94
|
# @param [Google::Apis::VaultV1::CloseMatterRequest] close_matter_request_object
|
@@ -115,8 +121,7 @@ module Google
|
|
115
121
|
execute_or_queue_command(command, &block)
|
116
122
|
end
|
117
123
|
|
118
|
-
# Counts the
|
119
|
-
# breakdown of metrics.
|
124
|
+
# Counts the accounts processed by the specified query.
|
120
125
|
# @param [String] matter_id
|
121
126
|
# The matter ID.
|
122
127
|
# @param [Google::Apis::VaultV1::CountArtifactsRequest] count_artifacts_request_object
|
@@ -149,7 +154,7 @@ module Google
|
|
149
154
|
execute_or_queue_command(command, &block)
|
150
155
|
end
|
151
156
|
|
152
|
-
# Creates a
|
157
|
+
# Creates a matter with the given name and description. The initial state is
|
153
158
|
# open, and the owner is the method caller. Returns the created matter with
|
154
159
|
# default view.
|
155
160
|
# @param [Google::Apis::VaultV1::Matter] matter_object
|
@@ -181,7 +186,7 @@ module Google
|
|
181
186
|
execute_or_queue_command(command, &block)
|
182
187
|
end
|
183
188
|
|
184
|
-
# Deletes the specified matter. Returns matter with updated state.
|
189
|
+
# Deletes the specified matter. Returns the matter with updated state.
|
185
190
|
# @param [String] matter_id
|
186
191
|
# The matter ID
|
187
192
|
# @param [String] fields
|
@@ -215,7 +220,7 @@ module Google
|
|
215
220
|
# @param [String] matter_id
|
216
221
|
# The matter ID.
|
217
222
|
# @param [String] view
|
218
|
-
# Specifies
|
223
|
+
# Specifies how much information about the matter to return in the response.
|
219
224
|
# @param [String] fields
|
220
225
|
# Selector specifying which fields to include in a partial response.
|
221
226
|
# @param [String] quota_user
|
@@ -244,16 +249,16 @@ module Google
|
|
244
249
|
execute_or_queue_command(command, &block)
|
245
250
|
end
|
246
251
|
|
247
|
-
# Lists matters the
|
252
|
+
# Lists matters the requestor has access to.
|
248
253
|
# @param [Fixnum] page_size
|
249
254
|
# The number of matters to return in the response. Default and maximum are 100.
|
250
255
|
# @param [String] page_token
|
251
256
|
# The pagination token as returned in the response.
|
252
257
|
# @param [String] state
|
253
|
-
# If set,
|
254
|
-
#
|
258
|
+
# If set, lists only matters with the specified state. The default lists matters
|
259
|
+
# of all states.
|
255
260
|
# @param [String] view
|
256
|
-
# Specifies
|
261
|
+
# Specifies how much information about the matter to return in response.
|
257
262
|
# @param [String] fields
|
258
263
|
# Selector specifying which fields to include in a partial response.
|
259
264
|
# @param [String] quota_user
|
@@ -317,7 +322,7 @@ module Google
|
|
317
322
|
execute_or_queue_command(command, &block)
|
318
323
|
end
|
319
324
|
|
320
|
-
# Reopens the specified matter. Returns matter with updated state.
|
325
|
+
# Reopens the specified matter. Returns the matter with updated state.
|
321
326
|
# @param [String] matter_id
|
322
327
|
# The matter ID.
|
323
328
|
# @param [Google::Apis::VaultV1::ReopenMatterRequest] reopen_matter_request_object
|
@@ -350,7 +355,7 @@ module Google
|
|
350
355
|
execute_or_queue_command(command, &block)
|
351
356
|
end
|
352
357
|
|
353
|
-
# Undeletes the specified matter. Returns matter with updated state.
|
358
|
+
# Undeletes the specified matter. Returns the matter with updated state.
|
354
359
|
# @param [String] matter_id
|
355
360
|
# The matter ID.
|
356
361
|
# @param [Google::Apis::VaultV1::UndeleteMatterRequest] undelete_matter_request_object
|
@@ -418,7 +423,7 @@ module Google
|
|
418
423
|
execute_or_queue_command(command, &block)
|
419
424
|
end
|
420
425
|
|
421
|
-
# Creates an
|
426
|
+
# Creates an export.
|
422
427
|
# @param [String] matter_id
|
423
428
|
# The matter ID.
|
424
429
|
# @param [Google::Apis::VaultV1::Export] export_object
|
@@ -451,7 +456,7 @@ module Google
|
|
451
456
|
execute_or_queue_command(command, &block)
|
452
457
|
end
|
453
458
|
|
454
|
-
# Deletes an
|
459
|
+
# Deletes an export.
|
455
460
|
# @param [String] matter_id
|
456
461
|
# The matter ID.
|
457
462
|
# @param [String] export_id
|
@@ -484,7 +489,7 @@ module Google
|
|
484
489
|
execute_or_queue_command(command, &block)
|
485
490
|
end
|
486
491
|
|
487
|
-
# Gets an
|
492
|
+
# Gets an export.
|
488
493
|
# @param [String] matter_id
|
489
494
|
# The matter ID.
|
490
495
|
# @param [String] export_id
|
@@ -517,7 +522,7 @@ module Google
|
|
517
522
|
execute_or_queue_command(command, &block)
|
518
523
|
end
|
519
524
|
|
520
|
-
# Lists
|
525
|
+
# Lists details about the exports in the specified matter.
|
521
526
|
# @param [String] matter_id
|
522
527
|
# The matter ID.
|
523
528
|
# @param [Fixnum] page_size
|
@@ -553,8 +558,8 @@ module Google
|
|
553
558
|
execute_or_queue_command(command, &block)
|
554
559
|
end
|
555
560
|
|
556
|
-
# Adds
|
557
|
-
# successfully added. Accounts can
|
561
|
+
# Adds accounts to a hold. Returns a list of accounts that have been
|
562
|
+
# successfully added. Accounts can be added only to an existing account-based
|
558
563
|
# hold.
|
559
564
|
# @param [String] matter_id
|
560
565
|
# The matter ID.
|
@@ -591,7 +596,7 @@ module Google
|
|
591
596
|
execute_or_queue_command(command, &block)
|
592
597
|
end
|
593
598
|
|
594
|
-
# Creates a hold in the
|
599
|
+
# Creates a hold in the specified matter.
|
595
600
|
# @param [String] matter_id
|
596
601
|
# The matter ID.
|
597
602
|
# @param [Google::Apis::VaultV1::Hold] hold_object
|
@@ -624,7 +629,9 @@ module Google
|
|
624
629
|
execute_or_queue_command(command, &block)
|
625
630
|
end
|
626
631
|
|
627
|
-
# Removes
|
632
|
+
# Removes the specified hold and releases the accounts or organizational unit
|
633
|
+
# covered by the hold. If the data is not preserved by another hold or retention
|
634
|
+
# rule, it might be purged.
|
628
635
|
# @param [String] matter_id
|
629
636
|
# The matter ID.
|
630
637
|
# @param [String] hold_id
|
@@ -657,13 +664,13 @@ module Google
|
|
657
664
|
execute_or_queue_command(command, &block)
|
658
665
|
end
|
659
666
|
|
660
|
-
# Gets
|
667
|
+
# Gets the specified hold.
|
661
668
|
# @param [String] matter_id
|
662
669
|
# The matter ID.
|
663
670
|
# @param [String] hold_id
|
664
671
|
# The hold ID.
|
665
672
|
# @param [String] view
|
666
|
-
#
|
673
|
+
# The amount of detail to return for a hold.
|
667
674
|
# @param [String] fields
|
668
675
|
# Selector specifying which fields to include in a partial response.
|
669
676
|
# @param [String] quota_user
|
@@ -693,18 +700,17 @@ module Google
|
|
693
700
|
execute_or_queue_command(command, &block)
|
694
701
|
end
|
695
702
|
|
696
|
-
# Lists holds
|
697
|
-
# no more holds to list.
|
703
|
+
# Lists the holds in a matter.
|
698
704
|
# @param [String] matter_id
|
699
705
|
# The matter ID.
|
700
706
|
# @param [Fixnum] page_size
|
701
707
|
# The number of holds to return in the response, between 0 and 100 inclusive.
|
702
|
-
# Leaving this empty, or as 0, is the same as page_size = 100.
|
708
|
+
# Leaving this empty, or as 0, is the same as **page_size** = 100.
|
703
709
|
# @param [String] page_token
|
704
710
|
# The pagination token as returned in the response. An empty token means start
|
705
711
|
# from the beginning.
|
706
712
|
# @param [String] view
|
707
|
-
#
|
713
|
+
# The amount of detail to return for a hold.
|
708
714
|
# @param [String] fields
|
709
715
|
# Selector specifying which fields to include in a partial response.
|
710
716
|
# @param [String] quota_user
|
@@ -735,9 +741,8 @@ module Google
|
|
735
741
|
execute_or_queue_command(command, &block)
|
736
742
|
end
|
737
743
|
|
738
|
-
# Removes
|
739
|
-
# as the request.
|
740
|
-
# hold will not apply to any accounts.
|
744
|
+
# Removes the specified accounts from a hold. Returns a list of statuses in the
|
745
|
+
# same order as the request.
|
741
746
|
# @param [String] matter_id
|
742
747
|
# The matter ID.
|
743
748
|
# @param [String] hold_id
|
@@ -773,9 +778,10 @@ module Google
|
|
773
778
|
execute_or_queue_command(command, &block)
|
774
779
|
end
|
775
780
|
|
776
|
-
# Updates the
|
777
|
-
# hold
|
778
|
-
#
|
781
|
+
# Updates the scope (organizational unit or accounts) and query parameters of a
|
782
|
+
# hold. You cannot add accounts to a hold that covers an organizational unit,
|
783
|
+
# nor can you add organizational units to a hold that covers individual accounts.
|
784
|
+
# If you try, the unsupported values are ignored.
|
779
785
|
# @param [String] matter_id
|
780
786
|
# The matter ID.
|
781
787
|
# @param [String] hold_id
|
@@ -811,9 +817,9 @@ module Google
|
|
811
817
|
execute_or_queue_command(command, &block)
|
812
818
|
end
|
813
819
|
|
814
|
-
# Adds
|
815
|
-
#
|
816
|
-
#
|
820
|
+
# Adds an account to a hold. Accounts can be added only to a hold that does not
|
821
|
+
# have an organizational unit set. If you try to add an account to an
|
822
|
+
# organizational unit-based hold, an error is returned.
|
817
823
|
# @param [String] matter_id
|
818
824
|
# The matter ID.
|
819
825
|
# @param [String] hold_id
|
@@ -849,8 +855,7 @@ module Google
|
|
849
855
|
execute_or_queue_command(command, &block)
|
850
856
|
end
|
851
857
|
|
852
|
-
# Removes
|
853
|
-
# held accounts, the hold will not apply to any accounts.
|
858
|
+
# Removes an account from a hold.
|
854
859
|
# @param [String] matter_id
|
855
860
|
# The matter ID.
|
856
861
|
# @param [String] hold_id
|
@@ -886,8 +891,10 @@ module Google
|
|
886
891
|
execute_or_queue_command(command, &block)
|
887
892
|
end
|
888
893
|
|
889
|
-
# Lists
|
890
|
-
# accounts. If the hold
|
894
|
+
# Lists the accounts covered by a hold. This can list only individually-
|
895
|
+
# specified accounts covered by the hold. If the hold covers an organizational
|
896
|
+
# unit, use the [Admin SDK](https://developers.google.com/admin-sdk/). to list
|
897
|
+
# the members of the organizational unit on hold.
|
891
898
|
# @param [String] matter_id
|
892
899
|
# The matter ID.
|
893
900
|
# @param [String] hold_id
|
@@ -922,7 +929,7 @@ module Google
|
|
922
929
|
|
923
930
|
# Creates a saved query.
|
924
931
|
# @param [String] matter_id
|
925
|
-
# The
|
932
|
+
# The ID of the matter to create the saved query in.
|
926
933
|
# @param [Google::Apis::VaultV1::SavedQuery] saved_query_object
|
927
934
|
# @param [String] fields
|
928
935
|
# Selector specifying which fields to include in a partial response.
|
@@ -953,11 +960,11 @@ module Google
|
|
953
960
|
execute_or_queue_command(command, &block)
|
954
961
|
end
|
955
962
|
|
956
|
-
# Deletes
|
963
|
+
# Deletes the specified saved query.
|
957
964
|
# @param [String] matter_id
|
958
|
-
# The
|
965
|
+
# The ID of the matter to delete the saved query from.
|
959
966
|
# @param [String] saved_query_id
|
960
|
-
# ID of the saved query to
|
967
|
+
# ID of the saved query to delete.
|
961
968
|
# @param [String] fields
|
962
969
|
# Selector specifying which fields to include in a partial response.
|
963
970
|
# @param [String] quota_user
|
@@ -986,12 +993,11 @@ module Google
|
|
986
993
|
execute_or_queue_command(command, &block)
|
987
994
|
end
|
988
995
|
|
989
|
-
# Retrieves
|
996
|
+
# Retrieves the specified saved query.
|
990
997
|
# @param [String] matter_id
|
991
|
-
# The
|
992
|
-
# retrieved.
|
998
|
+
# The ID of the matter to get the saved query from.
|
993
999
|
# @param [String] saved_query_id
|
994
|
-
# ID of the saved query to
|
1000
|
+
# ID of the saved query to retrieve.
|
995
1001
|
# @param [String] fields
|
996
1002
|
# Selector specifying which fields to include in a partial response.
|
997
1003
|
# @param [String] quota_user
|
@@ -1020,11 +1026,9 @@ module Google
|
|
1020
1026
|
execute_or_queue_command(command, &block)
|
1021
1027
|
end
|
1022
1028
|
|
1023
|
-
# Lists saved queries
|
1024
|
-
# ListSavedQueriesResponse denotes no more saved queries to list.
|
1029
|
+
# Lists the saved queries in a matter.
|
1025
1030
|
# @param [String] matter_id
|
1026
|
-
# The
|
1027
|
-
# retrieved.
|
1031
|
+
# The ID of the matter to get the saved queries for.
|
1028
1032
|
# @param [Fixnum] page_size
|
1029
1033
|
# The maximum number of saved queries to return.
|
1030
1034
|
# @param [String] page_token
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-vault_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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: 2021-
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for G Suite Vault API V1. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-vault_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-vault_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vault_v1/v0.6.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-vault_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
68
|
requirements:
|
63
69
|
- - ">="
|
64
70
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
71
|
+
version: '2.5'
|
66
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
73
|
requirements:
|
68
74
|
- - ">="
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for G Suite Vault API V1
|