google-apis-drive_v2 0.41.0 → 0.43.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: fe56bd23a7c40ff15ce9845baeca77036282bf8f2e807b81a7d851844ec384be
4
- data.tar.gz: 4977b5fcac850fcba1fb1ef51f63af3a26e832e4def9996936ef4d3379b40446
3
+ metadata.gz: cc730cbb74cdd0ec228999059a279c1b77220d67fb90e99128c38a7bead301de
4
+ data.tar.gz: a3e3daad657707d68e9db4d29da5872a12e82439b898d5e837ff5adae4800f9c
5
5
  SHA512:
6
- metadata.gz: 4ac4ce61aebd343b9e5097099ed456e2a8c99617a618d96a3df14eed9792bbe234b8f453c31b8f79547322b503d24baf59d1e43c4fbeb725f6ec3de68fd582bc
7
- data.tar.gz: dd67246971fd9af0d3be1811018bc08b6973b1539ab93fdcb4e071177efeef95eab86c55f7ca25c86f43a0d532bb293a1378dec4f5213c01f65e38acb0ea525b
6
+ metadata.gz: 81641b4c5d2fe99c10981193a74dbcdac5b03fe8a447b0e25c5174b2226c19c3ef7f157785210a0c34973daced2d28971a3805b25bedf0cfb816c9d30d3f5f62
7
+ data.tar.gz: 69fda9b80a7dec74a05ff7fdc6de22dba2f11582651890d53851368747bb2a7876d0dd12ba3ce8c2f1349863dda01d4e3ca985be5c58366caf37eca6287fdca7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-drive_v2
2
2
 
3
+ ### v0.43.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240110
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.42.0 (2023-12-03)
9
+
10
+ * Regenerated from discovery document revision 20231120
11
+
3
12
  ### v0.41.0 (2023-08-27)
4
13
 
5
14
  * Regenerated from discovery document revision 20230822
@@ -918,7 +918,8 @@ module Google
918
918
  # @return [String]
919
919
  attr_accessor :token
920
920
 
921
- # The type of delivery mechanism used for this channel.
921
+ # The type of delivery mechanism used for this channel. Valid values are "
922
+ # web_hook" or "webhook".
922
923
  # Corresponds to the JSON property `type`
923
924
  # @return [String]
924
925
  attr_accessor :type
@@ -1382,6 +1383,14 @@ module Google
1382
1383
  # @return [DateTime]
1383
1384
  attr_accessor :restriction_date
1384
1385
 
1386
+ # Output only. Whether the content restriction was applied by the system, for
1387
+ # example due to an esignature. Users cannot modify or remove system restricted
1388
+ # content restrictions.
1389
+ # Corresponds to the JSON property `systemRestricted`
1390
+ # @return [Boolean]
1391
+ attr_accessor :system_restricted
1392
+ alias_method :system_restricted?, :system_restricted
1393
+
1385
1394
  # Output only. The type of the content restriction. Currently the only possible
1386
1395
  # value is `globalContentRestriction`.
1387
1396
  # Corresponds to the JSON property `type`
@@ -1399,6 +1408,7 @@ module Google
1399
1408
  @reason = args[:reason] if args.key?(:reason)
1400
1409
  @restricting_user = args[:restricting_user] if args.key?(:restricting_user)
1401
1410
  @restriction_date = args[:restriction_date] if args.key?(:restriction_date)
1411
+ @system_restricted = args[:system_restricted] if args.key?(:system_restricted)
1402
1412
  @type = args[:type] if args.key?(:type)
1403
1413
  end
1404
1414
  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.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230822"
25
+ REVISION = "20240110"
26
26
  end
27
27
  end
28
28
  end
@@ -763,6 +763,7 @@ module Google
763
763
 
764
764
  property :restriction_date, as: 'restrictionDate', type: DateTime
765
765
 
766
+ property :system_restricted, as: 'systemRestricted'
766
767
  property :type, as: 'type'
767
768
  end
768
769
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://developers.google.com/drive/
34
34
  class DriveService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://www.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://www.googleapis.com/', 'drive/v2/',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, 'drive/v2/',
47
49
  client_name: 'google-apis-drive_v2',
48
50
  client_version: Google::Apis::DriveV2::GEM_VERSION)
49
51
  @batch_path = 'batch/drive/v2'
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.41.0
4
+ version: 0.43.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-08-27 00:00:00.000000000 Z
11
+ date: 2024-01-23 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.11.0
19
+ version: 0.12.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.11.0
29
+ version: 0.12.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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.43.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Drive API V2