google-apis-drive_v3 0.67.0 → 0.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab9f498c529c78001003ca0c9cf3e04036a217ee44b5157902d0e78c052dc83d
4
- data.tar.gz: 4d0a1212a89329500923a4eb393f0b7f8f238df632488932859e6ca86467a1ce
3
+ metadata.gz: 257acc6a67090afd4c31072bb22bf244fc63c0831c1efd1fcab78feade2dbb3d
4
+ data.tar.gz: 54a10dd6bc476513735f90a44f13ec4f8f1a761260e529337816fab94444149b
5
5
  SHA512:
6
- metadata.gz: 241604e4323fd7102fa523b52c37b811224232f477ed3375bae0c532ca890b5b5205e54191a0b80d5805237b35865fe4679bcc0097802b61583f7b545fd2f620
7
- data.tar.gz: 416fe185030a47a0fddbedf3f4167e318b5ddd63f1a7a389986df9c01eb563dc8093bca1b66650816dfac6356ae667a770d299a971c450fb1d0bd6c3b51c8169
6
+ metadata.gz: b2289facb16657f062b2fdcdbf465e86fe5c3b895e5b46f2960cf5aa1bc21391d43414cf99edc1ab62f419928d718004c21061266906857cbbba1922c669cf02
7
+ data.tar.gz: b7d548a0f8c2bb28d4b64a36d810b8a3123a3747705a83fd5b3284aa8fbeaf73f58791c8f4119e017b307a46a771ee39983994e69abfcb8d9f03858d5374159a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drive_v3
2
2
 
3
+ ### v0.68.0 (2025-07-27)
4
+
5
+ * Regenerated from discovery document revision 20250723
6
+
3
7
  ### v0.67.0 (2025-07-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20250701
@@ -2005,8 +2005,8 @@ module Google
2005
2005
  attr_accessor :can_change_copy_requires_writer_permission
2006
2006
  alias_method :can_change_copy_requires_writer_permission?, :can_change_copy_requires_writer_permission
2007
2007
 
2008
- # Output only. Whether the current user can change the owner-applied download
2009
- # restrictions of the file.
2008
+ # Output only. Whether the current user can change the owner or organizer-
2009
+ # applied download restrictions of the file.
2010
2010
  # Corresponds to the JSON property `canChangeItemDownloadRestriction`
2011
2011
  # @return [Boolean]
2012
2012
  attr_accessor :can_change_item_download_restriction
@@ -3017,31 +3017,6 @@ module Google
3017
3017
  end
3018
3018
  end
3019
3019
 
3020
- # The response message for Operations.ListOperations.
3021
- class ListOperationsResponse
3022
- include Google::Apis::Core::Hashable
3023
-
3024
- # The standard List next-page token.
3025
- # Corresponds to the JSON property `nextPageToken`
3026
- # @return [String]
3027
- attr_accessor :next_page_token
3028
-
3029
- # A list of operations that matches the specified filter in the request.
3030
- # Corresponds to the JSON property `operations`
3031
- # @return [Array<Google::Apis::DriveV3::Operation>]
3032
- attr_accessor :operations
3033
-
3034
- def initialize(**args)
3035
- update!(**args)
3036
- end
3037
-
3038
- # Update properties of this object
3039
- def update!(**args)
3040
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3041
- @operations = args[:operations] if args.key?(:operations)
3042
- end
3043
- end
3044
-
3045
3020
  # A request to modify the set of labels on a file. This request may contain many
3046
3021
  # modifications that will either all succeed or all fail atomically.
3047
3022
  class ModifyLabelsRequest
@@ -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.67.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250701"
25
+ REVISION = "20250723"
26
26
  end
27
27
  end
28
28
  end
@@ -268,12 +268,6 @@ module Google
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
- class ListOperationsResponse
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
271
  class ModifyLabelsRequest
278
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
273
 
@@ -1050,15 +1044,6 @@ module Google
1050
1044
  end
1051
1045
  end
1052
1046
 
1053
- class ListOperationsResponse
1054
- # @private
1055
- class Representation < Google::Apis::Core::JsonRepresentation
1056
- property :next_page_token, as: 'nextPageToken'
1057
- collection :operations, as: 'operations', class: Google::Apis::DriveV3::Operation, decorator: Google::Apis::DriveV3::Operation::Representation
1058
-
1059
- end
1060
- end
1061
-
1062
1047
  class ModifyLabelsRequest
1063
1048
  # @private
1064
1049
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1680,72 +1680,6 @@ module Google
1680
1680
  execute_or_queue_command(command, &block)
1681
1681
  end
1682
1682
 
