google-apis-drive_v2 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 173ced4739703ac1cb99d616a2e5a86a2f53d5da9e6127eb5f170f936174d2d1
4
- data.tar.gz: 4a769e494e56ab855d10ff684ed39ef433048dded7badf8a5d494383e6d9a909
3
+ metadata.gz: 4bd9fa960c0b074dd4a019aec41e4b2b57853a81e28915df596792a85947ac71
4
+ data.tar.gz: e2bd435bd04d03fa63989bd938571a523fb29f90402dcfb372d4b418a1eab07f
5
5
  SHA512:
6
- metadata.gz: 5998a59a0e771a24e92de363230425e5f76ace28f34f61f25483b7fd6ace11d5ea4de9aaaf4fe31877256feca2b34a75ed8de470b37d9414897bca8993ad8755
7
- data.tar.gz: d67d6a5a0e2c97cd524e701ff3b48896cadc349e294a049c2308ac8e87e6187cf6f2f479160b89b20f5c66b10e62e6a696dfc611cdd7f32da62156b6f63c79e4
6
+ metadata.gz: 1db8c3800ed232bbbde78eb4c5ce01d36492b0894f0051407f9d4bdb395fadc92bf1a3e1b5fc0e645ef62e565b35274d8043b1c7a8062a8e99dfc2a3fb48bde8
7
+ data.tar.gz: 9f16e947f88e1a03bd8971bed08e83626e6d0ad4b75d7d7dd24a4bc909a60bf3925feba8a9ef675f3b522f51c3133f1ffc8966668369d09a3b715e1bfe9d19ae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drive_v2
2
2
 
3
+ ### v0.16.0 (2021-11-11)
4
+
5
+ * Regenerated from discovery document revision 20211107
6
+
3
7
  ### v0.15.0 (2021-10-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20211017
@@ -2285,6 +2285,13 @@ module Google
2285
2285
  class Capabilities
2286
2286
  include Google::Apis::Core::Hashable
2287
2287
 
2288
+ # Whether the current user is the pending owner of the file. Not populated for
2289
+ # shared drive files.
2290
+ # Corresponds to the JSON property `canAcceptOwnership`
2291
+ # @return [Boolean]
2292
+ attr_accessor :can_accept_ownership
2293
+ alias_method :can_accept_ownership?, :can_accept_ownership
2294
+
2288
2295
  # Whether the current user can add children to this folder. This is always false
2289
2296
  # when the item is not a folder.
2290
2297
  # Corresponds to the JSON property `canAddChildren`
@@ -2529,6 +2536,7 @@ module Google
2529
2536
 
2530
2537
  # Update properties of this object
2531
2538
  def update!(**args)
2539
+ @can_accept_ownership = args[:can_accept_ownership] if args.key?(:can_accept_ownership)
2532
2540
  @can_add_children = args[:can_add_children] if args.key?(:can_add_children)
2533
2541
  @can_add_folder_from_another_drive = args[:can_add_folder_from_another_drive] if args.key?(:can_add_folder_from_another_drive)
2534
2542
  @can_add_my_drive_parent = args[:can_add_my_drive_parent] if args.key?(:can_add_my_drive_parent)
@@ -3186,6 +3194,13 @@ module Google
3186
3194
  # @return [String]
3187
3195
  attr_accessor :name
3188
3196
 
3197
+ # Whether the account associated with this permission is a pending owner. Only
3198
+ # populated for user type permissions for files that are not in a shared drive.
3199
+ # Corresponds to the JSON property `pendingOwner`
3200
+ # @return [Boolean]
3201
+ attr_accessor :pending_owner
3202
+ alias_method :pending_owner?, :pending_owner
3203
+
3189
3204
  # Details of whether the permissions on this shared drive item are inherited or
3190
3205
  # directly on this item. This is an output-only field which is present only for
3191
3206
  # shared drive items.
@@ -3264,6 +3279,7 @@ module Google
3264
3279
  @id = args[:id] if args.key?(:id)
3265
3280
  @kind = args[:kind] if args.key?(:kind)
3266
3281
  @name = args[:name] if args.key?(:name)
3282
+ @pending_owner = args[:pending_owner] if args.key?(:pending_owner)
3267
3283
  @permission_details = args[:permission_details] if args.key?(:permission_details)
3268
3284
  @photo_link = args[:photo_link] if args.key?(:photo_link)
3269
3285
  @role = args[:role] if args.key?(:role)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DriveV2
18
18
  # Version of the google-apis-drive_v2 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211017"
25
+ REVISION = "20211107"
26
26
  end
27
27
  end
28
28
  end
@@ -897,6 +897,7 @@ module Google
897
897
  class Capabilities
898
898
  # @private
899
899
  class Representation < Google::Apis::Core::JsonRepresentation
900
+ property :can_accept_ownership, as: 'canAcceptOwnership'
900
901
  property :can_add_children, as: 'canAddChildren'
901
902
  property :can_add_folder_from_another_drive, as: 'canAddFolderFromAnotherDrive'
902
903
  property :can_add_my_drive_parent, as: 'canAddMyDriveParent'
@@ -1085,6 +1086,7 @@ module Google
1085
1086
  property :id, as: 'id'
1086
1087
  property :kind, as: 'kind'
1087
1088
  property :name, as: 'name'
1089
+ property :pending_owner, as: 'pendingOwner'
1088
1090
  collection :permission_details, as: 'permissionDetails', class: Google::Apis::DriveV2::Permission::PermissionDetail, decorator: Google::Apis::DriveV2::Permission::PermissionDetail::Representation
1089
1091
 
1090
1092
  property :photo_link, as: 'photoLink'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-drive_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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-10-27 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v2
63
63
  post_install_message:
64
64
  rdoc_options: []