google-apis-drive_v2 0.8.0 → 0.12.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3176b4adb130cfaa5879becb260db36bf1497bc30ce1331d3c02a3e3e9c975e
|
4
|
+
data.tar.gz: 91145b82fb0cc66215cd8facd59d52c5ed04dc74a2ec2f42dd87a3a8e78acf14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11852f5f8e75fbd8e3af716a79c7c6da808097388ce7325f8d793e1e69fba321bd89d97b10aead459f10f96307d5702f4e4a71a3540efad6b454ec9e7833722c
|
7
|
+
data.tar.gz: 289f2658bc473a14a3d46c951623ef280bc9f3eb52333526d3f6c7bd3b52060ad300a01342ed09d756f82ba1d98129aee7cd6f1577243fd3f496d2da7b1fe2f2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-drive_v2
|
2
2
|
|
3
|
+
### v0.12.0 (2021-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210707
|
6
|
+
|
7
|
+
### v0.11.0 (2021-07-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210628
|
10
|
+
* Regenerated using generator version 0.4.0
|
11
|
+
|
12
|
+
### v0.10.0 (2021-06-24)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.9.0 (2021-06-17)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210612
|
19
|
+
* Regenerated using generator version 0.3.0
|
20
|
+
|
3
21
|
### v0.8.0 (2021-05-28)
|
4
22
|
|
5
23
|
* 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.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210707"
|
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
|
|
@@ -1020,7 +1020,7 @@ module Google
|
|
1020
1020
|
|
1021
1021
|
# Lists the user's shared drives.
|
1022
1022
|
# @param [Fixnum] max_results
|
1023
|
-
# Maximum number of shared drives to return.
|
1023
|
+
# Maximum number of shared drives to return per page.
|
1024
1024
|
# @param [String] page_token
|
1025
1025
|
# Page token for shared drives.
|
1026
1026
|
# @param [String] q
|
@@ -2492,8 +2492,13 @@ module Google
|
|
2492
2492
|
# @param [Boolean] supports_team_drives
|
2493
2493
|
# Deprecated use supportsAllDrives instead.
|
2494
2494
|
# @param [Boolean] transfer_ownership
|
2495
|
-
# Whether
|
2496
|
-
#
|
2495
|
+
# Whether to transfer ownership to the specified user and downgrade the current
|
2496
|
+
# owner to a writer. This parameter is required as an acknowledgement of the
|
2497
|
+
# side effect. File owners can only transfer ownership of files existing on My
|
2498
|
+
# Drive. Files existing in a shared drive are owned by the organization that
|
2499
|
+
# owns that shared drive. Ownership transfers are not supported for files and
|
2500
|
+
# folders in shared drives. Organizers of a shared drive can move items from
|
2501
|
+
# that shared drive into their My Drive which transfers the ownership to them.
|
2497
2502
|
# @param [Boolean] use_domain_admin_access
|
2498
2503
|
# Issue the request as a domain administrator; if set to true, then the
|
2499
2504
|
# requester will be granted access if the file ID parameter refers to a shared
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-drive_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.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-
|
11
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Drive API V2. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v2/v0.12.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-drive_v2
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|