1683
- # Starts asynchronous cancellation on a long-running operation. The server makes
1684
- # a best effort to cancel the operation, but success is not guaranteed. If the
1685
- # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1686
- # Clients can use Operations.GetOperation or other methods to check whether the
1687
- # cancellation succeeded or whether the operation completed despite cancellation.
1688
- # On successful cancellation, the operation is not deleted; instead, it becomes
1689
- # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1690
- # , corresponding to `Code.CANCELLED`.
1691
- # @param [String] name
1692
- # The name of the operation resource to be cancelled.
1693
- # @param [String] fields
1694
- # Selector specifying which fields to include in a partial response.
1695
- # @param [String] quota_user
1696
- # Available to use for quota purposes for server-side applications. Can be any
1697
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1698
- # @param [Google::Apis::RequestOptions] options
1699
- # Request-specific options
1700
- #
1701
- # @yield [result, err] Result & error if block supplied
1702
- # @yieldparam result [NilClass] No result returned for this method
1703
- # @yieldparam err [StandardError] error object if request failed
1704
- #
1705
- # @return [void]
1706
- #
1707
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1708
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1709
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1710
- def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1711
- command = make_simple_command(:post, 'operations/{name}:cancel', options)
1712
- command.params['name'] = name unless name.nil?
1713
- command.query['fields'] = fields unless fields.nil?
1714
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1715
- execute_or_queue_command(command, &block)
1716
- end
1717
-
1718
- # Deletes a long-running operation. This method indicates that the client is no
1719
- # longer interested in the operation result. It does not cancel the operation.
1720
- # If the server doesn't support this method, it returns `google.rpc.Code.
1721
- # UNIMPLEMENTED`.
1722
- # @param [String] name
1723
- # The name of the operation resource to be deleted.
1724
- # @param [String] fields
1725
- # Selector specifying which fields to include in a partial response.
1726
- # @param [String] quota_user
1727
- # Available to use for quota purposes for server-side applications. Can be any
1728
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1729
- # @param [Google::Apis::RequestOptions] options
1730
- # Request-specific options
1731
- #
1732
- # @yield [result, err] Result & error if block supplied
1733
- # @yieldparam result [NilClass] No result returned for this method
1734
- # @yieldparam err [StandardError] error object if request failed
1735
- #
1736
- # @return [void]
1737
- #
1738
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1739
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1740
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1741
- def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1742
- command = make_simple_command(:delete, 'operations/{name}', options)
1743
- command.params['name'] = name unless name.nil?
1744
- command.query['fields'] = fields unless fields.nil?
1745
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1746
- execute_or_queue_command(command, &block)
1747
- end
1748
-
1749
1683
  # Gets the latest state of a long-running operation. Clients can use this method
1750
1684
  # to poll the operation result at intervals as recommended by the API service.
1751
1685
  # @param [String] name
@@ -1777,46 +1711,6 @@ module Google
1777
1711
  execute_or_queue_command(command, &block)
1778
1712
  end
1779
1713
 
1780
- # Lists operations that match the specified filter in the request. If the server
1781
- # doesn't support this method, it returns `UNIMPLEMENTED`.
1782
- # @param [String] filter
1783
- # The standard list filter.
1784
- # @param [String] name
1785
- # The name of the operation's parent resource.
1786
- # @param [Fixnum] page_size
1787
- # The standard list page size.
1788
- # @param [String] page_token
1789
- # The standard list page token.
1790
- # @param [String] fields
1791
- # Selector specifying which fields to include in a partial response.
1792
- # @param [String] quota_user
1793
- # Available to use for quota purposes for server-side applications. Can be any
1794
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1795
- # @param [Google::Apis::RequestOptions] options
1796
- # Request-specific options
1797
- #
1798
- # @yield [result, err] Result & error if block supplied
1799
- # @yieldparam result [Google::Apis::DriveV3::ListOperationsResponse] parsed result object
1800
- # @yieldparam err [StandardError] error object if request failed
1801
- #
1802
- # @return [Google::Apis::DriveV3::ListOperationsResponse]
1803
- #
1804
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1805
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1806
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1807
- def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1808
- command = make_simple_command(:get, 'operations', options)
1809
- command.response_representation = Google::Apis::DriveV3::ListOperationsResponse::Representation
1810
- command.response_class = Google::Apis::DriveV3::ListOperationsResponse
1811
- command.query['filter'] = filter unless filter.nil?
1812
- command.query['name'] = name unless name.nil?
1813
- command.query['pageSize'] = page_size unless page_size.nil?
1814
- command.query['pageToken'] = page_token unless page_token.nil?
1815
- command.query['fields'] = fields unless fields.nil?
1816
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1817
- execute_or_queue_command(command, &block)
1818
- end
1819
-
1820
1714
  # Creates a permission for a file or shared drive. **Warning:** Concurrent
1821
1715
  # permissions operations on the same file are not supported; only the last
1822
1716
  # update is applied.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-drive_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.68.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.67.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drive_v3/v0.68.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drive_v3
62
62
  rdoc_options: []
63
63
  require_paths: