google-apis-drive_v3 0.15.0 → 0.16.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: aa5fb9cc8027f14850ce693d19fafa03ffd104349e56607db3493220cbc7b38e
4
- data.tar.gz: 7e9dcb82975c552808ba0264669ae92f5811a9f1f632596a9232b4a505ab3dc3
3
+ metadata.gz: 7998c3d00faed2aa09e315dc365317226f005a2fac7e3762be6a7b5496ba00b2
4
+ data.tar.gz: 849bb84677e4eb8913653cf303267327359c0e37b62c1e22f1d69a011a7a502f
5
5
  SHA512:
6
- metadata.gz: 7e303e5411b48fbead4a68fbd8fdc7cf8b498ba16ddc54cbed5843abdd3c41e4795092bca6e43bad457977e3d63604c403446a6aa59a893b389b299ed7b0bc8d
7
- data.tar.gz: 4476623e96a3fabe1daeb4c9b7ede59d58819585d14f077ee0ee7e4fdf8c65d6a9289af556831ecd65e2ea892c96c246574472c1b2c31fb5f29c70208b288ff8
6
+ metadata.gz: 1ae86a74795b24d17ed5c0a566dd40d9562eaa2b3ababfbc3d04f7c273b2a096ad726897cf98617ec9aaf9fcb8b037a9c9823b27902c7b7f22cee3f3a40aa905
7
+ data.tar.gz: '0192b702cc43a8bdcf1dcf9a0484edaeb8bc8880645b65a610e25682da1d853584a3948f3e80fabbca499342d204b2cd658e551399d4a353df9212e79ffa10d4'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drive_v3
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
@@ -1446,6 +1446,13 @@ module Google
1446
1446
  class Capabilities
1447
1447
  include Google::Apis::Core::Hashable
1448
1448
 
1449
+ # Whether the current user is the pending owner of the file. Not populated for
1450
+ # shared drive files.
1451
+ # Corresponds to the JSON property `canAcceptOwnership`
1452
+ # @return [Boolean]
1453
+ attr_accessor :can_accept_ownership
1454
+ alias_method :can_accept_ownership?, :can_accept_ownership
1455
+
1449
1456
  # Whether the current user can add children to this folder. This is always false
1450
1457
  # when the item is not a folder.
1451
1458
  # Corresponds to the JSON property `canAddChildren`
@@ -1690,6 +1697,7 @@ module Google
1690
1697
 
1691
1698
  # Update properties of this object
1692
1699
  def update!(**args)
1700
+ @can_accept_ownership = args[:can_accept_ownership] if args.key?(:can_accept_ownership)
1693
1701
  @can_add_children = args[:can_add_children] if args.key?(:can_add_children)
1694
1702
  @can_add_folder_from_another_drive = args[:can_add_folder_from_another_drive] if args.key?(:can_add_folder_from_another_drive)
1695
1703
  @can_add_my_drive_parent = args[:can_add_my_drive_parent] if args.key?(:can_add_my_drive_parent)
@@ -2192,6 +2200,13 @@ module Google
2192
2200
  # @return [String]
2193
2201
  attr_accessor :kind
2194
2202
 
2203
+ # Whether the account associated with this permission is a pending owner. Only
2204
+ # populated for user type permissions for files that are not in a shared drive.
2205
+ # Corresponds to the JSON property `pendingOwner`
2206
+ # @return [Boolean]
2207
+ attr_accessor :pending_owner
2208
+ alias_method :pending_owner?, :pending_owner
2209
+
2195
2210
  # Details of whether the permissions on this shared drive item are inherited or
2196
2211
  # directly on this item. This is an output-only field which is present only for
2197
2212
  # shared drive items.
@@ -2252,6 +2267,7 @@ module Google
2252
2267
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
2253
2268
  @id = args[:id] if args.key?(:id)
2254
2269
  @kind = args[:kind] if args.key?(:kind)
2270
+ @pending_owner = args[:pending_owner] if args.key?(:pending_owner)
2255
2271
  @permission_details = args[:permission_details] if args.key?(:permission_details)
2256
2272
  @photo_link = args[:photo_link] if args.key?(:photo_link)
2257
2273
  @role = args[:role] if args.key?(:role)
@@ -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.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
@@ -595,6 +595,7 @@ module Google
595
595
  class Capabilities
596
596
  # @private
597
597
  class Representation < Google::Apis::Core::JsonRepresentation
598
+ property :can_accept_ownership, as: 'canAcceptOwnership'
598
599
  property :can_add_children, as: 'canAddChildren'
599
600
  property :can_add_folder_from_another_drive, as: 'canAddFolderFromAnotherDrive'
600
601
  property :can_add_my_drive_parent, as: 'canAddMyDriveParent'
@@ -746,6 +747,7 @@ module Google
746
747
 
747
748
  property :id, as: 'id'
748
749
  property :kind, as: 'kind'
750
+ property :pending_owner, as: 'pendingOwner'
749
751
  collection :permission_details, as: 'permissionDetails', class: Google::Apis::DriveV3::Permission::PermissionDetail, decorator: Google::Apis::DriveV3::Permission::PermissionDetail::Representation
750
752
 
751
753
  property :photo_link, as: 'photoLink'
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.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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3
63
63
  post_install_message:
64
64
  rdoc_options: []