google-apis-cloudidentity_v1beta1 0.13.0 → 0.17.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/cloudidentity_v1beta1/classes.rb +286 -3
- data/lib/google/apis/cloudidentity_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/cloudidentity_v1beta1/representations.rb +141 -0
- data/lib/google/apis/cloudidentity_v1beta1/service.rb +74 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 507335c12a135d035c2115f25f2a4835c34cad3d781cf4d66a29a31cf1e98d02
|
4
|
+
data.tar.gz: ef239020acb995bef916c2bd2e04028d1125e09d1f939ed2d3ec7e3ec71e905d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9b9281351d3a6ee780ec44d7b35384bf61912ddaf81611cc7b7c937a2de184dcafa5bb019759a245e70860e8221575d822797ed76a1b76b9628cd99a1a11354
|
7
|
+
data.tar.gz: f6ea8ce86e478b116092d4834aa1eeeb37fe47b3e01e5cc577553785b70fbbf64dabae0efcb02841fdd8c5d41c713dd3a74f6a3e81858d35baf5d6ebcb551549
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudidentity_v1beta1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-11-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211102
|
6
|
+
|
7
|
+
### v0.16.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211011
|
10
|
+
|
11
|
+
### v0.15.0 (2021-09-29)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210928
|
14
|
+
|
15
|
+
### v0.14.0 (2021-09-22)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210920
|
18
|
+
|
3
19
|
### v0.13.0 (2021-09-08)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210906
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudidentity service in particular.)
|
67
67
|
|
@@ -212,6 +212,105 @@ module Google
|
|
212
212
|
end
|
213
213
|
end
|
214
214
|
|
215
|
+
# Stores information about a certificate.
|
216
|
+
class CertificateInfo
|
217
|
+
include Google::Apis::Core::Hashable
|
218
|
+
|
219
|
+
# CertificateTemplate (v3 Extension in X.509).
|
220
|
+
# Corresponds to the JSON property `certificateTemplate`
|
221
|
+
# @return [Google::Apis::CloudidentityV1beta1::CertificateTemplate]
|
222
|
+
attr_accessor :certificate_template
|
223
|
+
|
224
|
+
# The encoded certificate fingerprint.
|
225
|
+
# Corresponds to the JSON property `fingerprint`
|
226
|
+
# @return [String]
|
227
|
+
attr_accessor :fingerprint
|
228
|
+
|
229
|
+
# The name of the issuer of this certificate.
|
230
|
+
# Corresponds to the JSON property `issuer`
|
231
|
+
# @return [String]
|
232
|
+
attr_accessor :issuer
|
233
|
+
|
234
|
+
# Serial number of the certificate, Example: "123456789".
|
235
|
+
# Corresponds to the JSON property `serialNumber`
|
236
|
+
# @return [String]
|
237
|
+
attr_accessor :serial_number
|
238
|
+
|
239
|
+
# The subject name of this certificate.
|
240
|
+
# Corresponds to the JSON property `subject`
|
241
|
+
# @return [String]
|
242
|
+
attr_accessor :subject
|
243
|
+
|
244
|
+
# The certificate thumbprint.
|
245
|
+
# Corresponds to the JSON property `thumbprint`
|
246
|
+
# @return [String]
|
247
|
+
attr_accessor :thumbprint
|
248
|
+
|
249
|
+
# Validation state of this certificate.
|
250
|
+
# Corresponds to the JSON property `validationState`
|
251
|
+
# @return [String]
|
252
|
+
attr_accessor :validation_state
|
253
|
+
|
254
|
+
# Certificate not valid at or after this timestamp.
|
255
|
+
# Corresponds to the JSON property `validityExpirationTime`
|
256
|
+
# @return [String]
|
257
|
+
attr_accessor :validity_expiration_time
|
258
|
+
|
259
|
+
# Certificate not valid before this timestamp.
|
260
|
+
# Corresponds to the JSON property `validityStartTime`
|
261
|
+
# @return [String]
|
262
|
+
attr_accessor :validity_start_time
|
263
|
+
|
264
|
+
def initialize(**args)
|
265
|
+
update!(**args)
|
266
|
+
end
|
267
|
+
|
268
|
+
# Update properties of this object
|
269
|
+
def update!(**args)
|
270
|
+
@certificate_template = args[:certificate_template] if args.key?(:certificate_template)
|
271
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
272
|
+
@issuer = args[:issuer] if args.key?(:issuer)
|
273
|
+
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
274
|
+
@subject = args[:subject] if args.key?(:subject)
|
275
|
+
@thumbprint = args[:thumbprint] if args.key?(:thumbprint)
|
276
|
+
@validation_state = args[:validation_state] if args.key?(:validation_state)
|
277
|
+
@validity_expiration_time = args[:validity_expiration_time] if args.key?(:validity_expiration_time)
|
278
|
+
@validity_start_time = args[:validity_start_time] if args.key?(:validity_start_time)
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
# CertificateTemplate (v3 Extension in X.509).
|
283
|
+
class CertificateTemplate
|
284
|
+
include Google::Apis::Core::Hashable
|
285
|
+
|
286
|
+
# The template id of the template. Example: "1.3.6.1.4.1.311.21.8.15608621.
|
287
|
+
# 11768144.5720724.16068415.6889630.81.2472537.7784047".
|
288
|
+
# Corresponds to the JSON property `id`
|
289
|
+
# @return [String]
|
290
|
+
attr_accessor :id
|
291
|
+
|
292
|
+
# The Major version of the template. Example: 100.
|
293
|
+
# Corresponds to the JSON property `majorVersion`
|
294
|
+
# @return [Fixnum]
|
295
|
+
attr_accessor :major_version
|
296
|
+
|
297
|
+
# The minor version of the template. Example: 12.
|
298
|
+
# Corresponds to the JSON property `minorVersion`
|
299
|
+
# @return [Fixnum]
|
300
|
+
attr_accessor :minor_version
|
301
|
+
|
302
|
+
def initialize(**args)
|
303
|
+
update!(**args)
|
304
|
+
end
|
305
|
+
|
306
|
+
# Update properties of this object
|
307
|
+
def update!(**args)
|
308
|
+
@id = args[:id] if args.key?(:id)
|
309
|
+
@major_version = args[:major_version] if args.key?(:major_version)
|
310
|
+
@minor_version = args[:minor_version] if args.key?(:minor_version)
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
215
314
|
# The response message for MembershipsService.CheckTransitiveMembership.
|
216
315
|
class CheckTransitiveMembershipResponse
|
217
316
|
include Google::Apis::Core::Hashable
|
@@ -450,6 +549,12 @@ module Google
|
|
450
549
|
# @return [String]
|
451
550
|
attr_accessor :encryption_state
|
452
551
|
|
552
|
+
# Resource representing the Endpoint Verification-specific attributes of a
|
553
|
+
# Device.
|
554
|
+
# Corresponds to the JSON property `endpointVerificationSpecificAttributes`
|
555
|
+
# @return [Google::Apis::CloudidentityV1beta1::EndpointVerificationSpecificAttributes]
|
556
|
+
attr_accessor :endpoint_verification_specific_attributes
|
557
|
+
|
453
558
|
# Output only. IMEI number of device if GSM device; empty otherwise.
|
454
559
|
# Corresponds to the JSON property `imei`
|
455
560
|
# @return [String]
|
@@ -554,6 +659,7 @@ module Google
|
|
554
659
|
@enabled_developer_options = args[:enabled_developer_options] if args.key?(:enabled_developer_options)
|
555
660
|
@enabled_usb_debugging = args[:enabled_usb_debugging] if args.key?(:enabled_usb_debugging)
|
556
661
|
@encryption_state = args[:encryption_state] if args.key?(:encryption_state)
|
662
|
+
@endpoint_verification_specific_attributes = args[:endpoint_verification_specific_attributes] if args.key?(:endpoint_verification_specific_attributes)
|
557
663
|
@imei = args[:imei] if args.key?(:imei)
|
558
664
|
@kernel_version = args[:kernel_version] if args.key?(:kernel_version)
|
559
665
|
@last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
|
@@ -684,7 +790,10 @@ module Google
|
|
684
790
|
# users with at least one `organizations.department` of engineering. `user.
|
685
791
|
# organizations.exists(org, org.department=='engineering')` All users with at
|
686
792
|
# least one location that has `area` of `foo` and `building_id` of `bar`. `user.
|
687
|
-
# locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')`
|
793
|
+
# locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')` All users
|
794
|
+
# with any variation of the name John Doe (case-insensitive queries add `
|
795
|
+
# equalsIgnoreCase()` to the value being queried). `user.name.value.
|
796
|
+
# equalsIgnoreCase('jOhn DoE')`
|
688
797
|
# Corresponds to the JSON property `query`
|
689
798
|
# @return [String]
|
690
799
|
attr_accessor :query
|
@@ -733,6 +842,26 @@ module Google
|
|
733
842
|
end
|
734
843
|
end
|
735
844
|
|
845
|
+
# Resource representing the Endpoint Verification-specific attributes of a
|
846
|
+
# Device.
|
847
|
+
class EndpointVerificationSpecificAttributes
|
848
|
+
include Google::Apis::Core::Hashable
|
849
|
+
|
850
|
+
# Details of certificates.
|
851
|
+
# Corresponds to the JSON property `certificateInfo`
|
852
|
+
# @return [Array<Google::Apis::CloudidentityV1beta1::CertificateInfo>]
|
853
|
+
attr_accessor :certificate_info
|
854
|
+
|
855
|
+
def initialize(**args)
|
856
|
+
update!(**args)
|
857
|
+
end
|
858
|
+
|
859
|
+
# Update properties of this object
|
860
|
+
def update!(**args)
|
861
|
+
@certificate_info = args[:certificate_info] if args.key?(:certificate_info)
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
736
865
|
# A unique identifier for an entity in the Cloud Identity Groups API. An entity
|
737
866
|
# can represent either a group with an optional `namespace` or a user without a `
|
738
867
|
# namespace`. The combination of `id` and `namespace` must be unique; however,
|
@@ -787,6 +916,32 @@ module Google
|
|
787
916
|
end
|
788
917
|
end
|
789
918
|
|
919
|
+
# Message containing first admin invitation info for customers
|
920
|
+
class FirstAdminInvitationInfo
|
921
|
+
include Google::Apis::Core::Hashable
|
922
|
+
|
923
|
+
# Optional. To enable First Admin Invitation for Domained Customer
|
924
|
+
# Corresponds to the JSON property `isFirstAdmin`
|
925
|
+
# @return [Boolean]
|
926
|
+
attr_accessor :is_first_admin
|
927
|
+
alias_method :is_first_admin?, :is_first_admin
|
928
|
+
|
929
|
+
# Optional. Domain information of first admin invited
|
930
|
+
# Corresponds to the JSON property `primaryDomain`
|
931
|
+
# @return [String]
|
932
|
+
attr_accessor :primary_domain
|
933
|
+
|
934
|
+
def initialize(**args)
|
935
|
+
update!(**args)
|
936
|
+
end
|
937
|
+
|
938
|
+
# Update properties of this object
|
939
|
+
def update!(**args)
|
940
|
+
@is_first_admin = args[:is_first_admin] if args.key?(:is_first_admin)
|
941
|
+
@primary_domain = args[:primary_domain] if args.key?(:primary_domain)
|
942
|
+
end
|
943
|
+
end
|
944
|
+
|
790
945
|
# The response message for MembershipsService.GetMembershipGraph.
|
791
946
|
class GetMembershipGraphResponse
|
792
947
|
include Google::Apis::Core::Hashable
|
@@ -1973,7 +2128,7 @@ module Google
|
|
1973
2128
|
# @return [Array<Google::Apis::CloudidentityV1beta1::EntityKey>]
|
1974
2129
|
attr_accessor :preferred_member_key
|
1975
2130
|
|
1976
|
-
# The relation between the group and the transitive
|
2131
|
+
# The relation between the group and the transitive membership.
|
1977
2132
|
# Corresponds to the JSON property `relationType`
|
1978
2133
|
# @return [String]
|
1979
2134
|
attr_accessor :relation_type
|
@@ -1996,6 +2151,39 @@ module Google
|
|
1996
2151
|
end
|
1997
2152
|
end
|
1998
2153
|
|
2154
|
+
# The definition of MemberRestriction
|
2155
|
+
class MemberRestriction
|
2156
|
+
include Google::Apis::Core::Hashable
|
2157
|
+
|
2158
|
+
# The evaluated state of this restriction.
|
2159
|
+
# Corresponds to the JSON property `evaluation`
|
2160
|
+
# @return [Google::Apis::CloudidentityV1beta1::RestrictionEvaluation]
|
2161
|
+
attr_accessor :evaluation
|
2162
|
+
|
2163
|
+
# Member Restriction as defined by CEL expression. Supported restrictions are: `
|
2164
|
+
# member.customer_id` and `member.type`. Valid values for `member.type` are `1`,
|
2165
|
+
# `2` and `3`. They correspond to USER, SERVICE_ACCOUNT, and GROUP respectively.
|
2166
|
+
# The value for `member.customer_id` only supports `groupCustomerId()` currently
|
2167
|
+
# which means the customer id of the group will be used for restriction.
|
2168
|
+
# Supported operators are `&&`, `||` and `==`, corresponding to AND, OR, and
|
2169
|
+
# EQUAL. Examples: Allow only service accounts of given customer to be members. `
|
2170
|
+
# member.type == 2 && member.customer_id == groupCustomerId()` Allow only users
|
2171
|
+
# or groups to be members. `member.type == 1 || member.type == 3`
|
2172
|
+
# Corresponds to the JSON property `query`
|
2173
|
+
# @return [String]
|
2174
|
+
attr_accessor :query
|
2175
|
+
|
2176
|
+
def initialize(**args)
|
2177
|
+
update!(**args)
|
2178
|
+
end
|
2179
|
+
|
2180
|
+
# Update properties of this object
|
2181
|
+
def update!(**args)
|
2182
|
+
@evaluation = args[:evaluation] if args.key?(:evaluation)
|
2183
|
+
@query = args[:query] if args.key?(:query)
|
2184
|
+
end
|
2185
|
+
end
|
2186
|
+
|
1999
2187
|
# A membership within the Cloud Identity Groups API. A `Membership` defines a
|
2000
2188
|
# relationship between a `Group` and an entity belonging to that `Group`,
|
2001
2189
|
# referred to as a "member".
|
@@ -2106,6 +2294,11 @@ module Google
|
|
2106
2294
|
# @return [String]
|
2107
2295
|
attr_accessor :name
|
2108
2296
|
|
2297
|
+
# Evaluations of restrictions applied to parent group on this membership.
|
2298
|
+
# Corresponds to the JSON property `restrictionEvaluations`
|
2299
|
+
# @return [Google::Apis::CloudidentityV1beta1::RestrictionEvaluations]
|
2300
|
+
attr_accessor :restriction_evaluations
|
2301
|
+
|
2109
2302
|
def initialize(**args)
|
2110
2303
|
update!(**args)
|
2111
2304
|
end
|
@@ -2114,6 +2307,26 @@ module Google
|
|
2114
2307
|
def update!(**args)
|
2115
2308
|
@expiry_detail = args[:expiry_detail] if args.key?(:expiry_detail)
|
2116
2309
|
@name = args[:name] if args.key?(:name)
|
2310
|
+
@restriction_evaluations = args[:restriction_evaluations] if args.key?(:restriction_evaluations)
|
2311
|
+
end
|
2312
|
+
end
|
2313
|
+
|
2314
|
+
# The evaluated state of this restriction.
|
2315
|
+
class MembershipRoleRestrictionEvaluation
|
2316
|
+
include Google::Apis::Core::Hashable
|
2317
|
+
|
2318
|
+
# Output only. The current state of the restriction
|
2319
|
+
# Corresponds to the JSON property `state`
|
2320
|
+
# @return [String]
|
2321
|
+
attr_accessor :state
|
2322
|
+
|
2323
|
+
def initialize(**args)
|
2324
|
+
update!(**args)
|
2325
|
+
end
|
2326
|
+
|
2327
|
+
# Update properties of this object
|
2328
|
+
def update!(**args)
|
2329
|
+
@state = args[:state] if args.key?(:state)
|
2117
2330
|
end
|
2118
2331
|
end
|
2119
2332
|
|
@@ -2271,6 +2484,44 @@ module Google
|
|
2271
2484
|
end
|
2272
2485
|
end
|
2273
2486
|
|
2487
|
+
# The evaluated state of this restriction.
|
2488
|
+
class RestrictionEvaluation
|
2489
|
+
include Google::Apis::Core::Hashable
|
2490
|
+
|
2491
|
+
# Output only. The current state of the restriction
|
2492
|
+
# Corresponds to the JSON property `state`
|
2493
|
+
# @return [String]
|
2494
|
+
attr_accessor :state
|
2495
|
+
|
2496
|
+
def initialize(**args)
|
2497
|
+
update!(**args)
|
2498
|
+
end
|
2499
|
+
|
2500
|
+
# Update properties of this object
|
2501
|
+
def update!(**args)
|
2502
|
+
@state = args[:state] if args.key?(:state)
|
2503
|
+
end
|
2504
|
+
end
|
2505
|
+
|
2506
|
+
# Evaluations of restrictions applied to parent group on this membership.
|
2507
|
+
class RestrictionEvaluations
|
2508
|
+
include Google::Apis::Core::Hashable
|
2509
|
+
|
2510
|
+
# The evaluated state of this restriction.
|
2511
|
+
# Corresponds to the JSON property `memberRestrictionEvaluation`
|
2512
|
+
# @return [Google::Apis::CloudidentityV1beta1::MembershipRoleRestrictionEvaluation]
|
2513
|
+
attr_accessor :member_restriction_evaluation
|
2514
|
+
|
2515
|
+
def initialize(**args)
|
2516
|
+
update!(**args)
|
2517
|
+
end
|
2518
|
+
|
2519
|
+
# Update properties of this object
|
2520
|
+
def update!(**args)
|
2521
|
+
@member_restriction_evaluation = args[:member_restriction_evaluation] if args.key?(:member_restriction_evaluation)
|
2522
|
+
end
|
2523
|
+
end
|
2524
|
+
|
2274
2525
|
# The response message for GroupsService.SearchGroups.
|
2275
2526
|
class SearchGroupsResponse
|
2276
2527
|
include Google::Apis::Core::Hashable
|
@@ -2327,7 +2578,7 @@ module Google
|
|
2327
2578
|
class SearchTransitiveMembershipsResponse
|
2328
2579
|
include Google::Apis::Core::Hashable
|
2329
2580
|
|
2330
|
-
# List of transitive
|
2581
|
+
# List of transitive memberships satisfying the query.
|
2331
2582
|
# Corresponds to the JSON property `memberships`
|
2332
2583
|
# @return [Array<Google::Apis::CloudidentityV1beta1::MemberRelation>]
|
2333
2584
|
attr_accessor :memberships
|
@@ -2349,17 +2600,49 @@ module Google
|
|
2349
2600
|
end
|
2350
2601
|
end
|
2351
2602
|
|
2603
|
+
# The definiion of security settings.
|
2604
|
+
class SecuritySettings
|
2605
|
+
include Google::Apis::Core::Hashable
|
2606
|
+
|
2607
|
+
# The definition of MemberRestriction
|
2608
|
+
# Corresponds to the JSON property `memberRestriction`
|
2609
|
+
# @return [Google::Apis::CloudidentityV1beta1::MemberRestriction]
|
2610
|
+
attr_accessor :member_restriction
|
2611
|
+
|
2612
|
+
# Output only. The resource name of the security settings. Shall be of the form `
|
2613
|
+
# groups/`group_id`/securitySettings`.
|
2614
|
+
# Corresponds to the JSON property `name`
|
2615
|
+
# @return [String]
|
2616
|
+
attr_accessor :name
|
2617
|
+
|
2618
|
+
def initialize(**args)
|
2619
|
+
update!(**args)
|
2620
|
+
end
|
2621
|
+
|
2622
|
+
# Update properties of this object
|
2623
|
+
def update!(**args)
|
2624
|
+
@member_restriction = args[:member_restriction] if args.key?(:member_restriction)
|
2625
|
+
@name = args[:name] if args.key?(:name)
|
2626
|
+
end
|
2627
|
+
end
|
2628
|
+
|
2352
2629
|
# A request to send email for inviting target user corresponding to the
|
2353
2630
|
# UserInvitation.
|
2354
2631
|
class SendUserInvitationRequest
|
2355
2632
|
include Google::Apis::Core::Hashable
|
2356
2633
|
|
2634
|
+
# Message containing first admin invitation info for customers
|
2635
|
+
# Corresponds to the JSON property `firstAdminInvitationInfo`
|
2636
|
+
# @return [Google::Apis::CloudidentityV1beta1::FirstAdminInvitationInfo]
|
2637
|
+
attr_accessor :first_admin_invitation_info
|
2638
|
+
|
2357
2639
|
def initialize(**args)
|
2358
2640
|
update!(**args)
|
2359
2641
|
end
|
2360
2642
|
|
2361
2643
|
# Update properties of this object
|
2362
2644
|
def update!(**args)
|
2645
|
+
@first_admin_invitation_info = args[:first_admin_invitation_info] if args.key?(:first_admin_invitation_info)
|
2363
2646
|
end
|
2364
2647
|
end
|
2365
2648
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudidentityV1beta1
|
18
18
|
# Version of the google-apis-cloudidentity_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211102"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,18 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class CertificateInfo
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class CertificateTemplate
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class CheckTransitiveMembershipResponse
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
@@ -136,6 +148,12 @@ module Google
|
|
136
148
|
include Google::Apis::Core::JsonObjectSupport
|
137
149
|
end
|
138
150
|
|
151
|
+
class EndpointVerificationSpecificAttributes
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
139
157
|
class EntityKey
|
140
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
159
|
|
@@ -148,6 +166,12 @@ module Google
|
|
148
166
|
include Google::Apis::Core::JsonObjectSupport
|
149
167
|
end
|
150
168
|
|
169
|
+
class FirstAdminInvitationInfo
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
151
175
|
class GetMembershipGraphResponse
|
152
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
177
|
|
@@ -376,6 +400,12 @@ module Google
|
|
376
400
|
include Google::Apis::Core::JsonObjectSupport
|
377
401
|
end
|
378
402
|
|
403
|
+
class MemberRestriction
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
379
409
|
class Membership
|
380
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
411
|
|
@@ -394,6 +424,12 @@ module Google
|
|
394
424
|
include Google::Apis::Core::JsonObjectSupport
|
395
425
|
end
|
396
426
|
|
427
|
+
class MembershipRoleRestrictionEvaluation
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
397
433
|
class ModifyMembershipRolesRequest
|
398
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
435
|
|
@@ -418,6 +454,18 @@ module Google
|
|
418
454
|
include Google::Apis::Core::JsonObjectSupport
|
419
455
|
end
|
420
456
|
|
457
|
+
class RestrictionEvaluation
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class RestrictionEvaluations
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
421
469
|
class SearchGroupsResponse
|
422
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
471
|
|
@@ -436,6 +484,12 @@ module Google
|
|
436
484
|
include Google::Apis::Core::JsonObjectSupport
|
437
485
|
end
|
438
486
|
|
487
|
+
class SecuritySettings
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
439
493
|
class SendUserInvitationRequest
|
440
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
495
|
|
@@ -562,6 +616,31 @@ module Google
|
|
562
616
|
end
|
563
617
|
end
|
564
618
|
|
619
|
+
class CertificateInfo
|
620
|
+
# @private
|
621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
622
|
+
property :certificate_template, as: 'certificateTemplate', class: Google::Apis::CloudidentityV1beta1::CertificateTemplate, decorator: Google::Apis::CloudidentityV1beta1::CertificateTemplate::Representation
|
623
|
+
|
624
|
+
property :fingerprint, as: 'fingerprint'
|
625
|
+
property :issuer, as: 'issuer'
|
626
|
+
property :serial_number, as: 'serialNumber'
|
627
|
+
property :subject, as: 'subject'
|
628
|
+
property :thumbprint, as: 'thumbprint'
|
629
|
+
property :validation_state, as: 'validationState'
|
630
|
+
property :validity_expiration_time, as: 'validityExpirationTime'
|
631
|
+
property :validity_start_time, as: 'validityStartTime'
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
635
|
+
class CertificateTemplate
|
636
|
+
# @private
|
637
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
638
|
+
property :id, as: 'id'
|
639
|
+
property :major_version, as: 'majorVersion'
|
640
|
+
property :minor_version, as: 'minorVersion'
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
565
644
|
class CheckTransitiveMembershipResponse
|
566
645
|
# @private
|
567
646
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -621,6 +700,8 @@ module Google
|
|
621
700
|
property :enabled_developer_options, as: 'enabledDeveloperOptions'
|
622
701
|
property :enabled_usb_debugging, as: 'enabledUsbDebugging'
|
623
702
|
property :encryption_state, as: 'encryptionState'
|
703
|
+
property :endpoint_verification_specific_attributes, as: 'endpointVerificationSpecificAttributes', class: Google::Apis::CloudidentityV1beta1::EndpointVerificationSpecificAttributes, decorator: Google::Apis::CloudidentityV1beta1::EndpointVerificationSpecificAttributes::Representation
|
704
|
+
|
624
705
|
property :imei, as: 'imei'
|
625
706
|
property :kernel_version, as: 'kernelVersion'
|
626
707
|
property :last_sync_time, as: 'lastSyncTime'
|
@@ -682,6 +763,14 @@ module Google
|
|
682
763
|
end
|
683
764
|
end
|
684
765
|
|
766
|
+
class EndpointVerificationSpecificAttributes
|
767
|
+
# @private
|
768
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
769
|
+
collection :certificate_info, as: 'certificateInfo', class: Google::Apis::CloudidentityV1beta1::CertificateInfo, decorator: Google::Apis::CloudidentityV1beta1::CertificateInfo::Representation
|
770
|
+
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
685
774
|
class EntityKey
|
686
775
|
# @private
|
687
776
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -697,6 +786,14 @@ module Google
|
|
697
786
|
end
|
698
787
|
end
|
699
788
|
|
789
|
+
class FirstAdminInvitationInfo
|
790
|
+
# @private
|
791
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
792
|
+
property :is_first_admin, as: 'isFirstAdmin'
|
793
|
+
property :primary_domain, as: 'primaryDomain'
|
794
|
+
end
|
795
|
+
end
|
796
|
+
|
700
797
|
class GetMembershipGraphResponse
|
701
798
|
# @private
|
702
799
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1053,6 +1150,15 @@ module Google
|
|
1053
1150
|
end
|
1054
1151
|
end
|
1055
1152
|
|
1153
|
+
class MemberRestriction
|
1154
|
+
# @private
|
1155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1156
|
+
property :evaluation, as: 'evaluation', class: Google::Apis::CloudidentityV1beta1::RestrictionEvaluation, decorator: Google::Apis::CloudidentityV1beta1::RestrictionEvaluation::Representation
|
1157
|
+
|
1158
|
+
property :query, as: 'query'
|
1159
|
+
end
|
1160
|
+
end
|
1161
|
+
|
1056
1162
|
class Membership
|
1057
1163
|
# @private
|
1058
1164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1084,6 +1190,15 @@ module Google
|
|
1084
1190
|
property :expiry_detail, as: 'expiryDetail', class: Google::Apis::CloudidentityV1beta1::ExpiryDetail, decorator: Google::Apis::CloudidentityV1beta1::ExpiryDetail::Representation
|
1085
1191
|
|
1086
1192
|
property :name, as: 'name'
|
1193
|
+
property :restriction_evaluations, as: 'restrictionEvaluations', class: Google::Apis::CloudidentityV1beta1::RestrictionEvaluations, decorator: Google::Apis::CloudidentityV1beta1::RestrictionEvaluations::Representation
|
1194
|
+
|
1195
|
+
end
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
class MembershipRoleRestrictionEvaluation
|
1199
|
+
# @private
|
1200
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1201
|
+
property :state, as: 'state'
|
1087
1202
|
end
|
1088
1203
|
end
|
1089
1204
|
|
@@ -1127,6 +1242,21 @@ module Google
|
|
1127
1242
|
end
|
1128
1243
|
end
|
1129
1244
|
|
1245
|
+
class RestrictionEvaluation
|
1246
|
+
# @private
|
1247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1248
|
+
property :state, as: 'state'
|
1249
|
+
end
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
class RestrictionEvaluations
|
1253
|
+
# @private
|
1254
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1255
|
+
property :member_restriction_evaluation, as: 'memberRestrictionEvaluation', class: Google::Apis::CloudidentityV1beta1::MembershipRoleRestrictionEvaluation, decorator: Google::Apis::CloudidentityV1beta1::MembershipRoleRestrictionEvaluation::Representation
|
1256
|
+
|
1257
|
+
end
|
1258
|
+
end
|
1259
|
+
|
1130
1260
|
class SearchGroupsResponse
|
1131
1261
|
# @private
|
1132
1262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1154,9 +1284,20 @@ module Google
|
|
1154
1284
|
end
|
1155
1285
|
end
|
1156
1286
|
|
1287
|
+
class SecuritySettings
|
1288
|
+
# @private
|
1289
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1290
|
+
property :member_restriction, as: 'memberRestriction', class: Google::Apis::CloudidentityV1beta1::MemberRestriction, decorator: Google::Apis::CloudidentityV1beta1::MemberRestriction::Representation
|
1291
|
+
|
1292
|
+
property :name, as: 'name'
|
1293
|
+
end
|
1294
|
+
end
|
1295
|
+
|
1157
1296
|
class SendUserInvitationRequest
|
1158
1297
|
# @private
|
1159
1298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1299
|
+
property :first_admin_invitation_info, as: 'firstAdminInvitationInfo', class: Google::Apis::CloudidentityV1beta1::FirstAdminInvitationInfo, decorator: Google::Apis::CloudidentityV1beta1::FirstAdminInvitationInfo::Representation
|
1300
|
+
|
1160
1301
|
end
|
1161
1302
|
end
|
1162
1303
|
|
@@ -999,6 +999,42 @@ module Google
|
|
999
999
|
execute_or_queue_command(command, &block)
|
1000
1000
|
end
|
1001
1001
|
|
1002
|
+
# Get Security Settings
|
1003
|
+
# @param [String] name
|
1004
|
+
# Required. The security settings to retrieve. Format: `groups/`group_id`/
|
1005
|
+
# securitySettings`
|
1006
|
+
# @param [String] read_mask
|
1007
|
+
# Field-level read mask of which fields to return. "*" returns all fields. If
|
1008
|
+
# not specified, all fields will be returned. May only contain the following
|
1009
|
+
# field: `member_restriction`.
|
1010
|
+
# @param [String] fields
|
1011
|
+
# Selector specifying which fields to include in a partial response.
|
1012
|
+
# @param [String] quota_user
|
1013
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1014
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1015
|
+
# @param [Google::Apis::RequestOptions] options
|
1016
|
+
# Request-specific options
|
1017
|
+
#
|
1018
|
+
# @yield [result, err] Result & error if block supplied
|
1019
|
+
# @yieldparam result [Google::Apis::CloudidentityV1beta1::SecuritySettings] parsed result object
|
1020
|
+
# @yieldparam err [StandardError] error object if request failed
|
1021
|
+
#
|
1022
|
+
# @return [Google::Apis::CloudidentityV1beta1::SecuritySettings]
|
1023
|
+
#
|
1024
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1025
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1026
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1027
|
+
def get_group_security_settings(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1028
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1029
|
+
command.response_representation = Google::Apis::CloudidentityV1beta1::SecuritySettings::Representation
|
1030
|
+
command.response_class = Google::Apis::CloudidentityV1beta1::SecuritySettings
|
1031
|
+
command.params['name'] = name unless name.nil?
|
1032
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
1033
|
+
command.query['fields'] = fields unless fields.nil?
|
1034
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1035
|
+
execute_or_queue_command(command, &block)
|
1036
|
+
end
|
1037
|
+
|
1002
1038
|
# Lists the `Group` resources under a customer or namespace.
|
1003
1039
|
# @param [Fixnum] page_size
|
1004
1040
|
# The maximum number of results to return. Note that the number of results
|
@@ -1174,6 +1210,44 @@ module Google
|
|
1174
1210
|
execute_or_queue_command(command, &block)
|
1175
1211
|
end
|
1176
1212
|
|
1213
|
+
# Update Security Settings
|
1214
|
+
# @param [String] name
|
1215
|
+
# Output only. The resource name of the security settings. Shall be of the form `
|
1216
|
+
# groups/`group_id`/securitySettings`.
|
1217
|
+
# @param [Google::Apis::CloudidentityV1beta1::SecuritySettings] security_settings_object
|
1218
|
+
# @param [String] update_mask
|
1219
|
+
# Required. The fully-qualified names of fields to update. May only contain the
|
1220
|
+
# following field: `member_restriction.query`.
|
1221
|
+
# @param [String] fields
|
1222
|
+
# Selector specifying which fields to include in a partial response.
|
1223
|
+
# @param [String] quota_user
|
1224
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1225
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1226
|
+
# @param [Google::Apis::RequestOptions] options
|
1227
|
+
# Request-specific options
|
1228
|
+
#
|
1229
|
+
# @yield [result, err] Result & error if block supplied
|
1230
|
+
# @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
|
1231
|
+
# @yieldparam err [StandardError] error object if request failed
|
1232
|
+
#
|
1233
|
+
# @return [Google::Apis::CloudidentityV1beta1::Operation]
|
1234
|
+
#
|
1235
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1236
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1237
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1238
|
+
def update_group_security_settings(name, security_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1239
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1240
|
+
command.request_representation = Google::Apis::CloudidentityV1beta1::SecuritySettings::Representation
|
1241
|
+
command.request_object = security_settings_object
|
1242
|
+
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
|
1243
|
+
command.response_class = Google::Apis::CloudidentityV1beta1::Operation
|
1244
|
+
command.params['name'] = name unless name.nil?
|
1245
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1246
|
+
command.query['fields'] = fields unless fields.nil?
|
1247
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1248
|
+
execute_or_queue_command(command, &block)
|
1249
|
+
end
|
1250
|
+
|
1177
1251
|
# Check a potential member for membership in a group. **Note:** This feature is
|
1178
1252
|
# only available to Google Workspace Enterprise Standard, Enterprise Plus, and
|
1179
1253
|
# Enterprise for Education; and Cloud Identity Premium accounts. A member has
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudidentity_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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: 2021-
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.17.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|