google-apis-cloudidentity_v1 0.24.0 → 0.27.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: 4f9739a9bb9e890047d0070eafd67535e8cb77411e80a208635a53ab28dd5718
4
- data.tar.gz: 34a2fb21aa87264e89d1bea3a60d37dc971f8dfbd5d5f6c5cfabd87c401ad873
3
+ metadata.gz: '0331938d7baef553b7e9f73c073874f72c5c21e4f76de8cd3a83b7c92492fce9'
4
+ data.tar.gz: b7d5899c0091e38e1b9a5c16f4e88f64fe67ec736b41dddbb73e3b539696dd93
5
5
  SHA512:
6
- metadata.gz: 86b7a4817f545bbcb46de30d9982844b32fd1984385fcea7598b3986e9f5a4350cdac7c20737f1e74278421f69513d665c9333580c77242f87493a9611ef1f5c
7
- data.tar.gz: 131c7bc77687dd0468abe36c34f3eb1d5e8c7070d307868da6f30965aa1252c012e2c49717626fb65d5a91d1c00fcb8167c2286b76c8322c6c9d41fd23036ea7
6
+ metadata.gz: f67e897ed8aadc4a9dad503079446ecdf14db7a2706088f83aa715d47c8ecc415aa23a9a988964f0036d6dc1e8557f4501977e108fe3568c3848135a3e7a4888
7
+ data.tar.gz: 56c52b4bb22877152fe30d00945120710b96e8e88b122505c5cb542b94fafba978a0ee21cec830950fe1797fe0142a7b4d302d6e142e4a652b65c2e2452ff266
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-cloudidentity_v1
2
2
 
3
+ ### v0.27.0 (2022-09-01)
4
+
5
+ * Regenerated from discovery document revision 20220830
6
+
7
+ ### v0.26.0 (2022-07-20)
8
+
9
+ * Regenerated from discovery document revision 20220718
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.25.0 (2022-06-30)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+
3
16
  ### v0.24.0 (2022-06-24)
4
17
 
5
18
  * Regenerated from discovery document revision 20220620
@@ -22,6 +22,19 @@ module Google
22
22
  module Apis
23
23
  module CloudidentityV1
24
24
 
25
+ # Request to cancel sent invitation for target email in UserInvitation.
26
+ class CancelUserInvitationRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
25
38
  # The response message for MembershipsService.CheckTransitiveMembership.
26
39
  class CheckTransitiveMembershipResponse
27
40
  include Google::Apis::Core::Hashable
@@ -1424,6 +1437,26 @@ module Google
1424
1437
  end
1425
1438
  end
1426
1439
 
1440
+ # Response for IsInvitableUser RPC.
1441
+ class IsInvitableUserResponse
1442
+ include Google::Apis::Core::Hashable
1443
+
1444
+ # Returns true if the email address is invitable.
1445
+ # Corresponds to the JSON property `isInvitableUser`
1446
+ # @return [Boolean]
1447
+ attr_accessor :is_invitable_user
1448
+ alias_method :is_invitable_user?, :is_invitable_user
1449
+
1450
+ def initialize(**args)
1451
+ update!(**args)
1452
+ end
1453
+
1454
+ # Update properties of this object
1455
+ def update!(**args)
1456
+ @is_invitable_user = args[:is_invitable_user] if args.key?(:is_invitable_user)
1457
+ end
1458
+ end
1459
+
1427
1460
  # Response message for ListGroups operation.
1428
1461
  class ListGroupsResponse
1429
1462
  include Google::Apis::Core::Hashable
@@ -1476,6 +1509,34 @@ module Google
1476
1509
  end
1477
1510
  end
1478
1511
 
1512
+ # Response message for UserInvitation listing request.
1513
+ class ListUserInvitationsResponse
1514
+ include Google::Apis::Core::Hashable
1515
+
1516
+ # The token for the next page. If not empty, indicates that there may be more `
1517
+ # UserInvitation` resources that match the listing request; this value can be
1518
+ # used in a subsequent ListUserInvitationsRequest to get continued results with
1519
+ # the current list call.
1520
+ # Corresponds to the JSON property `nextPageToken`
1521
+ # @return [String]
1522
+ attr_accessor :next_page_token
1523
+
1524
+ # The list of UserInvitation resources.
1525
+ # Corresponds to the JSON property `userInvitations`
1526
+ # @return [Array<Google::Apis::CloudidentityV1::UserInvitation>]
1527
+ attr_accessor :user_invitations
1528
+
1529
+ def initialize(**args)
1530
+ update!(**args)
1531
+ end
1532
+
1533
+ # Update properties of this object
1534
+ def update!(**args)
1535
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1536
+ @user_invitations = args[:user_invitations] if args.key?(:user_invitations)
1537
+ end
1538
+ end
1539
+
1479
1540
  # The response message for GroupsService.LookupGroupName.
