google-apis-vault_v1 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210419"
25
+ REVISION = "20210621"
26
26
  end
27
27
  end
28
28
  end
@@ -23,7 +23,7 @@ module Google
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.
26
+ # the account must have the [required Vault privileges](https://support.google.
27
27
  # com/vault/answer/2799699) and access to the matter. To access a matter, the
28
28
  # account must have created the matter, have the matter shared with them, or
29
29
  # have the **View All Matters** privilege. For example, to download an export,
@@ -88,7 +88,7 @@ module Google
88
88
  execute_or_queue_command(command, &block)
89
89
  end
90
90
 
91
- # Closes the specified matter. Returns matter with updated state.
91
+ # Closes the specified matter. Returns the matter with updated state.
92
92
  # @param [String] matter_id
93
93
  # The matter ID.
94
94
  # @param [Google::Apis::VaultV1::CloseMatterRequest] close_matter_request_object
@@ -121,8 +121,7 @@ module Google
121
121
  execute_or_queue_command(command, &block)
122
122
  end
123
123
 
124
- # Counts the artifacts within the context of a matter and returns a detailed
125
- # breakdown of metrics.
124
+ # Counts the accounts processed by the specified query.
126
125
  # @param [String] matter_id
127
126
  # The matter ID.
128
127
  # @param [Google::Apis::VaultV1::CountArtifactsRequest] count_artifacts_request_object
@@ -155,7 +154,7 @@ module Google
155
154
  execute_or_queue_command(command, &block)
156
155
  end
157
156
 
158
- # Creates a new matter with the given name and description. The initial state is
157
+ # Creates a matter with the given name and description. The initial state is
159
158
  # open, and the owner is the method caller. Returns the created matter with
160
159
  # default view.
161
160
  # @param [Google::Apis::VaultV1::Matter] matter_object
@@ -187,7 +186,7 @@ module Google
187
186
  execute_or_queue_command(command, &block)
188
187
  end
189
188
 
190
- # Deletes the specified matter. Returns matter with updated state.
189
+ # Deletes the specified matter. Returns the matter with updated state.
191
190
  # @param [String] matter_id
192
191
  # The matter ID
193
192
  # @param [String] fields
@@ -221,7 +220,7 @@ module Google
221
220
  # @param [String] matter_id
222
221
  # The matter ID.
223
222
  # @param [String] view
224
- # Specifies which parts of the Matter to return in the response.
223
+ # Specifies how much information about the matter to return in the response.
225
224
  # @param [String] fields
226
225
  # Selector specifying which fields to include in a partial response.
227
226
  # @param [String] quota_user
@@ -250,16 +249,16 @@ module Google
250
249
  execute_or_queue_command(command, &block)
251
250
  end
252
251
 
253
- # Lists matters the user has access to.
252
+ # Lists matters the requestor has access to.
254
253
  # @param [Fixnum] page_size
255
254
  # The number of matters to return in the response. Default and maximum are 100.
256
255
  # @param [String] page_token
257
256
  # The pagination token as returned in the response.
258
257
  # @param [String] state
259
- # If set, list only matters with that specific state. The default is listing
260
- # matters of all states.
258
+ # If set, lists only matters with the specified state. The default lists matters
259
+ # of all states.
261
260
  # @param [String] view
262
- # Specifies which parts of the matter to return in response.
261
+ # Specifies how much information about the matter to return in response.
263
262
  # @param [String] fields
264
263
  # Selector specifying which fields to include in a partial response.
265
264
  # @param [String] quota_user
@@ -323,7 +322,7 @@ module Google
323
322
  execute_or_queue_command(command, &block)
324
323
  end
325
324
 
326
- # Reopens the specified matter. Returns matter with updated state.
325
+ # Reopens the specified matter. Returns the matter with updated state.
327
326
  # @param [String] matter_id
328
327
  # The matter ID.
329
328
  # @param [Google::Apis::VaultV1::ReopenMatterRequest] reopen_matter_request_object
@@ -356,7 +355,7 @@ module Google
356
355
  execute_or_queue_command(command, &block)
357
356
  end
358
357
 
359
- # Undeletes the specified matter. Returns matter with updated state.
358
+ # Undeletes the specified matter. Returns the matter with updated state.
360
359
  # @param [String] matter_id
361
360
  # The matter ID.
362
361
  # @param [Google::Apis::VaultV1::UndeleteMatterRequest] undelete_matter_request_object
