google-apis-drive_v2 0.33.0 → 0.34.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: cee6899ab3ca6a9fdf5817558c4054918cac9ce1f8b945cb9f0e82abdf062f65
4
- data.tar.gz: 710069e350d1764e0d1b12d1ebba0eb9a12d05c22d03976d6fd0abfb22de9985
3
+ metadata.gz: 34d6abe280eb3dbbfb4d91ded9ddaccf139d97b59e1c573f3f95b9961fe6a402
4
+ data.tar.gz: d4e6fba10474a92cb5900a8e4f1ff5e8a457c265f03e0bc382e2c9bd2b25b4a9
5
5
  SHA512:
6
- metadata.gz: e7fa767d01dd9f5257c164db1f0338fd7796a8f33badd849dd5e0af765424680ed681abc153b6f50a43fe2e74017ae680335fed0471a73ae0bdec589bf7edb5c
7
- data.tar.gz: 28384c92143df1ff473b33723f08934a8483cd5fe968116aba89fd234e10961fb98abc7cff4761e5fc94e51936ab18048322bd50f9d785b4ba989cd60b5283a5
6
+ metadata.gz: 03f359cec3967b3c594d4a691b1350df4df3398f4e8e6734cf13fff1b8f1d44ee749e79e00b4f4c2feda3245ae557633bbcc0a7b828ebe1b5b4d269e655f7f32
7
+ data.tar.gz: 28fd38eb6110fc0b151efc8b8834ccd790b77e84dce91df18c8a5617c436baaff60618b0a6109b8d44a33c095db65a781324fae927c730053feb6cacaf3e93f8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-drive_v2
2
2
 
3
+ ### v0.34.0 (2023-02-19)
4
+
5
+ * Regenerated from discovery document revision 20230212
6
+ * Regenerated using generator version 0.12.0
7
+
3
8
  ### v0.33.0 (2023-02-12)
4
9
 
5
10
  * Regenerated from discovery document revision 20230206
@@ -1574,6 +1574,13 @@ module Google
1574
1574
  attr_accessor :can_change_drive_members_only_restriction
1575
1575
  alias_method :can_change_drive_members_only_restriction?, :can_change_drive_members_only_restriction
1576
1576
 
1577
+ # Whether the current user can change the
1578
+ # sharingFoldersRequiresOrganizerPermission restriction of this shared drive.
1579
+ # Corresponds to the JSON property `canChangeSharingFoldersRequiresOrganizerPermissionRestriction`
1580
+ # @return [Boolean]
1581
+ attr_accessor :can_change_sharing_folders_requires_organizer_permission_restriction
1582
+ alias_method :can_change_sharing_folders_requires_organizer_permission_restriction?, :can_change_sharing_folders_requires_organizer_permission_restriction
1583
+
1577
1584
  # Whether the current user can comment on files in this shared drive.
1578
1585
  # Corresponds to the JSON property `canComment`
1579
1586
  # @return [Boolean]
@@ -1673,6 +1680,7 @@ module Google
1673
1680
  @can_change_domain_users_only_restriction = args[:can_change_domain_users_only_restriction] if args.key?(:can_change_domain_users_only_restriction)
1674
1681
  @can_change_drive_background = args[:can_change_drive_background] if args.key?(:can_change_drive_background)
1675
1682
  @can_change_drive_members_only_restriction = args[:can_change_drive_members_only_restriction] if args.key?(:can_change_drive_members_only_restriction)
1683
+ @can_change_sharing_folders_requires_organizer_permission_restriction = args[:can_change_sharing_folders_requires_organizer_permission_restriction] if args.key?(:can_change_sharing_folders_requires_organizer_permission_restriction)
1676
1684
  @can_comment = args[:can_comment] if args.key?(:can_comment)
1677
1685
  @can_copy = args[:can_copy] if args.key?(:can_copy)
1678
1686
  @can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children)
