google-apis-admin_directory_v1 0.39.0 → 0.40.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: 9fa9720f2b63d8c4c439ec4b4cef003eca68c56b27cac66bb62c95a65f638606
4
- data.tar.gz: 01dc1378f733690fda17b51a200f6f57b70a38e22ff4a09c8f0a8b491b709a4b
3
+ metadata.gz: ffb004a60baad70088aa0cc1660563a54e4ce0f9747a12e433a58970a1da2111
4
+ data.tar.gz: 190a08921c994f19a94394468120d131a1150368d554c6d6a5cd7a8d9fb7e7ae
5
5
  SHA512:
6
- metadata.gz: df8b16841284db1434321058bcc02d06ab1e287102b823fd32297066566f7f74c475b1416aab7a9a7e064498979d480c345b08c8e07d206d9e4c09e2dd422687
7
- data.tar.gz: 1b03628cafcdcdf51fbbad5bf0b2b4cdc2615ce29e67c9be5bba50c91e02c706fc4b6a8cfeaa201b4354f35bff09ee10c24a042eff01929bd0f82fe04898a8d4
6
+ metadata.gz: 505c6563736a13bc7e29ee70376c490c5804c0db19343b94c5aeeebc3e6dc5fc1149665a172546d42b6d87a075d89dcc291384dd90e45dd962fb14b80dcfb9d2
7
+ data.tar.gz: 232b41d5a7665e1f91e42e2b6b6fbab96f5f2323d24679026ae43a1ba1d2970a18da24eed3077088780817b81beb39a732ed73ca3172e7a42e8374f5d5acba20
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.40.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230316
6
+
3
7
  ### v0.39.0 (2023-02-15)
4
8
 
5
9
  * Regenerated using generator version 0.12.0
@@ -3693,6 +3693,11 @@ module Google
3693
3693
  # @return [String]
3694
3694
  attr_accessor :assigned_to
3695
3695
 
3696
+ # Output only. The type of the assignee (`USER` or `GROUP`).
3697
+ # Corresponds to the JSON property `assigneeType`
3698
+ # @return [String]
3699
+ attr_accessor :assignee_type
3700
+
3696
3701
  # ETag of the resource.
3697
3702
  # Corresponds to the JSON property `etag`
3698
3703
  # @return [String]
@@ -3731,6 +3736,7 @@ module Google
3731
3736
  # Update properties of this object
3732
3737
  def update!(**args)
3733
3738
  @assigned_to = args[:assigned_to] if args.key?(:assigned_to)
3739
+ @assignee_type = args[:assignee_type] if args.key?(:assignee_type)
3734
3740
  @etag = args[:etag] if args.key?(:etag)
3735
3741
  @kind = args[:kind] if args.key?(:kind)
3736
3742
  @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
@@ -4404,7 +4410,8 @@ module Google
4404
4410
  # @return [String]
4405
4411
  attr_accessor :thumbnail_photo_etag
4406
4412
 
4407
- # Output only. Photo Url of the user (Read-only)
4413
+ # Output only. The URL of the user's profile photo. The URL might be temporary
4414
+ # or private.
4408
4415
  # Corresponds to the JSON property `thumbnailPhotoUrl`
4409
4416
  # @return [String]
4410
4417
  attr_accessor :thumbnail_photo_url
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AdminDirectoryV1
18
18
  # Version of the google-apis-admin_directory_v1 gem
19
- GEM_VERSION = "0.39.0"
19
+ GEM_VERSION = "0.40.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 = "20230124"
25
+ REVISION = "20230316"
26
26
  end
27
27
  end
28
28
  end
@@ -1639,6 +1639,7 @@ module Google
1639
1639
  # @private
1640
1640
  class Representation < Google::Apis::Core::JsonRepresentation
1641
1641
  property :assigned_to, as: 'assignedTo'
1642
+ property :assignee_type, as: 'assigneeType'
1642
1643
  property :etag, as: 'etag'
1643
1644
  property :kind, as: 'kind'
1644
1645
  property :org_unit_id, as: 'orgUnitId'
@@ -3314,6 +3314,10 @@ module Google
3314
3314
  # customerId`. The `customerId` is also returned as part of the [Users](/admin-
3315
3315
  # sdk/directory/v1/reference/users) resource. You must provide either the `
3316
3316
  # customer` or the `domain` parameter.
3317
+ # @param [Boolean] include_indirect_role_assignments
3318
+ # When set to `true`, fetches indirect role assignments (i.e. role assignment
3319
+ # via a group) as well as direct ones. Defaults to `false`. You must specify `
3320
+ # user_key` or the indirect role assignments will not be included.
3317
3321
  # @param [Fixnum] max_results
3318
3322
  # Maximum number of results to return.
3319
3323
  # @param [String] page_token
@@ -3322,8 +3326,8 @@ module Google
3322
3326
  # Immutable ID of a role. If included in the request, returns only role
3323
3327
  # assignments containing this role ID.
3324
3328
  # @param [String] user_key
3325
- # The user's primary email address, alias email address, or unique user ID. If
3326
- # included in the request, returns role assignments only for this user.
3329
+ # The primary email address, alias email address, or unique user or group ID. If
3330
+ # included in the request, returns role assignments only for this user or group.
3327
3331
  # @param [String] fields
3328
3332
  # Selector specifying which fields to include in a partial response.
3329
3333
  # @param [String] quota_user
@@ -3341,11 +3345,12 @@ module Google
3341
3345
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3342
3346
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3343
3347
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3344
- def list_role_assignments(customer, max_results: nil, page_token: nil, role_id: nil, user_key: nil, fields: nil, quota_user: nil, options: nil, &block)
3348
+ def list_role_assignments(customer, include_indirect_role_assignments: nil, max_results: nil, page_token: nil, role_id: nil, user_key: nil, fields: nil, quota_user: nil, options: nil, &block)
3345
3349
  command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/roleassignments', options)
3346
3350
  command.response_representation = Google::Apis::AdminDirectoryV1::RoleAssignments::Representation
3347
3351
  command.response_class = Google::Apis::AdminDirectoryV1::RoleAssignments
3348
3352
  command.params['customer'] = customer unless customer.nil?
3353
+ command.query['includeIndirectRoleAssignments'] = include_indirect_role_assignments unless include_indirect_role_assignments.nil?
3349
3354
  command.query['maxResults'] = max_results unless max_results.nil?
3350
3355
  command.query['pageToken'] = page_token unless page_token.nil?
3351
3356
  command.query['roleId'] = role_id unless role_id.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-admin_directory_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.40.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-02-19 00:00:00.000000000 Z
11
+ date: 2023-03-19 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-admin_directory_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.40.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_directory_v1
63
63
  post_install_message:
64
64
  rdoc_options: []