1480
1541
  class LookupGroupNameResponse
1481
1542
  include Google::Apis::Core::Hashable
@@ -1989,6 +2050,20 @@ module Google
1989
2050
  end
1990
2051
  end
1991
2052
 
2053
+ # A request to send email for inviting target user corresponding to the
2054
+ # UserInvitation.
2055
+ class SendUserInvitationRequest
2056
+ include Google::Apis::Core::Hashable
2057
+
2058
+ def initialize(**args)
2059
+ update!(**args)
2060
+ end
2061
+
2062
+ # Update properties of this object
2063
+ def update!(**args)
2064
+ end
2065
+ end
2066
+
1992
2067
  # The `Status` type defines a logical error model that is suitable for different
1993
2068
  # programming environments, including REST APIs and RPC APIs. It is used by [
1994
2069
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2100,6 +2175,49 @@ module Google
2100
2175
  @membership_role = args[:membership_role] if args.key?(:membership_role)
2101
2176
  end
2102
2177
  end
2178
+
2179
+ # The `UserInvitation` resource represents an email that can be sent to an
2180
+ # unmanaged user account inviting them to join the customer's Google Workspace
2181
+ # or Cloud Identity account. An unmanaged account shares an email address domain
2182
+ # with the Google Workspace or Cloud Identity account but is not managed by it
2183
+ # yet. If the user accepts the `UserInvitation`, the user account will become
2184
+ # managed.
2185
+ class UserInvitation
2186
+ include Google::Apis::Core::Hashable
2187
+
2188
+ # Number of invitation emails sent to the user.
2189
+ # Corresponds to the JSON property `mailsSentCount`
2190
+ # @return [Fixnum]
2191
+ attr_accessor :mails_sent_count
2192
+
2193
+ # Shall be of the form `customers/`customer`/userinvitations/`user_email_address`
2194
+ # `.
2195
+ # Corresponds to the JSON property `name`
2196
+ # @return [String]
2197
+ attr_accessor :name
2198
+
2199
+ # State of the `UserInvitation`.
2200
+ # Corresponds to the JSON property `state`
2201
+ # @return [String]
2202
+ attr_accessor :state
2203
+
2204
+ # Time when the `UserInvitation` was last updated.
2205
+ # Corresponds to the JSON property `updateTime`
2206
+ # @return [String]
2207
+ attr_accessor :update_time
2208
+
2209
+ def initialize(**args)
2210
+ update!(**args)
2211
+ end
2212
+
2213
+ # Update properties of this object
2214
+ def update!(**args)
2215
+ @mails_sent_count = args[:mails_sent_count] if args.key?(:mails_sent_count)
2216
+ @name = args[:name] if args.key?(:name)
2217
+ @state = args[:state] if args.key?(:state)
2218
+ @update_time = args[:update_time] if args.key?(:update_time)
2219
+ end
2220
+ end
2103
2221
  end
2104
2222
  end
2105
2223
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudidentityV1
18
18
  # Version of the google-apis-cloudidentity_v1 gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220620"
25
+ REVISION = "20220830"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module CloudidentityV1
24
24
 
25
+ class CancelUserInvitationRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class CheckTransitiveMembershipResponse
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -310,6 +316,12 @@ module Google
310
316
  include Google::Apis::Core::JsonObjectSupport
311
317
  end
312
318
 
319
+ class IsInvitableUserResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
313
325
  class ListGroupsResponse
314
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
327
 
@@ -322,6 +334,12 @@ module Google
322
334
  include Google::Apis::Core::JsonObjectSupport
323
335
  end
324
336
 
337
+ class ListUserInvitationsResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
325
343
  class LookupGroupNameResponse
326
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
345
 
@@ -424,6 +442,12 @@ module Google
424
442
  include Google::Apis::Core::JsonObjectSupport
425
443
  end
426
444
 
445
+ class SendUserInvitationRequest
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
427
451
  class Status
428
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
453
 