@@ -424,7 +423,7 @@ module Google
424
423
  execute_or_queue_command(command, &block)
425
424
  end
426
425
 
427
- # Creates an Export.
426
+ # Creates an export.
428
427
  # @param [String] matter_id
429
428
  # The matter ID.
430
429
  # @param [Google::Apis::VaultV1::Export] export_object
@@ -457,7 +456,7 @@ module Google
457
456
  execute_or_queue_command(command, &block)
458
457
  end
459
458
 
460
- # Deletes an Export.
459
+ # Deletes an export.
461
460
  # @param [String] matter_id
462
461
  # The matter ID.
463
462
  # @param [String] export_id
@@ -490,7 +489,7 @@ module Google
490
489
  execute_or_queue_command(command, &block)
491
490
  end
492
491
 
493
- # Gets an Export.
492
+ # Gets an export.
494
493
  # @param [String] matter_id
495
494
  # The matter ID.
496
495
  # @param [String] export_id
@@ -523,7 +522,7 @@ module Google
523
522
  execute_or_queue_command(command, &block)
524
523
  end
525
524
 
526
- # Lists Exports.
525
+ # Lists details about the exports in the specified matter.
527
526
  # @param [String] matter_id
528
527
  # The matter ID.
529
528
  # @param [Fixnum] page_size
@@ -559,8 +558,8 @@ module Google
559
558
  execute_or_queue_command(command, &block)
560
559
  end
561
560
 
562
- # Adds HeldAccounts to a hold. Returns a list of accounts that have been
563
- # successfully added. Accounts can only be added to an existing account-based
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
564
563
  # hold.
565
564
  # @param [String] matter_id
566
565
  # The matter ID.
@@ -597,7 +596,7 @@ module Google
597
596
  execute_or_queue_command(command, &block)
598
597
  end
599
598
 
600
- # Creates a hold in the given matter.
599
+ # Creates a hold in the specified matter.
601
600
  # @param [String] matter_id
602
601
  # The matter ID.
603
602
  # @param [Google::Apis::VaultV1::Hold] hold_object
@@ -630,7 +629,9 @@ module Google
630
629
  execute_or_queue_command(command, &block)
631
630
  end
632
631
 
633
- # Removes a hold by ID. This will release any HeldAccounts on this Hold.
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.
634
635
  # @param [String] matter_id
635
636
  # The matter ID.
636
637
  # @param [String] hold_id
@@ -663,13 +664,13 @@ module Google
663
664
  execute_or_queue_command(command, &block)
664
665
  end
665
666
 
666
- # Gets a hold by ID.
667
+ # Gets the specified hold.
667
668
  # @param [String] matter_id
668
669
  # The matter ID.
669
670
  # @param [String] hold_id
670
671
  # The hold ID.
671
672
  # @param [String] view
672
- # Specifies which parts of the Hold to return.
673
+ # The amount of detail to return for a hold.
673
674
  # @param [String] fields
674
675
  # Selector specifying which fields to include in a partial response.
675
676
  # @param [String] quota_user
@@ -699,18 +700,17 @@ module Google
699
700
  execute_or_queue_command(command, &block)
700
701
  end
701
702
 
702
- # Lists holds within a matter. An empty page token in ListHoldsResponse denotes
703
- # no more holds to list.
703
+ # Lists the holds in a matter.
704
704
  # @param [String] matter_id
705
705
  # The matter ID.
706
706
  # @param [Fixnum] page_size
707
707
  # The number of holds to return in the response, between 0 and 100 inclusive.
708
- # 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.
709
709
  # @param [String] page_token
710
710
  # The pagination token as returned in the response. An empty token means start
711
711
  # from the beginning.
712
712
  # @param [String] view
713
- # Specifies which parts of the Hold to return.
713
+ # The amount of detail to return for a hold.
714
714
  # @param [String] fields
715
715
  # Selector specifying which fields to include in a partial response.
716
716
  # @param [String] quota_user
@@ -741,9 +741,8 @@ module Google
741
741
  execute_or_queue_command(command, &block)
742
742
  end
743
743
 
744
- # Removes HeldAccounts from a hold. Returns a list of statuses in the same order
745
- # as the request. If this request leaves the hold with no held accounts, the
746
- # 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.
747
746
  # @param [String] matter_id
748
747
  # The matter ID.
749
748
  # @param [String] hold_id