@@ -1726,6 +1734,13 @@ module Google
1726
1734
  attr_accessor :drive_members_only
1727
1735
  alias_method :drive_members_only?, :drive_members_only
1728
1736
 
1737
+ # If true, only users with the organizer role can share folders. If false, users
1738
+ # with either the organizer role or the file organizer role can share folders.
1739
+ # Corresponds to the JSON property `sharingFoldersRequiresOrganizerPermission`
1740
+ # @return [Boolean]
1741
+ attr_accessor :sharing_folders_requires_organizer_permission
1742
+ alias_method :sharing_folders_requires_organizer_permission?, :sharing_folders_requires_organizer_permission
1743
+
1729
1744
  def initialize(**args)
1730
1745
  update!(**args)
1731
1746
  end
@@ -1736,6 +1751,7 @@ module Google
1736
1751
  @copy_requires_writer_permission = args[:copy_requires_writer_permission] if args.key?(:copy_requires_writer_permission)
1737
1752
  @domain_users_only = args[:domain_users_only] if args.key?(:domain_users_only)
1738
1753
  @drive_members_only = args[:drive_members_only] if args.key?(:drive_members_only)
1754
+ @sharing_folders_requires_organizer_permission = args[:sharing_folders_requires_organizer_permission] if args.key?(:sharing_folders_requires_organizer_permission)
1739
1755
  end
1740
1756
  end
1741
1757
  end
@@ -4299,6 +4315,13 @@ module Google
4299
4315
  attr_accessor :can_change_domain_users_only_restriction
4300
4316
  alias_method :can_change_domain_users_only_restriction?, :can_change_domain_users_only_restriction
4301
4317
 
4318
+ # Whether the current user can change the
4319
+ # sharingFoldersRequiresOrganizerPermission restriction of this Team Drive.
4320
+ # Corresponds to the JSON property `canChangeSharingFoldersRequiresOrganizerPermissionRestriction`
4321
+ # @return [Boolean]
4322
+ attr_accessor :can_change_sharing_folders_requires_organizer_permission_restriction
4323
+ alias_method :can_change_sharing_folders_requires_organizer_permission_restriction?, :can_change_sharing_folders_requires_organizer_permission_restriction
4324
+
4302
4325
  # Whether the current user can change the background of this Team Drive.
4303
4326
  # Corresponds to the JSON property `canChangeTeamDriveBackground`
4304
4327
  # @return [Boolean]
@@ -4414,6 +4437,7 @@ module Google
4414
4437
  @can_add_children = args[:can_add_children] if args.key?(:can_add_children)
4415
4438
  @can_change_copy_requires_writer_permission_restriction = args[:can_change_copy_requires_writer_permission_restriction] if args.key?(:can_change_copy_requires_writer_permission_restriction)
4416
4439
  @can_change_domain_users_only_restriction = args[:can_change_domain_users_only_restriction] if args.key?(:can_change_domain_users_only_restriction)
4440
+ @can_change_sharing_folders_requires_organizer_permission_restriction = args[:can_change_sharing_folders_requires_organizer_permission_restriction] if args.key?(:can_change_sharing_folders_requires_organizer_permission_restriction)
4417
4441
  @can_change_team_drive_background = args[:can_change_team_drive_background] if args.key?(:can_change_team_drive_background)
4418
4442
  @can_change_team_members_only_restriction = args[:can_change_team_members_only_restriction] if args.key?(:can_change_team_members_only_restriction)
4419
4443
  @can_comment = args[:can_comment] if args.key?(:can_comment)
@@ -4464,6 +4488,13 @@ module Google
4464
4488
  attr_accessor :domain_users_only
4465
4489
  alias_method :domain_users_only?, :domain_users_only
4466
4490
 
