google-apis-drive_v3 0.5.0 → 0.6.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f76b993262e8bca6a2292f36a059da13c6c4defbf6ef86ebe944929a73c05c3
4
- data.tar.gz: 3160e370be7ae9a61cb900d83ca6b5fed15d773405e28e70a439edd470052fb8
3
+ metadata.gz: 4f7c70eb7dad76cc556fc4da0edeb47975c9633457281e338563f0bc97333684
4
+ data.tar.gz: e915bac8562d4dddeca4799a857e3f29448b0939b08aa5d88e111c8bb2ff55c5
5
5
  SHA512:
6
- metadata.gz: 4785fa306f4d0386fe8281312efae50704cbe124b1d6466836b26cb3d3a2cb10261fabcf1e70ebc2aec185f5aa56862b60bc8b724a3852fe034602a9802451e5
7
- data.tar.gz: 79c56af8864d7c604d8188fa6fff824343ee945b38730ce2aace0d2023e3cbf3ef2ac3c58d6379b0b90c8df1cbb0b6f0db6d74d812d1a8470a55f64abfc9c91f
6
+ metadata.gz: 77908d5dbdb187ab90034af8cd62a42b3c708fcfce168c7f9f4834a60907a7abf0353267951ce376780d11d4dcef654d02645da2803cf56d875e23565ddc1215
7
+ data.tar.gz: ed847e429be53a1c464823d5bfd9bb8f3aae726e1ff5629f8a466ef54010550733605d9e37b890285b0ca96632d87c71859bf9c97bd7835edb7c7d214a3c1220
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drive_v3
2
2
 
3
+ ### v0.6.0 (2021-05-13)
4
+
5
+ * Regenerated from discovery document revision 20210509
6
+
3
7
  ### v0.5.0 (2021-03-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20210315
@@ -426,8 +426,8 @@ module Google
426
426
  class Comment
427
427
  include Google::Apis::Core::Hashable
428
428
 
429
- # A region of the document represented as a JSON string. See anchor
430
- # documentation for details on how to define and interpret anchor properties.
429
+ # A region of the document represented as a JSON string. For details on defining
430
+ # anchor properties, refer to Add comments and replies.
431
431
  # Corresponds to the JSON property `anchor`
432
432
  # @return [String]
433
433
  attr_accessor :anchor
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DriveV3
18
18
  # Version of the google-apis-drive_v3 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210315"
25
+ REVISION = "20210509"
26
26
  end
27
27
  end
28
28
  end
@@ -1043,7 +1043,11 @@ module Google
1043
1043
  # The number of IDs to return.
1044
1044
  # @param [String] space
1045
1045
  # The space in which the IDs can be used to create new files. Supported values
1046
- # are 'drive' and 'appDataFolder'.
1046
+ # are 'drive' and 'appDataFolder'. (Default: 'drive')
1047
+ # @param [String] type
1048
+ # The type of items which the IDs can be used for. Supported values are 'files'
1049
+ # and 'shortcuts'. Note that 'shortcuts' are only supported in the drive 'space'.
1050
+ # (Default: 'files')
1047
1051
  # @param [String] fields
1048
1052
  # Selector specifying which fields to include in a partial response.
1049
1053
  # @param [String] quota_user
@@ -1063,12 +1067,13 @@ module Google
1063
1067
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1064
1068
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1065
1069
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1066
- def generate_file_ids(count: nil, space: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1070
+ def generate_file_ids(count: nil, space: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1067
1071
  command = make_simple_command(:get, 'files/generateIds', options)
1068
1072
  command.response_representation = Google::Apis::DriveV3::GeneratedIds::Representation
1069
1073
  command.response_class = Google::Apis::DriveV3::GeneratedIds
1070
1074
  command.query['count'] = count unless count.nil?
1071
1075
  command.query['space'] = space unless space.nil?
1076
+ command.query['type'] = type unless type.nil?
1072
1077
  command.query['fields'] = fields unless fields.nil?
1073
1078
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1074
1079
  command.query['userIp'] = user_ip unless user_ip.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-drive_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.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-03-22 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-drive_v3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.5.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-drive_v3
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Drive API V3