@@ -779,9 +778,10 @@ module Google
779
778
  execute_or_queue_command(command, &block)
780
779
  end
781
780
 
782
- # Updates the OU and/or query parameters of a hold. You cannot add accounts to a
783
- # hold that covers an OU, nor can you add OUs to a hold that covers individual
784
- # accounts. Accounts listed in the hold will be ignored.
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.
785
785
  # @param [String] matter_id
786
786
  # The matter ID.
787
787
  # @param [String] hold_id
@@ -817,9 +817,9 @@ module Google
817
817
  execute_or_queue_command(command, &block)
818
818
  end
819
819
 
820
- # Adds a HeldAccount to a hold. Accounts can only be added to a hold that has no
821
- # held_org_unit set. Attempting to add an account to an OU-based hold will
822
- # result in an error.
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.
823
823
  # @param [String] matter_id
824
824
  # The matter ID.
825
825
  # @param [String] hold_id
@@ -855,8 +855,7 @@ module Google
855
855
  execute_or_queue_command(command, &block)
856
856
  end
857
857
 
858
- # Removes a HeldAccount from a hold. If this request leaves the hold with no
859
- # held accounts, the hold will not apply to any accounts.
858
+ # Removes an account from a hold.
860
859
  # @param [String] matter_id
861
860
  # The matter ID.
862
861
  # @param [String] hold_id
@@ -892,8 +891,10 @@ module Google
892
891
  execute_or_queue_command(command, &block)
893
892
  end
894
893
 
895
- # Lists HeldAccounts for a hold. This will only list individually specified held
896
- # accounts. If the hold is on an OU, then use Admin SDK to enumerate its members.
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.
897
898
  # @param [String] matter_id
898
899
  # The matter ID.
899
900
  # @param [String] hold_id
@@ -928,7 +929,7 @@ module Google
928
929
 
929
930
  # Creates a saved query.
930
931
  # @param [String] matter_id
931
- # The matter ID of the parent matter for which the saved query is to be created.
932
+ # The ID of the matter to create the saved query in.
932
933
  # @param [Google::Apis::VaultV1::SavedQuery] saved_query_object
933
934
  # @param [String] fields
934
935
  # Selector specifying which fields to include in a partial response.
@@ -959,11 +960,11 @@ module Google
959
960
  execute_or_queue_command(command, &block)
960
961
  end
961
962
 
962
- # Deletes a saved query by Id.
963
+ # Deletes the specified saved query.
963
964
  # @param [String] matter_id
964
- # The matter ID of the parent matter for which the saved query is to be deleted.
965
+ # The ID of the matter to delete the saved query from.
965
966
  # @param [String] saved_query_id
966
- # ID of the saved query to be deleted.
967
+ # ID of the saved query to delete.
967
968
  # @param [String] fields
968
969
  # Selector specifying which fields to include in a partial response.
969
970
  # @param [String] quota_user
@@ -992,12 +993,11 @@ module Google
992
993
  execute_or_queue_command(command, &block)
993
994
  end
994
995
 
995
- # Retrieves a saved query by Id.
996
+ # Retrieves the specified saved query.
996
997
  # @param [String] matter_id
997
- # The matter ID of the parent matter for which the saved query is to be
998
- # retrieved.
998
+ # The ID of the matter to get the saved query from.
999
999
  # @param [String] saved_query_id
1000
- # ID of the saved query to be retrieved.
1000
+ # ID of the saved query to retrieve.
1001
1001
  # @param [String] fields
1002
1002
  # Selector specifying which fields to include in a partial response.
1003
1003
  # @param [String] quota_user
@@ -1026,11 +1026,9 @@ module Google
1026
1026
  execute_or_queue_command(command, &block)
1027
1027
  end
1028
1028
 
1029
- # Lists saved queries within a matter. An empty page token in
1030
- # ListSavedQueriesResponse denotes no more saved queries to list.
1029
+ # Lists the saved queries in a matter.
1031
1030
  # @param [String] matter_id
1032
- # The matter ID of the parent matter for which the saved queries are to be
1033
- # retrieved.
1031
+ # The ID of the matter to get the saved queries for.
1034
1032
  # @param [Fixnum] page_size
1035
1033
  # The maximum number of saved queries to return.
1036
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.0
4
+ version: 0.5.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-05-24 00:00:00.000000000 Z
11
+ date: 2021-06-28 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.1'
19
+ version: '0.3'
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.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vault_v1/v0.5.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: []