google-apis-drivelabels_v2 0.7.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: a362be262f4a28349bfe8385642b7e8064ff7ef47977e5f988069899f39919ab
4
- data.tar.gz: b615d0dd6300be8534b5466e907f834c3efc196ba5e8c721ad6fd7dbe239f923
3
+ metadata.gz: dfe904067be277f1a7c45061ec22d0f4d5c811f810bbd11282fcaac6b1f4efd3
4
+ data.tar.gz: '0024106499a28a5dd338679d0a95d72ee3c4fc757c9157c53d6dd0e05d46e125'
5
5
  SHA512:
6
- metadata.gz: 7a2e24108c2687e02370d80b47c46b270c5ffb0be5a1c8bda8e5966aba6b48875ea0836f0b5ac9a8513f228365e3009a6f5ef9273b31008de5dfc87c247e8626
7
- data.tar.gz: 362af398fa1875ac31e31c7cce2335e24cf804ef3fd08b145b371e5728e6997a6a3de0ae44880a0391684e799a7c8e4e7cee1666268ab186947fbbcb030c9781
6
+ metadata.gz: deaaa39b081894c638879f5d17ceaa43575b4ca3c515d1780459def9159252a5fed1584f8011c945f863f5a93296c7f28312d77a834b289677fcd4510126a28a
7
+ data.tar.gz: 8480ba530e94825e78dff4da405469881a3ac5f24c5fcf7b314efce8ea6cf5bf8b34e635fa50ccd78251b278af0117e5669dfb5f24f0be3cf1ba9414da575b70
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-drivelabels_v2
2
2
 
3
+ ### v0.9.0 (2023-04-02)
4
+
5
+ * Regenerated from discovery document revision 20230327
6
+
7
+ ### v0.8.0 (2023-03-26)
8
+
9
+ * Regenerated from discovery document revision 20230320
10
+
3
11
  ### v0.7.0 (2023-03-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20230228
@@ -2201,6 +2201,12 @@ module Google
2201
2201
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo]
2202
2202
  attr_accessor :creator
2203
2203
 
2204
+ # Output only. The customer this label belongs to. For example: "customers/
2205
+ # 123abc789."
2206
+ # Corresponds to the JSON property `customer`
2207
+ # @return [String]
2208
+ attr_accessor :customer
2209
+
2204
2210
  # Output only. The time this label was disabled. This value has no meaning when
2205
2211
  # the label is not disabled.
2206
2212
  # Corresponds to the JSON property `disableTime`
@@ -2316,6 +2322,7 @@ module Google
2316
2322
  @applied_label_policy = args[:applied_label_policy] if args.key?(:applied_label_policy)
2317
2323
  @create_time = args[:create_time] if args.key?(:create_time)
2318
2324
  @creator = args[:creator] if args.key?(:creator)
2325
+ @customer = args[:customer] if args.key?(:customer)
2319
2326
  @disable_time = args[:disable_time] if args.key?(:disable_time)
2320
2327
  @disabler = args[:disabler] if args.key?(:disabler)
2321
2328
  @display_hints = args[:display_hints] if args.key?(:display_hints)
@@ -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.7.0"
19
+ GEM_VERSION = "0.9.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 = "20230228"
25
+ REVISION = "20230327"
26
26
  end
27
27
  end
28
28
  end
@@ -1159,6 +1159,7 @@ module Google
1159
1159
  property :create_time, as: 'createTime'
1160
1160
  property :creator, as: 'creator', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
1161
1161
 
1162
+ property :customer, as: 'customer'
1162
1163
  property :disable_time, as: 'disableTime'
1163
1164
  property :disabler, as: 'disabler', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
1164
1165
 
@@ -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.7.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: 2023-03-05 00:00:00.000000000 Z
11
+ date: 2023-04-02 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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drivelabels_v2/v0.9.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: []