google-apis-drivelabels_v2 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/drivelabels_v2/gem_version.rb +2 -2
- data/lib/google/apis/drivelabels_v2/service.rb +10 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01c5e276dcd38965465c787499ccf32484b7d33d328f4725d2edff5eaa7b485a
|
4
|
+
data.tar.gz: 961e789cd798137d2268bec31c80ecb0771f5a4fbccc916f64a27674f18c7a17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a80a36c70ec0272a81fb8ec6d81c6e3f136c0c5b78d80f106c1407f67609c042af28858dcef88390d6a7825b7582fc5faa3511eb3010fdcb8372bf86dd22a54
|
7
|
+
data.tar.gz: 954c3bd5245fa7394c7e81404172dd5e33f701e49d5a19c98217a18734df9da074ca5342c6bafa52c99abcc85ae0ed446c37131e109f3ceebb49308a425798b5
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DrivelabelsV2
|
18
18
|
# Version of the google-apis-drivelabels_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230320"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -287,6 +287,9 @@ module Google
|
|
287
287
|
end
|
288
288
|
|
289
289
|
# List labels.
|
290
|
+
# @param [String] customer
|
291
|
+
# The customer to scope this list request to. For example: "customers/abcd1234".
|
292
|
+
# If unset, will return all labels within the current customer.
|
290
293
|
# @param [String] language_code
|
291
294
|
# The BCP-47 language code to use for evaluating localized field labels. When
|
292
295
|
# not specified, values in the default configured language are used.
|
@@ -327,10 +330,11 @@ module Google
|
|
327
330
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
328
331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
329
332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
330
|
-
def list_labels(language_code: nil, minimum_role: nil, page_size: nil, page_token: nil, published_only: nil, use_admin_access: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
333
|
+
def list_labels(customer: nil, language_code: nil, minimum_role: nil, page_size: nil, page_token: nil, published_only: nil, use_admin_access: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
331
334
|
command = make_simple_command(:get, 'v2/labels', options)
|
332
335
|
command.response_representation = Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2ListLabelsResponse::Representation
|
333
336
|
command.response_class = Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2ListLabelsResponse
|
337
|
+
command.query['customer'] = customer unless customer.nil?
|
334
338
|
command.query['languageCode'] = language_code unless language_code.nil?
|
335
339
|
command.query['minimumRole'] = minimum_role unless minimum_role.nil?
|
336
340
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -990,6 +994,9 @@ module Google
|
|
990
994
|
# @param [String] name
|
991
995
|
# Required. The resource name of the user. Only "users/me/capabilities" is
|
992
996
|
# supported.
|
997
|
+
# @param [String] customer
|
998
|
+
# The customer to scope this request to. For example: "customers/abcd1234". If
|
999
|
+
# unset, will return settings within the current customer.
|
993
1000
|
# @param [String] fields
|
994
1001
|
# Selector specifying which fields to include in a partial response.
|
995
1002
|
# @param [String] quota_user
|
@@ -1007,11 +1014,12 @@ module Google
|
|
1007
1014
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1008
1015
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1009
1016
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1010
|
-
def get_user_capabilities(name, fields: nil, quota_user: nil, options: nil, &block)
|
1017
|
+
def get_user_capabilities(name, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1011
1018
|
command = make_simple_command(:get, 'v2/{+name}', options)
|
1012
1019
|
command.response_representation = Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserCapabilities::Representation
|
1013
1020
|
command.response_class = Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserCapabilities
|
1014
1021
|
command.params['name'] = name unless name.nil?
|
1022
|
+
command.query['customer'] = customer unless customer.nil?
|
1015
1023
|
command.query['fields'] = fields unless fields.nil?
|
1016
1024
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1017
1025
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-drivelabels_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.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-03-
|
11
|
+
date: 2023-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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-drivelabels_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-drivelabels_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drivelabels_v2/v0.8.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drivelabels_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|