4491
+ # If true, only users with the organizer role can share folders. If false, users
4492
+ # with either the organizer role or the file organizer role can share folders.
4493
+ # Corresponds to the JSON property `sharingFoldersRequiresOrganizerPermission`
4494
+ # @return [Boolean]
4495
+ attr_accessor :sharing_folders_requires_organizer_permission
4496
+ alias_method :sharing_folders_requires_organizer_permission?, :sharing_folders_requires_organizer_permission
4497
+
4467
4498
  # Whether access to items inside this Team Drive is restricted to members of
4468
4499
  # this Team Drive.
4469
4500
  # Corresponds to the JSON property `teamMembersOnly`
@@ -4480,6 +4511,7 @@ module Google
4480
4511
  @admin_managed_restrictions = args[:admin_managed_restrictions] if args.key?(:admin_managed_restrictions)
4481
4512
  @copy_requires_writer_permission = args[:copy_requires_writer_permission] if args.key?(:copy_requires_writer_permission)
4482
4513
  @domain_users_only = args[:domain_users_only] if args.key?(:domain_users_only)
4514
+ @sharing_folders_requires_organizer_permission = args[:sharing_folders_requires_organizer_permission] if args.key?(:sharing_folders_requires_organizer_permission)
4483
4515
  @team_members_only = args[:team_members_only] if args.key?(:team_members_only)
4484
4516
  end
4485
4517
  end
@@ -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.33.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230206"
25
+ REVISION = "20230212"
26
26
  end
27
27
  end
28
28
  end
@@ -805,6 +805,7 @@ module Google
805
805
  property :can_change_domain_users_only_restriction, as: 'canChangeDomainUsersOnlyRestriction'
806
806
  property :can_change_drive_background, as: 'canChangeDriveBackground'
807
807
  property :can_change_drive_members_only_restriction, as: 'canChangeDriveMembersOnlyRestriction'
808
+ property :can_change_sharing_folders_requires_organizer_permission_restriction, as: 'canChangeSharingFoldersRequiresOrganizerPermissionRestriction'
808
809
  property :can_comment, as: 'canComment'
809
810
  property :can_copy, as: 'canCopy'
810
811
  property :can_delete_children, as: 'canDeleteChildren'
@@ -829,6 +830,7 @@ module Google
829
830
  property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission'
830
831
  property :domain_users_only, as: 'domainUsersOnly'
831
832
  property :drive_members_only, as: 'driveMembersOnly'
833
+ property :sharing_folders_requires_organizer_permission, as: 'sharingFoldersRequiresOrganizerPermission'
832
834
  end
833
835
  end
834
836
  end
@@ -1393,6 +1395,7 @@ module Google
1393
1395
  property :can_add_children, as: 'canAddChildren'
1394
1396
  property :can_change_copy_requires_writer_permission_restriction, as: 'canChangeCopyRequiresWriterPermissionRestriction'
1395
1397
  property :can_change_domain_users_only_restriction, as: 'canChangeDomainUsersOnlyRestriction'
1398
+ property :can_change_sharing_folders_requires_organizer_permission_restriction, as: 'canChangeSharingFoldersRequiresOrganizerPermissionRestriction'
1396
1399
  property :can_change_team_drive_background, as: 'canChangeTeamDriveBackground'
1397
1400
  property :can_change_team_members_only_restriction, as: 'canChangeTeamMembersOnlyRestriction'
1398
1401
  property :can_comment, as: 'canComment'
@@ -1419,6 +1422,7 @@ module Google
1419
1422
  property :admin_managed_restrictions, as: 'adminManagedRestrictions'
1420
1423
  property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission'
1421
1424
  property :domain_users_only, as: 'domainUsersOnly'
1425
+ property :sharing_folders_requires_organizer_permission, as: 'sharingFoldersRequiresOrganizerPermission'
1422
1426
  property :team_members_only, as: 'teamMembersOnly'
1423
1427
  end
1424
1428
  end
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.33.0
4
+ version: 0.34.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: 2023-02-12 00:00:00.000000000 Z
11
+ date: 2023-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.34.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: []