google-apis-drive_v3 0.8.0 → 0.9.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: 1613bf20edf2680ac407a7cc26d49cd398f43db5e234b0bc054e04cdce1eb5a7
4
- data.tar.gz: 3bff702ec6bc57d01e595165b525b37ffa4899a61f4d0799237cfb15baccaf33
3
+ metadata.gz: 0c5b69c21c98d692ef9dfa5f2da256a3ffa00f3b8e654113154d251201f74acd
4
+ data.tar.gz: 31bb27a141da0dd3a98e02a75b0055f19bf570b8bbe069fdf19cff96dc6bad09
5
5
  SHA512:
6
- metadata.gz: 6cb1af1e33b1755817c1ab13dadae5c2264eda230937bf4167135eb1e2712892fe1c497e2c602f821cb217e5e1c280b71a6eb73f29db70ba3354547aa75c7faf
7
- data.tar.gz: 25162d3e4e8b02a24e7347256954d282de8440ab7f9e2a82671e8f13aacb72f48de7351b0b18609f1b0fc94d338f208daa538c1a2e0fdda6813bd696a6badb05
6
+ metadata.gz: 42d200f5554860877f78d791ce61387dcbf5235f9c9d1d352b0ecd2b4c12ff21982462e4b23919e12866fee046f824dd4f3dbdd42783b1dcf00110fbad6c59c3
7
+ data.tar.gz: 3c864c84f824cc87e72e64e3f18c0c5047dcbcea53fe0a6f8b1fbe1c9e174763f095e3c7108e8b7124d89cc9aa0dcdb8ba1893e9fc5729407f54ce73cc598f34
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-drive_v3
2
2
 
3
+ ### v0.9.0 (2021-06-17)
4
+
5
+ * Regenerated from discovery document revision 20210612
6
+ * Regenerated using generator version 0.3.0
7
+
3
8
  ### v0.8.0 (2021-05-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20210524
@@ -1142,6 +1142,12 @@ module Google
1142
1142
  # @return [Google::Apis::DriveV3::User]
1143
1143
  attr_accessor :last_modifying_user
1144
1144
 
1145
+ # Contains details about the link URLs that clients are using to refer to this
1146
+ # item.
1147
+ # Corresponds to the JSON property `linkShareMetadata`
1148
+ # @return [Google::Apis::DriveV3::File::LinkShareMetadata]
1149
+ attr_accessor :link_share_metadata
1150
+
1145
1151
  # The MD5 checksum for the content of the file. This is only applicable to files
1146
1152
  # with binary content in Google Drive.
1147
1153
  # Corresponds to the JSON property `md5Checksum`
@@ -1235,6 +1241,11 @@ module Google
1235
1241
  # @return [Fixnum]
1236
1242
  attr_accessor :quota_bytes_used
1237
1243
 
1244
+ # A key needed to access the item via a shared link.
1245
+ # Corresponds to the JSON property `resourceKey`
1246
+ # @return [String]
1247
+ attr_accessor :resource_key
1248
+
1238
1249
  # Whether the file has been shared. Not populated for items in shared drives.
1239
1250
  # Corresponds to the JSON property `shared`
1240
1251
  # @return [Boolean]
@@ -1390,6 +1401,7 @@ module Google
1390
1401
  @is_app_authorized = args[:is_app_authorized] if args.key?(:is_app_authorized)
1391
1402
  @kind = args[:kind] if args.key?(:kind)
1392
1403
  @last_modifying_user = args[:last_modifying_user] if args.key?(:last_modifying_user)
1404
+ @link_share_metadata = args[:link_share_metadata] if args.key?(:link_share_metadata)
1393
1405
  @md5_checksum = args[:md5_checksum] if args.key?(:md5_checksum)
1394
1406
  @mime_type = args[:mime_type] if args.key?(:mime_type)
1395
1407
  @modified_by_me = args[:modified_by_me] if args.key?(:modified_by_me)
@@ -1404,6 +1416,7 @@ module Google
1404
1416
  @permissions = args[:permissions] if args.key?(:permissions)
