google-apis-drive_v2 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: 337c06e52f56fd6228143ef245e11f9fffa0130549939704551a741a4e1144f2
4
- data.tar.gz: b66976aaf35724dcafc420047995058e1bdfe84348ec63c50a8ece687a06b248
3
+ metadata.gz: 3ddfd95aca0dc1e7c03d946c8f01c8eb434f1d1faf31bb63ac1d661ecb5286e6
4
+ data.tar.gz: 011e118031c20b81b9406ff79b96e0d2cc5397c507744f81ad768dcd26b2a100
5
5
  SHA512:
6
- metadata.gz: 9be286c7e39f94612cdb398aeeb99bfd06116f10e8ffa931045663fdcc9c16cab799639ea6a0669e72ae03cb75713a7e274bcfd39cf585b63511e32a10a67e81
7
- data.tar.gz: 6700abe25f1746a83873050dfe51761bbb6f1d30edc3b123810b0f70f20398c54ac1ef54ae17a3e612cd7674643640644e858545d8879798f51308cd2a33412b
6
+ metadata.gz: 10b993f6697eaf897d5c4a3a44e5520d90f6c8074848f5376c0e78f8012f0e9de7873204c87a6272fdd518f274cd1e48468aeb25a9fed9f48f8238a286f13760
7
+ data.tar.gz: fdeb782f8cdf5cba26cf62bbe63eec3eccc26aa4fe018df82e2eb01ba2714bb6b21681cb8076872419fc1d0ef1b6a917cba1ba2f9b11c7107c9d23b427ef20b6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-drive_v2
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
@@ -1976,6 +1976,12 @@ module Google
1976
1976
  # @return [DateTime]
1977
1977
  attr_accessor :last_viewed_by_me_date
1978
1978
 
1979
+ # Contains details about the link URLs that clients are using to refer to this
1980
+ # item.
1981
+ # Corresponds to the JSON property `linkShareMetadata`
1982
+ # @return [Google::Apis::DriveV2::File::LinkShareMetadata]
1983
+ attr_accessor :link_share_metadata
1984
+
1979
1985
  # Deprecated.
1980
1986
  # Corresponds to the JSON property `markedViewedByMeDate`
1981
1987
  # @return [DateTime]
@@ -2070,6 +2076,11 @@ module Google
2070
2076
  # @return [Fixnum]
2071
2077
  attr_accessor :quota_bytes_used
2072
2078
 
2079
+ # A key needed to access the item via a shared link.
2080
+ # Corresponds to the JSON property `resourceKey`
2081
+ # @return [String]
2082
+ attr_accessor :resource_key
2083
+
2073
2084
  # A link back to this file.
2074
2085
  # Corresponds to the JSON property `selfLink`
2075
2086
  # @return [String]
@@ -2230,6 +2241,7 @@ module Google
2230
2241
  @last_modifying_user = args[:last_modifying_user] if args.key?(:last_modifying_user)
2231
2242
  @last_modifying_user_name = args[:last_modifying_user_name] if args.key?(:last_modifying_user_name)
2232
2243
  @last_viewed_by_me_date = args[:last_viewed_by_me_date] if args.key?(:last_viewed_by_me_date)
2244
+ @link_share_metadata = args[:link_share_metadata] if args.key?(:link_share_metadata)
2233
2245
  @marked_viewed_by_me_date = args[:marked_viewed_by_me_date] if args.key?(:marked_viewed_by_me_date)
2234
2246
  @md5_checksum = args[:md5_checksum] if args.key?(:md5_checksum)
2235
2247
  @mime_type = args[:mime_type] if args.key?(:mime_type)
@@ -2245,6 +2257,7 @@ module Google
2245
2257
  @permissions = args[:permissions] if args.key?(:permissions)
2246
2258
  @properties = args[:properties] if args.key?(:properties)
2247
2259
  @quota_bytes_used = args[:quota_bytes_used] if args.key?(:quota_bytes_used)
2260
+ @resource_key = args[:resource_key] if args.key?(:resource_key)
2248
2261
  @self_link = args[:self_link] if args.key?(:self_link)
2249
2262
  @shareable = args[:shareable] if args.key?(:shareable)
2250
2263
  @shared = args[:shared] if args.key?(:shared)
@@ -2307,6 +2320,13 @@ module Google
2307
2320
  attr_accessor :can_change_restricted_download
2308
2321
  alias_method :can_change_restricted_download?, :can_change_restricted_download
2309
2322
 
2323
+ # Whether the current user can change the securityUpdateEnabled field on link
2324
+ # share metadata.
2325
+ # Corresponds to the JSON property `canChangeSecurityUpdateEnabled`
2326
+ # @return [Boolean]
2327
+ attr_accessor :can_change_security_update_enabled
2328
+ alias_method :can_change_security_update_enabled?, :can_change_security_update_enabled
2329
+
2310
2330
  # Whether the current user can comment on this file.
2311
2331
  # Corresponds to the JSON property `canComment`
2312
2332
  # @return [Boolean]
@@ -2514,6 +2534,7 @@ module Google
2514
2534
  @can_add_my_drive_parent = args[:can_add_my_drive_parent] if args.key?(:can_add_my_drive_parent)
2515
2535
  @can_change_copy_requires_writer_permission = args[:can_change_copy_requires_writer_permission] if args.key?(:can_change_copy_requires_writer_permission)
2516
2536
  @can_change_restricted_download = args[:can_change_restricted_download] if args.key?(:can_change_restricted_download)
2537
+ @can_change_security_update_enabled = args[:can_change_security_update_enabled] if args.key?(:can_change_security_update_enabled)
2517
2538
  @can_comment = args[:can_comment] if args.key?(:can_comment)
2518
2539
  @can_copy = args[:can_copy] if args.key?(:can_copy)
