google-apis-cloudidentity_v1beta1 0.48.0 → 0.50.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 +9 -0
- data/lib/google/apis/cloudidentity_v1beta1/classes.rb +229 -26
- data/lib/google/apis/cloudidentity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/cloudidentity_v1beta1/representations.rb +67 -0
- data/lib/google/apis/cloudidentity_v1beta1/service.rb +103 -8
- data/lib/google/apis/cloudidentity_v1beta1.rb +12 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e68c1209243ca0befef180de873fb134566da32256be450af31bb2aa6fc0959f
|
4
|
+
data.tar.gz: 503ae634f4c4b754174a7004f018458a947bf0441631af06db48f13dd1b567d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef9286832b3bdc18d0128759b11af0c4bc6aff2899691e5821fe759b3f6a1cc9e9757c3969eee8c68bc1feb5da989e4965143db4c1cbee2fec66df08c91200ba
|
7
|
+
data.tar.gz: fb9985ae046c3af223d539a59dea8051ea933d6e0f50855864ac58d71d75e6a397471d6f3cb0f4fac7acbace8edf96fae18705b450c819552154f9c875d90e0c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-cloudidentity_v1beta1
|
2
2
|
|
3
|
+
### v0.50.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241126
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.49.0 (2024-06-16)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240611
|
11
|
+
|
3
12
|
### v0.48.0 (2024-05-19)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240507
|
@@ -26,12 +26,20 @@ module Google
|
|
26
26
|
class AddIdpCredentialOperationMetadata
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
+
# State of this Operation Will be "awaiting-multi-party-approval" when the
|
30
|
+
# operation is deferred due to the target customer having enabled [Multi-party
|
31
|
+
# approval for sensitive actions](https://support.google.com/a/answer/13790448).
|
32
|
+
# Corresponds to the JSON property `state`
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :state
|
35
|
+
|
29
36
|
def initialize(**args)
|
30
37
|
update!(**args)
|
31
38
|
end
|
32
39
|
|
33
40
|
# Update properties of this object
|
34
41
|
def update!(**args)
|
42
|
+
@state = args[:state] if args.key?(:state)
|
35
43
|
end
|
36
44
|
end
|
37
45
|
|
@@ -214,13 +222,15 @@ module Google
|
|
214
222
|
end
|
215
223
|
end
|
216
224
|
|
217
|
-
# Contains information about browser profiles reported by the Endpoint
|
218
|
-
# Verification extension.
|
225
|
+
# Contains information about browser profiles reported by the [Endpoint
|
226
|
+
# Verification extension](https://chromewebstore.google.com/detail/endpoint-
|
227
|
+
# verification/callobklhcbilhphinckomhgkigmfocg?pli=1).
|
219
228
|
class BrowserAttributes
|
220
229
|
include Google::Apis::Core::Hashable
|
221
230
|
|
222
|
-
# Browser-specific fields reported by the Endpoint Verification extension
|
223
|
-
#
|
231
|
+
# Browser-specific fields reported by the [Endpoint Verification extension](
|
232
|
+
# https://chromewebstore.google.com/detail/endpoint-verification/
|
233
|
+
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
224
234
|
# Corresponds to the JSON property `chromeBrowserInfo`
|
225
235
|
# @return [Google::Apis::CloudidentityV1beta1::BrowserInfo]
|
226
236
|
attr_accessor :chrome_browser_info
|
@@ -231,7 +241,8 @@ module Google
|
|
231
241
|
# @return [String]
|
232
242
|
attr_accessor :chrome_profile_id
|
233
243
|
|
234
|
-
# Timestamp in milliseconds since
|
244
|
+
# Timestamp in milliseconds since the Unix epoch when the profile/gcm id was
|
245
|
+
# last synced.
|
235
246
|
# Corresponds to the JSON property `lastProfileSyncTime`
|
236
247
|
# @return [String]
|
237
248
|
attr_accessor :last_profile_sync_time
|
@@ -248,8 +259,9 @@ module Google
|
|
248
259
|
end
|
249
260
|
end
|
250
261
|
|
251
|
-
# Browser-specific fields reported by the Endpoint Verification extension
|
252
|
-
#
|
262
|
+
# Browser-specific fields reported by the [Endpoint Verification extension](
|
263
|
+
# https://chromewebstore.google.com/detail/endpoint-verification/
|
264
|
+
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
253
265
|
class BrowserInfo
|
254
266
|
include Google::Apis::Core::Hashable
|
255
267
|
|
@@ -258,7 +270,7 @@ module Google
|
|
258
270
|
# @return [String]
|
259
271
|
attr_accessor :browser_management_state
|
260
272
|
|
261
|
-
# Version of the request initiating browser.
|
273
|
+
# Version of the request initiating browser. E.g. `91.0.4442.4`.
|
262
274
|
# Corresponds to the JSON property `browserVersion`
|
263
275
|
# @return [String]
|
264
276
|
attr_accessor :browser_version
|
@@ -415,7 +427,10 @@ module Google
|
|
415
427
|
|
416
428
|
# A Device within the Cloud Identity Devices API. Represents a Device known to
|
417
429
|
# Google Cloud, independent of the device ownership, type, and whether it is
|
418
|
-
# assigned or in use by a user.
|
430
|
+
# assigned or in use by a user. Important: Device API scopes require that you
|
431
|
+
# use domain-wide delegation to access the API. For more information, see [Set
|
432
|
+
# up the Devices API](https://cloud.google.com/identity/docs/how-to/setup-
|
433
|
+
# devices).
|
419
434
|
# Corresponds to the JSON property `device`
|
420
435
|
# @return [Google::Apis::CloudidentityV1beta1::Device]
|
421
436
|
attr_accessor :device
|
@@ -703,7 +718,10 @@ module Google
|
|
703
718
|
|
704
719
|
# A Device within the Cloud Identity Devices API. Represents a Device known to
|
705
720
|
# Google Cloud, independent of the device ownership, type, and whether it is
|
706
|
-
# assigned or in use by a user.
|
721
|
+
# assigned or in use by a user. Important: Device API scopes require that you
|
722
|
+
# use domain-wide delegation to access the API. For more information, see [Set
|
723
|
+
# up the Devices API](https://cloud.google.com/identity/docs/how-to/setup-
|
724
|
+
# devices).
|
707
725
|
# Corresponds to the JSON property `device`
|
708
726
|
# @return [Google::Apis::CloudidentityV1beta1::Device]
|
709
727
|
attr_accessor :device
|
@@ -724,12 +742,20 @@ module Google
|
|
724
742
|
class CreateInboundSamlSsoProfileOperationMetadata
|
725
743
|
include Google::Apis::Core::Hashable
|
726
744
|
|
745
|
+
# State of this Operation Will be "awaiting-multi-party-approval" when the
|
746
|
+
# operation is deferred due to the target customer having enabled [Multi-party
|
747
|
+
# approval for sensitive actions](https://support.google.com/a/answer/13790448).
|
748
|
+
# Corresponds to the JSON property `state`
|
749
|
+
# @return [String]
|
750
|
+
attr_accessor :state
|
751
|
+
|
727
752
|
def initialize(**args)
|
728
753
|
update!(**args)
|
729
754
|
end
|
730
755
|
|
731
756
|
# Update properties of this object
|
732
757
|
def update!(**args)
|
758
|
+
@state = args[:state] if args.key?(:state)
|
733
759
|
end
|
734
760
|
end
|
735
761
|
|
@@ -822,7 +848,10 @@ module Google
|
|
822
848
|
|
823
849
|
# A Device within the Cloud Identity Devices API. Represents a Device known to
|
824
850
|
# Google Cloud, independent of the device ownership, type, and whether it is
|
825
|
-
# assigned or in use by a user.
|
851
|
+
# assigned or in use by a user. Important: Device API scopes require that you
|
852
|
+
# use domain-wide delegation to access the API. For more information, see [Set
|
853
|
+
# up the Devices API](https://cloud.google.com/identity/docs/how-to/setup-
|
854
|
+
# devices).
|
826
855
|
class Device
|
827
856
|
include Google::Apis::Core::Hashable
|
828
857
|
|
@@ -1230,11 +1259,13 @@ module Google
|
|
1230
1259
|
class EndpointVerificationSpecificAttributes
|
1231
1260
|
include Google::Apis::Core::Hashable
|
1232
1261
|
|
1233
|
-
# Additional signals
|
1234
|
-
#
|
1262
|
+
# [Additional signals](https://cloud.google.com/endpoint-verification/docs/
|
1263
|
+
# device-information) reported by Endpoint Verification. It includes the
|
1264
|
+
# following attributes: * Non-configurable attributes: hotfixes, av_installed,
|
1235
1265
|
# av_enabled, windows_domain_name, is_os_native_firewall_enabled, and
|
1236
|
-
# is_secure_boot_enabled.
|
1237
|
-
#
|
1266
|
+
# is_secure_boot_enabled. * [Configurable attributes](https://cloud.google.com/
|
1267
|
+
# endpoint-verification/docs/collect-config-attributes): file, folder, and
|
1268
|
+
# binary attributes; registry entries; and properties in a plist.
|
1238
1269
|
# Corresponds to the JSON property `additionalSignals`
|
1239
1270
|
# @return [Hash<String,Object>]
|
1240
1271
|
attr_accessor :additional_signals
|
@@ -1488,7 +1519,7 @@ module Google
|
|
1488
1519
|
|
1489
1520
|
# Browser-specific fields reported by the [Endpoint Verification extension](
|
1490
1521
|
# https://chromewebstore.google.com/detail/endpoint-verification/
|
1491
|
-
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
1522
|
+
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
1492
1523
|
# Corresponds to the JSON property `chromeBrowserInfo`
|
1493
1524
|
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1BrowserInfo]
|
1494
1525
|
attr_accessor :chrome_browser_info
|
@@ -1499,7 +1530,8 @@ module Google
|
|
1499
1530
|
# @return [String]
|
1500
1531
|
attr_accessor :chrome_profile_id
|
1501
1532
|
|
1502
|
-
# Timestamp in milliseconds since
|
1533
|
+
# Timestamp in milliseconds since the Unix epoch when the profile/gcm id was
|
1534
|
+
# last synced.
|
1503
1535
|
# Corresponds to the JSON property `lastProfileSyncTime`
|
1504
1536
|
# @return [String]
|
1505
1537
|
attr_accessor :last_profile_sync_time
|
@@ -1518,7 +1550,7 @@ module Google
|
|
1518
1550
|
|
1519
1551
|
# Browser-specific fields reported by the [Endpoint Verification extension](
|
1520
1552
|
# https://chromewebstore.google.com/detail/endpoint-verification/
|
1521
|
-
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
1553
|
+
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
1522
1554
|
class GoogleAppsCloudidentityDevicesV1BrowserInfo
|
1523
1555
|
include Google::Apis::Core::Hashable
|
1524
1556
|
|
@@ -1527,7 +1559,7 @@ module Google
|
|
1527
1559
|
# @return [String]
|
1528
1560
|
attr_accessor :browser_management_state
|
1529
1561
|
|
1530
|
-
# Version of the request initiating browser.
|
1562
|
+
# Version of the request initiating browser. E.g. `91.0.4442.4`.
|
1531
1563
|
# Corresponds to the JSON property `browserVersion`
|
1532
1564
|
# @return [String]
|
1533
1565
|
attr_accessor :browser_version
|
@@ -2106,7 +2138,10 @@ module Google
|
|
2106
2138
|
|
2107
2139
|
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
2108
2140
|
# resource_names) of the Device in format: `devices/`device``, where device is
|
2109
|
-
# the unique id assigned to the Device.
|
2141
|
+
# the unique id assigned to the Device. Important: Device API scopes require
|
2142
|
+
# that you use domain-wide delegation to access the API. For more information,
|
2143
|
+
# see [Set up the Devices API](https://cloud.google.com/identity/docs/how-to/
|
2144
|
+
# setup-devices).
|
2110
2145
|
# Corresponds to the JSON property `name`
|
2111
2146
|
# @return [String]
|
2112
2147
|
attr_accessor :name
|
@@ -2283,10 +2318,11 @@ module Google
|
|
2283
2318
|
class GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes
|
2284
2319
|
include Google::Apis::Core::Hashable
|
2285
2320
|
|
2286
|
-
# Additional signals
|
2287
|
-
#
|
2321
|
+
# [Additional signals](https://cloud.google.com/endpoint-verification/docs/
|
2322
|
+
# device-information) reported by Endpoint Verification. It includes the
|
2323
|
+
# following attributes: * Non-configurable attributes: hotfixes, av_installed,
|
2288
2324
|
# av_enabled, windows_domain_name, is_os_native_firewall_enabled, and
|
2289
|
-
# is_secure_boot_enabled.
|
2325
|
+
# is_secure_boot_enabled. * [Configurable attributes](https://cloud.google.com/
|
2290
2326
|
# endpoint-verification/docs/collect-config-attributes): file, folder, and
|
2291
2327
|
# binary attributes; registry entries; and properties in a plist.
|
2292
2328
|
# Corresponds to the JSON property `additionalSignals`
|
@@ -2986,6 +3022,32 @@ module Google
|
|
2986
3022
|
end
|
2987
3023
|
end
|
2988
3024
|
|
3025
|
+
# The response message for PoliciesService.ListPolicies.
|
3026
|
+
class ListPoliciesResponse
|
3027
|
+
include Google::Apis::Core::Hashable
|
3028
|
+
|
3029
|
+
# The pagination token to retrieve the next page of results. If this field is
|
3030
|
+
# empty, there are no subsequent pages.
|
3031
|
+
# Corresponds to the JSON property `nextPageToken`
|
3032
|
+
# @return [String]
|
3033
|
+
attr_accessor :next_page_token
|
3034
|
+
|
3035
|
+
# The results
|
3036
|
+
# Corresponds to the JSON property `policies`
|
3037
|
+
# @return [Array<Google::Apis::CloudidentityV1beta1::Policy>]
|
3038
|
+
attr_accessor :policies
|
3039
|
+
|
3040
|
+
def initialize(**args)
|
3041
|
+
update!(**args)
|
3042
|
+
end
|
3043
|
+
|
3044
|
+
# Update properties of this object
|
3045
|
+
def update!(**args)
|
3046
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3047
|
+
@policies = args[:policies] if args.key?(:policies)
|
3048
|
+
end
|
3049
|
+
end
|
3050
|
+
|
2989
3051
|
# Response message for UserInvitation listing request.
|
2990
3052
|
class ListUserInvitationsResponse
|
2991
3053
|
include Google::Apis::Core::Hashable
|
@@ -3241,8 +3303,8 @@ module Google
|
|
3241
3303
|
|
3242
3304
|
# Each edge contains information about the member that belongs to this group.
|
3243
3305
|
# Note: Fields returned here will help identify the specific Membership resource
|
3244
|
-
# (e.g name
|
3245
|
-
# of all fields.
|
3306
|
+
# (e.g `name`, `preferred_member_key` and `role`), but may not be a
|
3307
|
+
# comprehensive list of all fields.
|
3246
3308
|
# Corresponds to the JSON property `edges`
|
3247
3309
|
# @return [Array<Google::Apis::CloudidentityV1beta1::Membership>]
|
3248
3310
|
attr_accessor :edges
|
@@ -3585,7 +3647,112 @@ module Google
|
|
3585
3647
|
end
|
3586
3648
|
end
|
3587
3649
|
|
3650
|
+
# A Policy resource binds an instance of a single Setting with the scope of a
|
3651
|
+
# PolicyQuery. The Setting instance will be applied to all entities that satisfy
|
3652
|
+
# the query.
|
3653
|
+
class Policy
|
3654
|
+
include Google::Apis::Core::Hashable
|
3655
|
+
|
3656
|
+
# Immutable. Customer that the Policy belongs to. The value is in the format '
|
3657
|
+
# customers/`customerId`'. The `customerId` must begin with "C" To find your
|
3658
|
+
# customer ID in Admin Console see https://support.google.com/a/answer/10070793.
|
3659
|
+
# Corresponds to the JSON property `customer`
|
3660
|
+
# @return [String]
|
3661
|
+
attr_accessor :customer
|
3662
|
+
|
3663
|
+
# Output only. Identifier. The [resource name](https://cloud.google.com/apis/
|
3664
|
+
# design/resource_names) of the Policy. Format: policies/`policy`.
|
3665
|
+
# Corresponds to the JSON property `name`
|
3666
|
+
# @return [String]
|
3667
|
+
attr_accessor :name
|
3668
|
+
|
3669
|
+
# PolicyQuery
|
3670
|
+
# Corresponds to the JSON property `policyQuery`
|
3671
|
+
# @return [Google::Apis::CloudidentityV1beta1::PolicyQuery]
|
3672
|
+
attr_accessor :policy_query
|
3673
|
+
|
3674
|
+
# Setting
|
3675
|
+
# Corresponds to the JSON property `setting`
|
3676
|
+
# @return [Google::Apis::CloudidentityV1beta1::Setting]
|
3677
|
+
attr_accessor :setting
|
3678
|
+
|
3679
|
+
# Output only. The type of the policy.
|
3680
|
+
# Corresponds to the JSON property `type`
|
3681
|
+
# @return [String]
|
3682
|
+
attr_accessor :type
|
3683
|
+
|
3684
|
+
def initialize(**args)
|
3685
|
+
update!(**args)
|
3686
|
+
end
|
3687
|
+
|
3688
|
+
# Update properties of this object
|
3689
|
+
def update!(**args)
|
3690
|
+
@customer = args[:customer] if args.key?(:customer)
|
3691
|
+
@name = args[:name] if args.key?(:name)
|
3692
|
+
@policy_query = args[:policy_query] if args.key?(:policy_query)
|
3693
|
+
@setting = args[:setting] if args.key?(:setting)
|
3694
|
+
@type = args[:type] if args.key?(:type)
|
3695
|
+
end
|
3696
|
+
end
|
3697
|
+
|
3698
|
+
# PolicyQuery
|
3699
|
+
class PolicyQuery
|
3700
|
+
include Google::Apis::Core::Hashable
|
3701
|
+
|
3702
|
+
# Immutable. The group that the query applies to. This field is only set if
|
3703
|
+
# there is a single value for group that satisfies all clauses of the query. If
|
3704
|
+
# no group applies, this will be the empty string.
|
3705
|
+
# Corresponds to the JSON property `group`
|
3706
|
+
# @return [String]
|
3707
|
+
attr_accessor :group
|
3708
|
+
|
3709
|
+
# Required. Immutable. Non-empty default. The OrgUnit the query applies to. This
|
3710
|
+
# field is only set if there is a single value for org_unit that satisfies all
|
3711
|
+
# clauses of the query.
|
3712
|
+
# Corresponds to the JSON property `orgUnit`
|
3713
|
+
# @return [String]
|
3714
|
+
attr_accessor :org_unit
|
3715
|
+
|
3716
|
+
# Immutable. The CEL query that defines which entities the Policy applies to (ex.
|
3717
|
+
# a User entity). For details about CEL see https://opensource.google.com/
|
3718
|
+
# projects/cel. The OrgUnits the Policy applies to are represented by a clause
|
3719
|
+
# like so: entity.org_units.exists(org_unit, org_unit.org_unit_id == orgUnitId('`
|
3720
|
+
# orgUnitId`')) The Group the Policy applies to are represented by a clause like
|
3721
|
+
# so: entity.groups.exists(group, group.group_id == groupId('`groupId`')) The
|
3722
|
+
# Licenses the Policy applies to are represented by a clause like so: entity.
|
3723
|
+
# licenses.exists(license, license in ['/product/`productId`/sku/`skuId`']) The
|
3724
|
+
# above clauses can be present in any combination, and used in conjunction with
|
3725
|
+
# the &&, || and ! operators. The org_unit and group fields below are helper
|
3726
|
+
# fields that contain the corresponding value(s) as the query to make the query
|
3727
|
+
# easier to use.
|
3728
|
+
# Corresponds to the JSON property `query`
|
3729
|
+
# @return [String]
|
3730
|
+
attr_accessor :query
|
3731
|
+
|
3732
|
+
# Output only. The decimal sort order of this PolicyQuery. The value is relative
|
3733
|
+
# to all other policies with the same setting type for the customer. (There are
|
3734
|
+
# no duplicates within this set).
|
3735
|
+
# Corresponds to the JSON property `sortOrder`
|
3736
|
+
# @return [Float]
|
3737
|
+
attr_accessor :sort_order
|
3738
|
+
|
3739
|
+
def initialize(**args)
|
3740
|
+
update!(**args)
|
3741
|
+
end
|
3742
|
+
|
3743
|
+
# Update properties of this object
|
3744
|
+
def update!(**args)
|
3745
|
+
@group = args[:group] if args.key?(:group)
|
3746
|
+
@org_unit = args[:org_unit] if args.key?(:org_unit)
|
3747
|
+
@query = args[:query] if args.key?(:query)
|
3748
|
+
@sort_order = args[:sort_order] if args.key?(:sort_order)
|
3749
|
+
end
|
3750
|
+
end
|
3751
|
+
|
3588
3752
|
# POSIX Group definition to represent a group in a POSIX compliant system.
|
3753
|
+
# Caution: POSIX groups are deprecated. As of September 26, 2024, you can no
|
3754
|
+
# longer create new POSIX groups. For more information, see https://cloud.google.
|
3755
|
+
# com/identity/docs/deprecations/posix-groups
|
3589
3756
|
class PosixGroup
|
3590
3757
|
include Google::Apis::Core::Hashable
|
3591
3758
|
|
@@ -3910,6 +4077,31 @@ module Google
|
|
3910
4077
|
end
|
3911
4078
|
end
|
3912
4079
|
|
4080
|
+
# Setting
|
4081
|
+
class Setting
|
4082
|
+
include Google::Apis::Core::Hashable
|
4083
|
+
|
4084
|
+
# Required. Immutable. The type of the Setting. .
|
4085
|
+
# Corresponds to the JSON property `type`
|
4086
|
+
# @return [String]
|
4087
|
+
attr_accessor :type
|
4088
|
+
|
4089
|
+
# Required. The value of the Setting.
|
4090
|
+
# Corresponds to the JSON property `value`
|
4091
|
+
# @return [Hash<String,Object>]
|
4092
|
+
attr_accessor :value
|
4093
|
+
|
4094
|
+
def initialize(**args)
|
4095
|
+
update!(**args)
|
4096
|
+
end
|
4097
|
+
|
4098
|
+
# Update properties of this object
|
4099
|
+
def update!(**args)
|
4100
|
+
@type = args[:type] if args.key?(:type)
|
4101
|
+
@value = args[:value] if args.key?(:value)
|
4102
|
+
end
|
4103
|
+
end
|
4104
|
+
|
3913
4105
|
# Controls sign-in behavior.
|
3914
4106
|
class SignInBehavior
|
3915
4107
|
include Google::Apis::Core::Hashable
|
@@ -3993,12 +4185,20 @@ module Google
|
|
3993
4185
|
class UpdateInboundSamlSsoProfileOperationMetadata
|
3994
4186
|
include Google::Apis::Core::Hashable
|
3995
4187
|
|
4188
|
+
# State of this Operation Will be "awaiting-multi-party-approval" when the
|
4189
|
+
# operation is deferred due to the target customer having enabled [Multi-party
|
4190
|
+
# approval for sensitive actions](https://support.google.com/a/answer/13790448).
|
4191
|
+
# Corresponds to the JSON property `state`
|
4192
|
+
# @return [String]
|
4193
|
+
attr_accessor :state
|
4194
|
+
|
3996
4195
|
def initialize(**args)
|
3997
4196
|
update!(**args)
|
3998
4197
|
end
|
3999
4198
|
|
4000
4199
|
# Update properties of this object
|
4001
4200
|
def update!(**args)
|
4201
|
+
@state = args[:state] if args.key?(:state)
|
4002
4202
|
end
|
4003
4203
|
end
|
4004
4204
|
|
@@ -4126,7 +4326,10 @@ module Google
|
|
4126
4326
|
|
4127
4327
|
# A Device within the Cloud Identity Devices API. Represents a Device known to
|
4128
4328
|
# Google Cloud, independent of the device ownership, type, and whether it is
|
4129
|
-
# assigned or in use by a user.
|
4329
|
+
# assigned or in use by a user. Important: Device API scopes require that you
|
4330
|
+
# use domain-wide delegation to access the API. For more information, see [Set
|
4331
|
+
# up the Devices API](https://cloud.google.com/identity/docs/how-to/setup-
|
4332
|
+
# devices).
|
4130
4333
|
# Corresponds to the JSON property `device`
|
4131
4334
|
# @return [Google::Apis::CloudidentityV1beta1::Device]
|
4132
4335
|
attr_accessor :device
|
@@ -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.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241126"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -496,6 +496,12 @@ module Google
|
|
496
496
|
include Google::Apis::Core::JsonObjectSupport
|
497
497
|
end
|
498
498
|
|
499
|
+
class ListPoliciesResponse
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
499
505
|
class ListUserInvitationsResponse
|
500
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
507
|
|
@@ -592,6 +598,18 @@ module Google
|
|
592
598
|
include Google::Apis::Core::JsonObjectSupport
|
593
599
|
end
|
594
600
|
|
601
|
+
class Policy
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
605
|
+
end
|
606
|
+
|
607
|
+
class PolicyQuery
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
595
613
|
class PosixGroup
|
596
614
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
615
|
|
@@ -670,6 +688,12 @@ module Google
|
|
670
688
|
include Google::Apis::Core::JsonObjectSupport
|
671
689
|
end
|
672
690
|
|
691
|
+
class Setting
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
|
+
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
695
|
+
end
|
696
|
+
|
673
697
|
class SignInBehavior
|
674
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
699
|
|
@@ -739,6 +763,7 @@ module Google
|
|
739
763
|
class AddIdpCredentialOperationMetadata
|
740
764
|
# @private
|
741
765
|
class Representation < Google::Apis::Core::JsonRepresentation
|
766
|
+
property :state, as: 'state'
|
742
767
|
end
|
743
768
|
end
|
744
769
|
|
@@ -922,6 +947,7 @@ module Google
|
|
922
947
|
class CreateInboundSamlSsoProfileOperationMetadata
|
923
948
|
# @private
|
924
949
|
class Representation < Google::Apis::Core::JsonRepresentation
|
950
|
+
property :state, as: 'state'
|
925
951
|
end
|
926
952
|
end
|
927
953
|
|
@@ -1538,6 +1564,15 @@ module Google
|
|
1538
1564
|
end
|
1539
1565
|
end
|
1540
1566
|
|
1567
|
+
class ListPoliciesResponse
|
1568
|
+
# @private
|
1569
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1570
|
+
property :next_page_token, as: 'nextPageToken'
|
1571
|
+
collection :policies, as: 'policies', class: Google::Apis::CloudidentityV1beta1::Policy, decorator: Google::Apis::CloudidentityV1beta1::Policy::Representation
|
1572
|
+
|
1573
|
+
end
|
1574
|
+
end
|
1575
|
+
|
1541
1576
|
class ListUserInvitationsResponse
|
1542
1577
|
# @private
|
1543
1578
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1699,6 +1734,29 @@ module Google
|
|
1699
1734
|
end
|
1700
1735
|
end
|
1701
1736
|
|
1737
|
+
class Policy
|
1738
|
+
# @private
|
1739
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1740
|
+
property :customer, as: 'customer'
|
1741
|
+
property :name, as: 'name'
|
1742
|
+
property :policy_query, as: 'policyQuery', class: Google::Apis::CloudidentityV1beta1::PolicyQuery, decorator: Google::Apis::CloudidentityV1beta1::PolicyQuery::Representation
|
1743
|
+
|
1744
|
+
property :setting, as: 'setting', class: Google::Apis::CloudidentityV1beta1::Setting, decorator: Google::Apis::CloudidentityV1beta1::Setting::Representation
|
1745
|
+
|
1746
|
+
property :type, as: 'type'
|
1747
|
+
end
|
1748
|
+
end
|
1749
|
+
|
1750
|
+
class PolicyQuery
|
1751
|
+
# @private
|
1752
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1753
|
+
property :group, as: 'group'
|
1754
|
+
property :org_unit, as: 'orgUnit'
|
1755
|
+
property :query, as: 'query'
|
1756
|
+
property :sort_order, as: 'sortOrder'
|
1757
|
+
end
|
1758
|
+
end
|
1759
|
+
|
1702
1760
|
class PosixGroup
|
1703
1761
|
# @private
|
1704
1762
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1806,6 +1864,14 @@ module Google
|
|
1806
1864
|
end
|
1807
1865
|
end
|
1808
1866
|
|
1867
|
+
class Setting
|
1868
|
+
# @private
|
1869
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1870
|
+
property :type, as: 'type'
|
1871
|
+
hash :value, as: 'value'
|
1872
|
+
end
|
1873
|
+
end
|
1874
|
+
|
1809
1875
|
class SignInBehavior
|
1810
1876
|
# @private
|
1811
1877
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1832,6 +1898,7 @@ module Google
|
|
1832
1898
|
class UpdateInboundSamlSsoProfileOperationMetadata
|
1833
1899
|
# @private
|
1834
1900
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1901
|
+
property :state, as: 'state'
|
1835
1902
|
end
|
1836
1903
|
end
|
1837
1904
|
|
@@ -1456,8 +1456,8 @@ module Google
|
|
1456
1456
|
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
1457
1457
|
# of the group to search transitive memberships in. Format: `groups/`group_id``,
|
1458
1458
|
# where `group_id` is the unique ID assigned to the Group to which the
|
1459
|
-
# Membership belongs to. group_id can be a wildcard collection id "-". When
|
1460
|
-
# group_id is specified, the membership graph will be constrained to paths
|
1459
|
+
# Membership belongs to. group_id can be a wildcard collection id "-". When `
|
1460
|
+
# group_id` is specified, the membership graph will be constrained to paths
|
1461
1461
|
# between the member (defined in the query) and the parent. If a wildcard
|
1462
1462
|
# collection is provided, all membership paths connected to the member will be
|
1463
1463
|
# returned.
|
@@ -1638,7 +1638,7 @@ module Google
|
|
1638
1638
|
# @param [Fixnum] page_size
|
1639
1639
|
# The default page size is 200 (max 1000).
|
1640
1640
|
# @param [String] page_token
|
1641
|
-
# The next_page_token value returned from a previous list request, if any
|
1641
|
+
# The next_page_token value returned from a previous list request, if any.
|
1642
1642
|
# @param [String] query
|
1643
1643
|
# Required. A CEL expression that MUST include member specification AND label(s).
|
1644
1644
|
# Users can search on label attributes of groups. CONTAINS match ('in') is
|
@@ -1690,7 +1690,7 @@ module Google
|
|
1690
1690
|
# @param [Fixnum] page_size
|
1691
1691
|
# The default page size is 200 (max 1000).
|
1692
1692
|
# @param [String] page_token
|
1693
|
-
# The next_page_token value returned from a previous list request, if any.
|
1693
|
+
# The `next_page_token` value returned from a previous list request, if any.
|
1694
1694
|
# @param [String] query
|
1695
1695
|
# Required. A CEL expression that MUST include member specification AND label(s).
|
1696
1696
|
# This is a `required` field. Users can search on label attributes of groups.
|
@@ -1701,7 +1701,7 @@ module Google
|
|
1701
1701
|
# optionally contain equality operators on the parent of the group restricting
|
1702
1702
|
# the search within a particular customer, e.g. `parent == 'customers/`
|
1703
1703
|
# customer_id`'`. The `customer_id` must begin with "C" (for example, 'C046psxkn'
|
1704
|
-
# ). This filtering is only supported for Admins with groups read
|
1704
|
+
# ). This filtering is only supported for Admins with groups read permissions on
|
1705
1705
|
# the input customer. Example query: `member_key_id == 'member_key_id_value' &&
|
1706
1706
|
# in labels && parent == 'customers/C046psxkn'`
|
1707
1707
|
# @param [String] fields
|
@@ -1776,7 +1776,11 @@ module Google
|
|
1776
1776
|
execute_or_queue_command(command, &block)
|
1777
1777
|
end
|
1778
1778
|
|
1779
|
-
# Creates an InboundSamlSsoProfile for a customer.
|
1779
|
+
# Creates an InboundSamlSsoProfile for a customer. When the target customer has
|
1780
|
+
# enabled [Multi-party approval for sensitive actions](https://support.google.
|
1781
|
+
# com/a/answer/13790448), the `Operation` in the response will have `"done":
|
1782
|
+
# false`, it will not have a response, and the metadata will have `"state": "
|
1783
|
+
# awaiting-multi-party-approval"`.
|
1780
1784
|
# @param [Google::Apis::CloudidentityV1beta1::InboundSamlSsoProfile] inbound_saml_sso_profile_object
|
1781
1785
|
# @param [String] fields
|
1782
1786
|
# Selector specifying which fields to include in a partial response.
|
@@ -1917,7 +1921,11 @@ module Google
|
|
1917
1921
|
execute_or_queue_command(command, &block)
|
1918
1922
|
end
|
1919
1923
|
|
1920
|
-
# Updates an InboundSamlSsoProfile.
|
1924
|
+
# Updates an InboundSamlSsoProfile. When the target customer has enabled [Multi-
|
1925
|
+
# party approval for sensitive actions](https://support.google.com/a/answer/
|
1926
|
+
# 13790448), the `Operation` in the response will have `"done": false`, it will
|
1927
|
+
# not have a response, and the metadata will have `"state": "awaiting-multi-
|
1928
|
+
# party-approval"`.
|
1921
1929
|
# @param [String] name
|
1922
1930
|
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
1923
1931
|
# resource_names) of the SAML SSO profile.
|
@@ -1954,7 +1962,11 @@ module Google
|
|
1954
1962
|
execute_or_queue_command(command, &block)
|
1955
1963
|
end
|
1956
1964
|
|
1957
|
-
# Adds an IdpCredential. Up to 2 credentials are allowed.
|
1965
|
+
# Adds an IdpCredential. Up to 2 credentials are allowed. When the target
|
1966
|
+
# customer has enabled [Multi-party approval for sensitive actions](https://
|
1967
|
+
# support.google.com/a/answer/13790448), the `Operation` in the response will
|
1968
|
+
# have `"done": false`, it will not have a response, and the metadata will have `
|
1969
|
+
# "state": "awaiting-multi-party-approval"`.
|
1958
1970
|
# @param [String] parent
|
1959
1971
|
# Required. The InboundSamlSsoProfile that owns the IdpCredential. Format: `
|
1960
1972
|
# inboundSamlSsoProfiles/`sso_profile_id``
|
@@ -2383,6 +2395,89 @@ module Google
|
|
2383
2395
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2384
2396
|
execute_or_queue_command(command, &block)
|
2385
2397
|
end
|
2398
|
+
|
2399
|
+
# Get a Policy
|
2400
|
+
# @param [String] name
|
2401
|
+
# Required. The name of the policy to retrieve. Format: "policies/`policy`".
|
2402
|
+
# @param [String] fields
|
2403
|
+
# Selector specifying which fields to include in a partial response.
|
2404
|
+
# @param [String] quota_user
|
2405
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2406
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2407
|
+
# @param [Google::Apis::RequestOptions] options
|
2408
|
+
# Request-specific options
|
2409
|
+
#
|
2410
|
+
# @yield [result, err] Result & error if block supplied
|
2411
|
+
# @yieldparam result [Google::Apis::CloudidentityV1beta1::Policy] parsed result object
|
2412
|
+
# @yieldparam err [StandardError] error object if request failed
|
2413
|
+
#
|
2414
|
+
# @return [Google::Apis::CloudidentityV1beta1::Policy]
|
2415
|
+
#
|
2416
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2417
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2418
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2419
|
+
def get_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
2420
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
2421
|
+
command.response_representation = Google::Apis::CloudidentityV1beta1::Policy::Representation
|
2422
|
+
command.response_class = Google::Apis::CloudidentityV1beta1::Policy
|
2423
|
+
command.params['name'] = name unless name.nil?
|
2424
|
+
command.query['fields'] = fields unless fields.nil?
|
2425
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2426
|
+
execute_or_queue_command(command, &block)
|
2427
|
+
end
|
2428
|
+
|
2429
|
+
# List Policies
|
2430
|
+
# @param [String] filter
|
2431
|
+
# Optional. A CEL expression for filtering the results. Policies can be filtered
|
2432
|
+
# by application with this expression: setting.name = 'settings/gmail.*'
|
2433
|
+
# Policies can be filtered by setting type with this expression: setting.name = '
|
2434
|
+
# *.service_status' A maximum of one of the above setting.name clauses can be
|
2435
|
+
# used. Policies can be filtered by customer with this expression: customer = "
|
2436
|
+
# customers/`customer`" Where `customer` is the `id` from the [Admin SDK `
|
2437
|
+
# Customer` resource](https://developers.google.com/admin-sdk/directory/
|
2438
|
+
# reference/rest/v1/customers). You may use `customers/my_customer` to specify
|
2439
|
+
# your own organization. When no customer is mentioned it will be default to
|
2440
|
+
# customers/my_customer. A maximum of one customer clause can be used. The above
|
2441
|
+
# clauses can only be combined together in a single filter expression with the `&
|
2442
|
+
# &` operator.
|
2443
|
+
# @param [Fixnum] page_size
|
2444
|
+
# Optional. The maximum number of results to return. The service can return
|
2445
|
+
# fewer than this number. If omitted or set to 0, the default is 50 results per
|
2446
|
+
# page. The maximum allowed value is 100. `page_size` values greater than 100
|
2447
|
+
# default to 100.
|
2448
|
+
# @param [String] page_token
|
2449
|
+
# Optional. The pagination token received from a prior call to PoliciesService.
|
2450
|
+
# ListPolicies to retrieve the next page of results. When paginating, all other
|
2451
|
+
# parameters provided to `ListPoliciesRequest` must match the call that provided
|
2452
|
+
# the page token.
|
2453
|
+
# @param [String] fields
|
2454
|
+
# Selector specifying which fields to include in a partial response.
|
2455
|
+
# @param [String] quota_user
|
2456
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2457
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2458
|
+
# @param [Google::Apis::RequestOptions] options
|
2459
|
+
# Request-specific options
|
2460
|
+
#
|
2461
|
+
# @yield [result, err] Result & error if block supplied
|
2462
|
+
# @yieldparam result [Google::Apis::CloudidentityV1beta1::ListPoliciesResponse] parsed result object
|
2463
|
+
# @yieldparam err [StandardError] error object if request failed
|
2464
|
+
#
|
2465
|
+
# @return [Google::Apis::CloudidentityV1beta1::ListPoliciesResponse]
|
2466
|
+
#
|
2467
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2468
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2469
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2470
|
+
def list_policies(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2471
|
+
command = make_simple_command(:get, 'v1beta1/policies', options)
|
2472
|
+
command.response_representation = Google::Apis::CloudidentityV1beta1::ListPoliciesResponse::Representation
|
2473
|
+
command.response_class = Google::Apis::CloudidentityV1beta1::ListPoliciesResponse
|
2474
|
+
command.query['filter'] = filter unless filter.nil?
|
2475
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2476
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2477
|
+
command.query['fields'] = fields unless fields.nil?
|
2478
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2479
|
+
execute_or_queue_command(command, &block)
|
2480
|
+
end
|
2386
2481
|
|
2387
2482
|
protected
|
2388
2483
|
|
@@ -44,6 +44,18 @@ module Google
|
|
44
44
|
# See any Cloud Identity Groups that you can access, including group members and their emails
|
45
45
|
AUTH_CLOUD_IDENTITY_GROUPS_READONLY = 'https://www.googleapis.com/auth/cloud-identity.groups.readonly'
|
46
46
|
|
47
|
+
# See and edit all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization.
|
48
|
+
AUTH_CLOUD_IDENTITY_INBOUNDSSO = 'https://www.googleapis.com/auth/cloud-identity.inboundsso'
|
49
|
+
|
50
|
+
# See all of the Inbound SSO profiles and their assignments to any Org Units or Google Groups in your Cloud Identity Organization.
|
51
|
+
AUTH_CLOUD_IDENTITY_INBOUNDSSO_READONLY = 'https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly'
|
52
|
+
|
53
|
+
# See and edit policies in your Cloud Identity Organization.
|
54
|
+
AUTH_CLOUD_IDENTITY_POLICIES = 'https://www.googleapis.com/auth/cloud-identity.policies'
|
55
|
+
|
56
|
+
# See policies in your Cloud Identity Organization.
|
57
|
+
AUTH_CLOUD_IDENTITY_POLICIES_READONLY = 'https://www.googleapis.com/auth/cloud-identity.policies.readonly'
|
58
|
+
|
47
59
|
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
48
60
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
49
61
|
end
|
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.50.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: 2024-
|
11
|
+
date: 2024-12-04 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-cloudidentity_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.50.0
|
62
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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Identity API V1beta1
|