google-apis-admin_directory_v1 0.39.0 → 0.41.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: 9fa9720f2b63d8c4c439ec4b4cef003eca68c56b27cac66bb62c95a65f638606
4
- data.tar.gz: 01dc1378f733690fda17b51a200f6f57b70a38e22ff4a09c8f0a8b491b709a4b
3
+ metadata.gz: 2428a00e2aa3e0429841d599f1d7bfd1043bc83742d46d5b513f441435405640
4
+ data.tar.gz: f69ef7f19c47748389fee68646df75a8539a5345ab0c7e35fe8a668ed141dea3
5
5
  SHA512:
6
- metadata.gz: df8b16841284db1434321058bcc02d06ab1e287102b823fd32297066566f7f74c475b1416aab7a9a7e064498979d480c345b08c8e07d206d9e4c09e2dd422687
7
- data.tar.gz: 1b03628cafcdcdf51fbbad5bf0b2b4cdc2615ce29e67c9be5bba50c91e02c706fc4b6a8cfeaa201b4354f35bff09ee10c24a042eff01929bd0f82fe04898a8d4
6
+ metadata.gz: 35f4f4f2e21c14303464db4d14c11b2ab71d1109a37c6899bc4aba19fc1d463c91676f6f0132a8833476e8db5e8942e045ec39433675f9cafc59626f131ee596
7
+ data.tar.gz: 8117c002a5835f2575aa35f1c2fc457172de669d4ece86bd881e672657e09f89eac21c0725130d9dd6ed4dc4fef4db1d6500abc579cde23b25540d1f36dcdc4a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.41.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230406
6
+
7
+ ### v0.40.0 (2023-03-19)
8
+
9
+ * Regenerated from discovery document revision 20230316
10
+
3
11
  ### v0.39.0 (2023-02-15)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -3686,13 +3686,18 @@ module Google
3686
3686
  include Google::Apis::Core::Hashable
3687
3687
 
3688
3688
  # The unique ID of the entity this role is assigned to—either the `user_id` of a
3689
- # user or the `uniqueId` of a service account, as defined in [Identity and
3690
- # Access Management (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/
3691
- # projects.serviceAccounts).
3689
+ # user, the `group_id` of a group, or the `uniqueId` of a service account as
3690
+ # defined in [Identity and Access Management (IAM)](https://cloud.google.com/iam/
3691
+ # docs/reference/rest/v1/projects.serviceAccounts).
3692
3692
  # Corresponds to the JSON property `assignedTo`
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)
@@ -4110,7 +4116,7 @@ module Google
4110
4116
  end
4111
4117
 
4112
4118
  # The Directory API allows you to create and manage your account's users, user
4113
- # aliases, and user Gmail chat profile photos. For more information about common
4119
+ # aliases, and user Google profile photos. For more information about common
4114
4120
  # tasks, see the [User Accounts Developer's Guide](/admin-sdk/directory/v1/
4115
4121
  # guides/manage-users.html) and the [User Aliases Developer's Guide](/admin-sdk/
4116
4122
  # directory/v1/guides/manage-user-aliases.html).
@@ -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.41.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 = "20230406"
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.41.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-04-16 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.41.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: []