google-apis-drive_v2 0.21.0 → 0.22.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: cb72a6ccd10e131c34bc02e9675d78c19f8ace9217a2eb1257f5223e7b66f89a
4
- data.tar.gz: 3ba99a5510d264453ce0f0ca279ac7a3eef8c510861f731319224996a9f7232e
3
+ metadata.gz: 5af3c59d5f2c564b75945bf463f4fa4a5187e762692a0d5d06903e59249e3a6f
4
+ data.tar.gz: b8ccae7d83c2ff1b66801cb2f23a6b4aef4f437ff05914950576701b648b40e5
5
5
  SHA512:
6
- metadata.gz: 45c51d0f17190cec767fce954fbe15da66b9c5c181d592c4adfc09886a1a29d0bd18c773b06d658ba45ff8fdea411eb3688b74c0066d26bd6b6834b2de8aafa6
7
- data.tar.gz: 0ab6f49317624834569ebe32ef91d4138458fd7a70a9da0b0774b8449f12109a9837afa444f1956c9c4e924e13694ae9d18222d3a9bec9d0f6b200510228d5b1
6
+ metadata.gz: 3ca33fb267daaafb4982ad1b2a1c0a9a1856fec30fb1a1c67eacc89d092e1fbc854242258497f00fc1d708bb44495dacb807933a57fc00f47b2e6e334c7565d9
7
+ data.tar.gz: 2f3afe2a8f54edf80dabbeb1cef6c62748d53bad5397eee2c5d2f963c7b058bdd9df6619f2e3e7ad735f52ae963da698fb8379a893a679b97d284f3d822e70f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drive_v2
2
2
 
3
+ ### v0.22.0 (2022-05-12)
4
+
5
+ * Regenerated from discovery document revision 20220508
6
+
3
7
  ### v0.21.0 (2022-04-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20220417
@@ -1644,6 +1644,12 @@ module Google
1644
1644
  attr_accessor :can_rename_drive
1645
1645
  alias_method :can_rename_drive?, :can_rename_drive
1646
1646
 
1647
+ # Whether the current user can reset the shared drive restrictions to defaults.
1648
+ # Corresponds to the JSON property `canResetDriveRestrictions`
1649
+ # @return [Boolean]
1650
+ attr_accessor :can_reset_drive_restrictions
1651
+ alias_method :can_reset_drive_restrictions?, :can_reset_drive_restrictions
1652
+
1647
1653
  # Whether the current user can share files or folders in this shared drive.
1648
1654
  # Corresponds to the JSON property `canShare`
1649
1655
  # @return [Boolean]
@@ -1678,6 +1684,7 @@ module Google
1678
1684
  @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions)
1679
1685
  @can_rename = args[:can_rename] if args.key?(:can_rename)
1680
1686
  @can_rename_drive = args[:can_rename_drive] if args.key?(:can_rename_drive)
1687
+ @can_reset_drive_restrictions = args[:can_reset_drive_restrictions] if args.key?(:can_reset_drive_restrictions)
1681
1688
  @can_share = args[:can_share] if args.key?(:can_share)
1682
1689
  @can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
1683
1690
  end
@@ -4030,6 +4037,12 @@ module Google
4030
4037
  attr_accessor :can_rename_team_drive
4031
4038
  alias_method :can_rename_team_drive?, :can_rename_team_drive
4032
4039
 
4040
+ # Whether the current user can reset the Team Drive restrictions to defaults.
4041
+ # Corresponds to the JSON property `canResetTeamDriveRestrictions`
4042
+ # @return [Boolean]
4043
+ attr_accessor :can_reset_team_drive_restrictions
4044
+ alias_method :can_reset_team_drive_restrictions?, :can_reset_team_drive_restrictions
4045
+
4033
4046
  # Whether the current user can share files or folders in this Team Drive.
4034
4047
  # Corresponds to the JSON property `canShare`
4035
4048
  # @return [Boolean]
@@ -4065,6 +4078,7 @@ module Google
4065
4078
  @can_remove_children = args[:can_remove_children] if args.key?(:can_remove_children)
4066
4079
  @can_rename = args[:can_rename] if args.key?(:can_rename)
4067
4080
  @can_rename_team_drive = args[:can_rename_team_drive] if args.key?(:can_rename_team_drive)
4081
+ @can_reset_team_drive_restrictions = args[:can_reset_team_drive_restrictions] if args.key?(:can_reset_team_drive_restrictions)
4068
4082
  @can_share = args[:can_share] if args.key?(:can_share)
4069
4083
  @can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children)
4070
4084
  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.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220417"
25
+ REVISION = "20220508"
26
26
  end
27
27
  end
28
28
  end
@@ -768,6 +768,7 @@ module Google
768
768
  property :can_read_revisions, as: 'canReadRevisions'
769
769
  property :can_rename, as: 'canRename'
770
770
  property :can_rename_drive, as: 'canRenameDrive'
771
+ property :can_reset_drive_restrictions, as: 'canResetDriveRestrictions'
771
772
  property :can_share, as: 'canShare'
772
773
  property :can_trash_children, as: 'canTrashChildren'
773
774
  end
@@ -1263,6 +1264,7 @@ module Google
1263
1264
  property :can_remove_children, as: 'canRemoveChildren'
1264
1265
  property :can_rename, as: 'canRename'
1265
1266
  property :can_rename_team_drive, as: 'canRenameTeamDrive'
1267
+ property :can_reset_team_drive_restrictions, as: 'canResetTeamDriveRestrictions'
1266
1268
  property :can_share, as: 'canShare'
1267
1269
  property :can_trash_children, as: 'canTrashChildren'
1268
1270
  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.21.0
4
+ version: 0.22.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: 2022-04-25 00:00:00.000000000 Z
11
+ date: 2022-05-16 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.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.22.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: []