@@ -454,6 +478,18 @@ module Google
454
478
  include Google::Apis::Core::JsonObjectSupport
455
479
  end
456
480
 
481
+ class UserInvitation
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class CancelUserInvitationRequest
488
+ # @private
489
+ class Representation < Google::Apis::Core::JsonRepresentation
490
+ end
491
+ end
492
+
457
493
  class CheckTransitiveMembershipResponse
458
494
  # @private
459
495
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -868,6 +904,13 @@ module Google
868
904
  end
869
905
  end
870
906
 
907
+ class IsInvitableUserResponse
908
+ # @private
909
+ class Representation < Google::Apis::Core::JsonRepresentation
910
+ property :is_invitable_user, as: 'isInvitableUser'
911
+ end
912
+ end
913
+
871
914
  class ListGroupsResponse
872
915
  # @private
873
916
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -886,6 +929,15 @@ module Google
886
929
  end
887
930
  end
888
931
 
932
+ class ListUserInvitationsResponse
933
+ # @private
934
+ class Representation < Google::Apis::Core::JsonRepresentation
935
+ property :next_page_token, as: 'nextPageToken'
936
+ collection :user_invitations, as: 'userInvitations', class: Google::Apis::CloudidentityV1::UserInvitation, decorator: Google::Apis::CloudidentityV1::UserInvitation::Representation
937
+
938
+ end
939
+ end
940
+
889
941
  class LookupGroupNameResponse
890
942
  # @private
891
943
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1044,6 +1096,12 @@ module Google
1044
1096
  end
1045
1097
  end
1046
1098
 
1099
+ class SendUserInvitationRequest
1100
+ # @private
1101
+ class Representation < Google::Apis::Core::JsonRepresentation
1102
+ end
1103
+ end
1104
+
1047
1105
  class Status
1048
1106
  # @private
1049
1107
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1080,6 +1138,16 @@ module Google
1080
1138
 
1081
1139
  end
1082
1140
  end
1141
+
1142
+ class UserInvitation
1143
+ # @private
1144
+ class Representation < Google::Apis::Core::JsonRepresentation
1145
+ property :mails_sent_count, :numeric_string => true, as: 'mailsSentCount'
1146
+ property :name, as: 'name'
1147
+ property :state, as: 'state'
1148
+ property :update_time, as: 'updateTime'
1149
+ end
1150
+ end
1083
1151
  end
1084
1152
  end
1085
1153
  end