1405
1417
  @properties = args[:properties] if args.key?(:properties)
1406
1418
  @quota_bytes_used = args[:quota_bytes_used] if args.key?(:quota_bytes_used)
1419
+ @resource_key = args[:resource_key] if args.key?(:resource_key)
1407
1420
  @shared = args[:shared] if args.key?(:shared)
1408
1421
  @shared_with_me_time = args[:shared_with_me_time] if args.key?(:shared_with_me_time)
1409
1422
  @sharing_user = args[:sharing_user] if args.key?(:sharing_user)
@@ -1461,6 +1474,13 @@ module Google
1461
1474
  attr_accessor :can_change_copy_requires_writer_permission
1462
1475
  alias_method :can_change_copy_requires_writer_permission?, :can_change_copy_requires_writer_permission
1463
1476
 
1477
+ # Whether the current user can change the securityUpdateEnabled field on link
1478
+ # share metadata.
1479
+ # Corresponds to the JSON property `canChangeSecurityUpdateEnabled`
1480
+ # @return [Boolean]
1481
+ attr_accessor :can_change_security_update_enabled
1482
+ alias_method :can_change_security_update_enabled?, :can_change_security_update_enabled
1483
+
1464
1484
  # Deprecated
1465
1485
  # Corresponds to the JSON property `canChangeViewersCanCopyContent`
1466
1486
  # @return [Boolean]
@@ -1673,6 +1693,7 @@ module Google
1673
1693
  @can_add_folder_from_another_drive = args[:can_add_folder_from_another_drive] if args.key?(:can_add_folder_from_another_drive)
1674
1694
  @can_add_my_drive_parent = args[:can_add_my_drive_parent] if args.key?(:can_add_my_drive_parent)
1675
1695
  @can_change_copy_requires_writer_permission = args[:can_change_copy_requires_writer_permission] if args.key?(:can_change_copy_requires_writer_permission)
1696
+ @can_change_security_update_enabled = args[:can_change_security_update_enabled] if args.key?(:can_change_security_update_enabled)
1676
1697
  @can_change_viewers_can_copy_content = args[:can_change_viewers_can_copy_content] if args.key?(:can_change_viewers_can_copy_content)
1677
1698
  @can_comment = args[:can_comment] if args.key?(:can_comment)
1678
1699
  @can_copy = args[:can_copy] if args.key?(:can_copy)
@@ -1934,6 +1955,34 @@ module Google
1934
1955
  end
1935
1956
  end
1936
1957
 
1958
+ # Contains details about the link URLs that clients are using to refer to this
1959
+ # item.
1960
+ class LinkShareMetadata
1961
+ include Google::Apis::Core::Hashable
1962
+
1963
+ # Whether the file is eligible for security update.
1964
+ # Corresponds to the JSON property `securityUpdateEligible`
1965
+ # @return [Boolean]
1966
+ attr_accessor :security_update_eligible
1967
+ alias_method :security_update_eligible?, :security_update_eligible
1968
+
1969
+ # Whether the security update is enabled for this file.
1970
+ # Corresponds to the JSON property `securityUpdateEnabled`
1971
+ # @return [Boolean]
1972
+ attr_accessor :security_update_enabled
1973
+ alias_method :security_update_enabled?, :security_update_enabled
1974
+
1975
+ def initialize(**args)
1976
+ update!(**args)
1977
+ end
1978
+
1979
+ # Update properties of this object
1980
+ def update!(**args)
1981
+ @security_update_eligible = args[:security_update_eligible] if args.key?(:security_update_eligible)
1982
+ @security_update_enabled = args[:security_update_enabled] if args.key?(:security_update_enabled)
1983
+ end
1984
+ end
1985
+
1937
1986
  # Shortcut file details. Only populated for shortcut files, which have the
1938
1987
  # mimeType field set to application/vnd.google-apps.shortcut.
1939
1988
  class ShortcutDetails
@@ -1951,6 +2000,11 @@ module Google
1951
2000
  # @return [String]
1952
2001
  attr_accessor :target_mime_type