2519
2540
  @can_delete = args[:can_delete] if args.key?(:can_delete)
@@ -2798,6 +2819,34 @@ module Google
2798
2819
  end
2799
2820
  end
2800
2821
 
2822
+ # Contains details about the link URLs that clients are using to refer to this
2823
+ # item.
2824
+ class LinkShareMetadata
2825
+ include Google::Apis::Core::Hashable
2826
+
2827
+ # Whether the file is eligible for security update.
2828
+ # Corresponds to the JSON property `securityUpdateEligible`
2829
+ # @return [Boolean]
2830
+ attr_accessor :security_update_eligible
2831
+ alias_method :security_update_eligible?, :security_update_eligible
2832
+
2833
+ # Whether the security update is enabled for this file.
2834
+ # Corresponds to the JSON property `securityUpdateEnabled`
2835
+ # @return [Boolean]
2836
+ attr_accessor :security_update_enabled
2837
+ alias_method :security_update_enabled?, :security_update_enabled
2838
+
2839
+ def initialize(**args)
2840
+ update!(**args)
2841
+ end
2842
+
2843
+ # Update properties of this object
2844
+ def update!(**args)
2845
+ @security_update_eligible = args[:security_update_eligible] if args.key?(:security_update_eligible)
2846
+ @security_update_enabled = args[:security_update_enabled] if args.key?(:security_update_enabled)
2847
+ end
2848
+ end
2849
+
2801
2850
  # Shortcut file details. Only populated for shortcut files, which have the
2802
2851
  # mimeType field set to application/vnd.google-apps.shortcut.
2803
2852
  class ShortcutDetails
@@ -2815,6 +2864,11 @@ module Google
2815
2864
  # @return [String]
2816
2865
  attr_accessor :target_mime_type
2817
2866
 
2867
+ # The ResourceKey for the target file.
2868
+ # Corresponds to the JSON property `targetResourceKey`
2869
+ # @return [String]
2870
+ attr_accessor :target_resource_key
2871
+
2818
2872
  def initialize(**args)
2819
2873
  update!(**args)
2820
2874
  end
@@ -2823,6 +2877,7 @@ module Google
2823
2877
  def update!(**args)
2824
2878
  @target_id = args[:target_id] if args.key?(:target_id)
2825
2879
  @target_mime_type = args[:target_mime_type] if args.key?(:target_mime_type)
2880
+ @target_resource_key = args[:target_resource_key] if args.key?(:target_resource_key)
2826
2881
  end
2827
2882
  end
2828
2883
 
@@ -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.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
@@ -229,6 +229,12 @@ module Google
229
229
  include Google::Apis::Core::JsonObjectSupport
230
230
  end
231
231
 
232
+ class LinkShareMetadata
233
+ class Representation < Google::Apis::Core::JsonRepresentation; end
234
+
235
+ include Google::Apis::Core::JsonObjectSupport
236
+ end
237
+
232
238
  class ShortcutDetails
233
239
  class Representation < Google::Apis::Core::JsonRepresentation; end
234
240
 
@@ -833,6 +839,8 @@ module Google
833
839
  property :last_modifying_user_name, as: 'lastModifyingUserName'
834
840
  property :last_viewed_by_me_date, as: 'lastViewedByMeDate', type: DateTime
835
841
 
842
+ property :link_share_metadata, as: 'linkShareMetadata', class: Google::Apis::DriveV2::File::LinkShareMetadata, decorator: Google::Apis::DriveV2::File::LinkShareMetadata::Representation
843
+
836
844
  property :marked_viewed_by_me_date, as: 'markedViewedByMeDate', type: DateTime
837
845
 
838
846
  property :md5_checksum, as: 'md5Checksum'
@@ -855,6 +863,7 @@ module Google
855
863
  collection :properties, as: 'properties', class: Google::Apis::DriveV2::Property, decorator: Google::Apis::DriveV2::Property::Representation
856
864
 
857
865
  property :quota_bytes_used, :numeric_string => true, as: 'quotaBytesUsed'
866
+ property :resource_key, as: 'resourceKey'
858
867
  property :self_link, as: 'selfLink'
859
868
  property :shareable, as: 'shareable'
860
869
  property :shared, as: 'shared'
@@ -893,6 +902,7 @@ module Google
893
902
  property :can_add_my_drive_parent, as: 'canAddMyDriveParent'
894
903
  property :can_change_copy_requires_writer_permission, as: 'canChangeCopyRequiresWriterPermission'
895
904
  property :can_change_restricted_download, as: 'canChangeRestrictedDownload'
905
+ property :can_change_security_update_enabled, as: 'canChangeSecurityUpdateEnabled'
896
906
  property :can_comment, as: 'canComment'
897
907
  property :can_copy, as: 'canCopy'
898
908
  property :can_delete, as: 'canDelete'
@@ -981,11 +991,20 @@ module Google
981
991
  end
982
992
  end
983
993
 
994
+ class LinkShareMetadata
995
+ # @private
996
+ class Representation < Google::Apis::Core::JsonRepresentation
997
+ property :security_update_eligible, as: 'securityUpdateEligible'
998
+ property :security_update_enabled, as: 'securityUpdateEnabled'
999
+ end
1000
+ end
1001
+
984
1002
  class ShortcutDetails
985
1003
  # @private
986
1004
  class Representation < Google::Apis::Core::JsonRepresentation
987
1005
  property :target_id, as: 'targetId'
988
1006
  property :target_mime_type, as: 'targetMimeType'
1007
+ property :target_resource_key, as: 'targetResourceKey'
989
1008
  end
990
1009
  end
991
1010
 
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.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_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.8.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.9.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-drive_v2
57
57
  post_install_message:
58
58
  rdoc_options: []