@@ -49,6 +49,204 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
+ # Cancels a UserInvitation that was already sent.
53
+ # @param [String] name
54
+ # Required. `UserInvitation` name in the format `customers/`customer`/
55
+ # userinvitations/`user_email_address``
56
+ # @param [Google::Apis::CloudidentityV1::CancelUserInvitationRequest] cancel_user_invitation_request_object
57
+ # @param [String] fields
58
+ # Selector specifying which fields to include in a partial response.
59
+ # @param [String] quota_user
60
+ # Available to use for quota purposes for server-side applications. Can be any
61
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
62
+ # @param [Google::Apis::RequestOptions] options
63
+ # Request-specific options
64
+ #
65
+ # @yield [result, err] Result & error if block supplied
66
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
67
+ # @yieldparam err [StandardError] error object if request failed
68
+ #
69
+ # @return [Google::Apis::CloudidentityV1::Operation]
70
+ #
71
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
74
+ def cancel_userinvitation_user_invitation(name, cancel_user_invitation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
75
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
76
+ command.request_representation = Google::Apis::CloudidentityV1::CancelUserInvitationRequest::Representation
77
+ command.request_object = cancel_user_invitation_request_object
78
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
79
+ command.response_class = Google::Apis::CloudidentityV1::Operation
80
+ command.params['name'] = name unless name.nil?
81
+ command.query['fields'] = fields unless fields.nil?
82
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
83
+ execute_or_queue_command(command, &block)
84
+ end
85
+
86
+ # Retrieves a UserInvitation resource. **Note:** New consumer accounts with the
87
+ # customer's verified domain created within the previous 48 hours will not
88
+ # appear in the result. This delay also applies to newly-verified domains.
89
+ # @param [String] name
90
+ # Required. `UserInvitation` name in the format `customers/`customer`/
91
+ # userinvitations/`user_email_address``
92
+ # @param [String] fields
93
+ # Selector specifying which fields to include in a partial response.
94
+ # @param [String] quota_user
95
+ # Available to use for quota purposes for server-side applications. Can be any
96
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
97
+ # @param [Google::Apis::RequestOptions] options
98
+ # Request-specific options
99
+ #
100
+ # @yield [result, err] Result & error if block supplied
101
+ # @yieldparam result [Google::Apis::CloudidentityV1::UserInvitation] parsed result object
102
+ # @yieldparam err [StandardError] error object if request failed
103
+ #
104
+ # @return [Google::Apis::CloudidentityV1::UserInvitation]
105
+ #
106
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
107
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
108
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
109
+ def get_customer_userinvitation(name, fields: nil, quota_user: nil, options: nil, &block)
110
+ command = make_simple_command(:get, 'v1/{+name}', options)
111
+ command.response_representation = Google::Apis::CloudidentityV1::UserInvitation::Representation
112
+ command.response_class = Google::Apis::CloudidentityV1::UserInvitation
113
+ command.params['name'] = name unless name.nil?
114
+ command.query['fields'] = fields unless fields.nil?
115
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
116
+ execute_or_queue_command(command, &block)
117
+ end
118
+
119
+ # Verifies whether a user account is eligible to receive a UserInvitation (is an
120
+ # unmanaged account). Eligibility is based on the following criteria: * the
121
+ # email address is a consumer account and it's the primary email address of the
122
+ # account, and * the domain of the email address matches an existing verified
123
+ # Google Workspace or Cloud Identity domain If both conditions are met, the user
124
+ # is eligible. **Note:** This method is not supported for Workspace Essentials
125
+ # customers.
126
+ # @param [String] name
127
+ # Required. `UserInvitation` name in the format `customers/`customer`/
128
+ # userinvitations/`user_email_address``
129
+ # @param [String] fields
130
+ # Selector specifying which fields to include in a partial response.
131
+ # @param [String] quota_user
132
+ # Available to use for quota purposes for server-side applications. Can be any
133
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
134
+ # @param [Google::Apis::RequestOptions] options
135
+ # Request-specific options
136
+ #
137
+ # @yield [result, err] Result & error if block supplied
138
+ # @yieldparam result [Google::Apis::CloudidentityV1::IsInvitableUserResponse] parsed result object
139
+ # @yieldparam err [StandardError] error object if request failed
140
+ #
141
+ # @return [Google::Apis::CloudidentityV1::IsInvitableUserResponse]
142
+ #
143
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
146
+ def is_customer_userinvitation_invitable_user(name, fields: nil, quota_user: nil, options: nil, &block)
147
+ command = make_simple_command(:get, 'v1/{+name}:isInvitableUser', options)
148
+ command.response_representation = Google::Apis::CloudidentityV1::IsInvitableUserResponse::Representation
149
+ command.response_class = Google::Apis::CloudidentityV1::IsInvitableUserResponse
150
+ command.params['name'] = name unless name.nil?
151
+ command.query['fields'] = fields unless fields.nil?
152
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
153
+ execute_or_queue_command(command, &block)
154
+ end
155
+
156
+ # Retrieves a list of UserInvitation resources. **Note:** New consumer accounts
157
+ # with the customer's verified domain created within the previous 48 hours will
158
+ # not appear in the result. This delay also applies to newly-verified domains.
159
+ # @param [String] parent
160
+ # Required. The customer ID of the Google Workspace or Cloud Identity account
161
+ # the UserInvitation resources are associated with.
162
+ # @param [String] filter
163
+ # Optional. A query string for filtering `UserInvitation` results by their
164
+ # current state, in the format: `"state=='invited'"`.
165
+ # @param [String] order_by
166
+ # Optional. The sort order of the list results. You can sort the results in
167
+ # descending order based on either email or last update timestamp but not both,
168
+ # using `order_by="email desc"`. Currently, sorting is supported for `
169
+ # update_time asc`, `update_time desc`, `email asc`, and `email desc`. If not
170
+ # specified, results will be returned based on `email asc` order.
171
+ # @param [Fixnum] page_size
172
+ # Optional. The maximum number of UserInvitation resources to return. If
173
+ # unspecified, at most 100 resources will be returned. The maximum value is 200;
174
+ # values above 200 will be set to 200.
175
+ # @param [String] page_token
176
+ # Optional. A page token, received from a previous `ListUserInvitations` call.
177
+ # Provide this to retrieve the subsequent page. When paginating, all other
178
+ # parameters provided to `ListBooks` must match the call that provided the page
179
+ # token.
180
+ # @param [String] fields
181
+ # Selector specifying which fields to include in a partial response.
182
+ # @param [String] quota_user
183
+ # Available to use for quota purposes for server-side applications. Can be any
184
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
185
+ # @param [Google::Apis::RequestOptions] options
186
+ # Request-specific options
187
+ #
188
+ # @yield [result, err] Result & error if block supplied
189
+ # @yieldparam result [Google::Apis::CloudidentityV1::ListUserInvitationsResponse] parsed result object
190
+ # @yieldparam err [StandardError] error object if request failed
191
+ #
192
+ # @return [Google::Apis::CloudidentityV1::ListUserInvitationsResponse]
193
+ #
194
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
195
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
196
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
197
+ def list_customer_userinvitations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
198
+ command = make_simple_command(:get, 'v1/{+parent}/userinvitations', options)
199
+ command.response_representation = Google::Apis::CloudidentityV1::ListUserInvitationsResponse::Representation
200
+ command.response_class = Google::Apis::CloudidentityV1::ListUserInvitationsResponse
201
+ command.params['parent'] = parent unless parent.nil?
202
+ command.query['filter'] = filter unless filter.nil?
203
+ command.query['orderBy'] = order_by unless order_by.nil?
204
+ command.query['pageSize'] = page_size unless page_size.nil?
205
+ command.query['pageToken'] = page_token unless page_token.nil?
206
+ command.query['fields'] = fields unless fields.nil?
207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
208
+ execute_or_queue_command(command, &block)
209
+ end
210
+
211
+ # Sends a UserInvitation to email. If the `UserInvitation` does not exist for
212
+ # this request and it is a valid request, the request creates a `UserInvitation`.
213
+ # **Note:** The `get` and `list` methods have a 48-hour delay where newly-
214
+ # created consumer accounts will not appear in the results. You can still send a
215
+ # `UserInvitation` to those accounts if you know the unmanaged email address and
216
+ # IsInvitableUser==True.
217
+ # @param [String] name
218
+ # Required. `UserInvitation` name in the format `customers/`customer`/
219
+ # userinvitations/`user_email_address``
220
+ # @param [Google::Apis::CloudidentityV1::SendUserInvitationRequest] send_user_invitation_request_object
221
+ # @param [String] fields
222
+ # Selector specifying which fields to include in a partial response.
223
+ # @param [String] quota_user
224
+ # Available to use for quota purposes for server-side applications. Can be any
225
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
226
+ # @param [Google::Apis::RequestOptions] options
227
+ # Request-specific options
228
+ #
229
+ # @yield [result, err] Result & error if block supplied
230
+ # @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
231
+ # @yieldparam err [StandardError] error object if request failed
232
+ #
233
+ # @return [Google::Apis::CloudidentityV1::Operation]
234
+ #
235
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
236
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
237
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
238
+ def send_userinvitation_user_invitation(name, send_user_invitation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
239
+ command = make_simple_command(:post, 'v1/{+name}:send', options)
240
+ command.request_representation = Google::Apis::CloudidentityV1::SendUserInvitationRequest::Representation
241
+ command.request_object = send_user_invitation_request_object
242
+ command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
243
+ command.response_class = Google::Apis::CloudidentityV1::Operation
244
+ command.params['name'] = name unless name.nil?
245
+ command.query['fields'] = fields unless fields.nil?
246
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
247
+ execute_or_queue_command(command, &block)
248
+ end
249
+
52
250
  # Cancels an unfinished device wipe. This operation can be used to cancel device
53
251
  # wipe in the gap between the wipe operation returning success and the device
54
252
  # being wiped. This operation is possible when the device is in a "pending wipe"
@@ -29,9 +29,6 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # Private Service: https://www.googleapis.com/auth/cloud-identity
33
- AUTH_CLOUD_IDENTITY = 'https://www.googleapis.com/auth/cloud-identity'
34
-
35
32
  # Private Service: https://www.googleapis.com/auth/cloud-identity.devices
36
33
  AUTH_CLOUD_IDENTITY_DEVICES = 'https://www.googleapis.com/auth/cloud-identity.devices'
37
34
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudidentity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.27.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: 2022-06-27 00:00:00.000000000 Z
11
+ date: 2022-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-cloudidentity_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1
63
63
  post_install_message:
64
64
  rdoc_options: []