1953
2002
 
2003
+ # The ResourceKey for the target file.
2004
+ # Corresponds to the JSON property `targetResourceKey`
2005
+ # @return [String]
2006
+ attr_accessor :target_resource_key
2007
+
1954
2008
  def initialize(**args)
1955
2009
  update!(**args)
1956
2010
  end
@@ -1959,6 +2013,7 @@ module Google
1959
2013
  def update!(**args)
1960
2014
  @target_id = args[:target_id] if args.key?(:target_id)
1961
2015
  @target_mime_type = args[:target_mime_type] if args.key?(:target_mime_type)
2016
+ @target_resource_key = args[:target_resource_key] if args.key?(:target_resource_key)
1962
2017
  end
1963
2018
  end
1964
2019
 
@@ -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.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210524"
25
+ REVISION = "20210612"
26
26
  end
27
27
  end
28
28
  end
@@ -151,6 +151,12 @@ module Google
151
151
  include Google::Apis::Core::JsonObjectSupport
152
152
  end
153
153
 
154
+ class LinkShareMetadata
155
+ class Representation < Google::Apis::Core::JsonRepresentation; end
156
+
157
+ include Google::Apis::Core::JsonObjectSupport
158
+ end
159
+
154
160
  class ShortcutDetails
155
161
  class Representation < Google::Apis::Core::JsonRepresentation; end
156
162
 
@@ -535,6 +541,8 @@ module Google
535
541
  property :kind, as: 'kind'
536
542
  property :last_modifying_user, as: 'lastModifyingUser', class: Google::Apis::DriveV3::User, decorator: Google::Apis::DriveV3::User::Representation
537
543
 
544
+ property :link_share_metadata, as: 'linkShareMetadata', class: Google::Apis::DriveV3::File::LinkShareMetadata, decorator: Google::Apis::DriveV3::File::LinkShareMetadata::Representation
545
+
538
546
  property :md5_checksum, as: 'md5Checksum'
539
547
  property :mime_type, as: 'mimeType'
540
548
  property :modified_by_me, as: 'modifiedByMe'
@@ -553,6 +561,7 @@ module Google
553
561
 
554
562
  hash :properties, as: 'properties'
555
563
  property :quota_bytes_used, :numeric_string => true, as: 'quotaBytesUsed'
564
+ property :resource_key, as: 'resourceKey'
556
565
  property :shared, as: 'shared'
557
566
  property :shared_with_me_time, as: 'sharedWithMeTime', type: DateTime
558
567
 
@@ -590,6 +599,7 @@ module Google
590
599
  property :can_add_folder_from_another_drive, as: 'canAddFolderFromAnotherDrive'
591
600
  property :can_add_my_drive_parent, as: 'canAddMyDriveParent'
592
601
  property :can_change_copy_requires_writer_permission, as: 'canChangeCopyRequiresWriterPermission'
602
+ property :can_change_security_update_enabled, as: 'canChangeSecurityUpdateEnabled'
593
603
  property :can_change_viewers_can_copy_content, as: 'canChangeViewersCanCopyContent'
594
604
  property :can_comment, as: 'canComment'
595
605
  property :can_copy, as: 'canCopy'
@@ -677,11 +687,20 @@ module Google
677
687
  end
678
688
  end
679
689
 
690
+ class LinkShareMetadata
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ property :security_update_eligible, as: 'securityUpdateEligible'
694
+ property :security_update_enabled, as: 'securityUpdateEnabled'
695
+ end
696
+ end
697
+
680
698
  class ShortcutDetails
681
699
  # @private
682
700
  class Representation < Google::Apis::Core::JsonRepresentation
683
701
  property :target_id, as: 'targetId'
684
702
  property :target_mime_type, as: 'targetMimeType'
703
+ property :target_resource_key, as: 'targetResourceKey'
685
704
  end
686
705
  end
687
706
 
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.8.0
4
+ version: 0.9.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-05-31 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-drive_v3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.8.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.9.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-drive_v3
57
57
  post_install_message:
58
58
  rdoc_options: []