google-apis-cloudidentity_v1beta1 0.49.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/cloudidentity_v1beta1/classes.rb +205 -26
- data/lib/google/apis/cloudidentity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/cloudidentity_v1beta1/representations.rb +64 -0
- data/lib/google/apis/cloudidentity_v1beta1/service.rb +88 -5
- 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,10 @@
|
|
|
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
|
+
|
|
3
8
|
### v0.49.0 (2024-06-16)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20240611
|
|
@@ -222,13 +222,15 @@ module Google
|
|
|
222
222
|
end
|
|
223
223
|
end
|
|
224
224
|
|
|
225
|
-
# Contains information about browser profiles reported by the Endpoint
|
|
226
|
-
# 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).
|
|
227
228
|
class BrowserAttributes
|
|
228
229
|
include Google::Apis::Core::Hashable
|
|
229
230
|
|
|
230
|
-
# Browser-specific fields reported by the Endpoint Verification extension
|
|
231
|
-
#
|
|
231
|
+
# Browser-specific fields reported by the [Endpoint Verification extension](
|
|
232
|
+
# https://chromewebstore.google.com/detail/endpoint-verification/
|
|
233
|
+
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
|
232
234
|
# Corresponds to the JSON property `chromeBrowserInfo`
|
|
233
235
|
# @return [Google::Apis::CloudidentityV1beta1::BrowserInfo]
|
|
234
236
|
attr_accessor :chrome_browser_info
|
|
@@ -239,7 +241,8 @@ module Google
|
|
|
239
241
|
# @return [String]
|
|
240
242
|
attr_accessor :chrome_profile_id
|
|
241
243
|
|
|
242
|
-
# Timestamp in milliseconds since
|
|
244
|
+
# Timestamp in milliseconds since the Unix epoch when the profile/gcm id was
|
|
245
|
+
# last synced.
|
|
243
246
|
# Corresponds to the JSON property `lastProfileSyncTime`
|
|
244
247
|
# @return [String]
|
|
245
248
|
attr_accessor :last_profile_sync_time
|
|
@@ -256,8 +259,9 @@ module Google
|
|
|
256
259
|
end
|
|
257
260
|
end
|
|
258
261
|
|
|
259
|
-
# Browser-specific fields reported by the Endpoint Verification extension
|
|
260
|
-
#
|
|
262
|
+
# Browser-specific fields reported by the [Endpoint Verification extension](
|
|
263
|
+
# https://chromewebstore.google.com/detail/endpoint-verification/
|
|
264
|
+
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
|
261
265
|
class BrowserInfo
|
|
262
266
|
include Google::Apis::Core::Hashable
|
|
263
267
|
|
|
@@ -266,7 +270,7 @@ module Google
|
|
|
266
270
|
# @return [String]
|
|
267
271
|
attr_accessor :browser_management_state
|
|
268
272
|
|
|
269
|
-
# Version of the request initiating browser.
|
|
273
|
+
# Version of the request initiating browser. E.g. `91.0.4442.4`.
|
|
270
274
|
# Corresponds to the JSON property `browserVersion`
|
|
271
275
|
# @return [String]
|
|
272
276
|
attr_accessor :browser_version
|
|
@@ -423,7 +427,10 @@ module Google
|
|
|
423
427
|
|
|
424
428
|
# A Device within the Cloud Identity Devices API. Represents a Device known to
|
|
425
429
|
# Google Cloud, independent of the device ownership, type, and whether it is
|
|
426
|
-
# 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).
|
|
427
434
|
# Corresponds to the JSON property `device`
|
|
428
435
|
# @return [Google::Apis::CloudidentityV1beta1::Device]
|
|
429
436
|
attr_accessor :device
|
|
@@ -711,7 +718,10 @@ module Google
|
|
|
711
718
|
|
|
712
719
|
# A Device within the Cloud Identity Devices API. Represents a Device known to
|
|
713
720
|
# Google Cloud, independent of the device ownership, type, and whether it is
|
|
714
|
-
# 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).
|
|
715
725
|
# Corresponds to the JSON property `device`
|
|
716
726
|
# @return [Google::Apis::CloudidentityV1beta1::Device]
|
|
717
727
|
attr_accessor :device
|
|
@@ -838,7 +848,10 @@ module Google
|
|
|
838
848
|
|
|
839
849
|
# A Device within the Cloud Identity Devices API. Represents a Device known to
|
|
840
850
|
# Google Cloud, independent of the device ownership, type, and whether it is
|
|
841
|
-
# 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).
|
|
842
855
|
class Device
|
|
843
856
|
include Google::Apis::Core::Hashable
|
|
844
857
|
|
|
@@ -1246,11 +1259,13 @@ module Google
|
|
|
1246
1259
|
class EndpointVerificationSpecificAttributes
|
|
1247
1260
|
include Google::Apis::Core::Hashable
|
|
1248
1261
|
|
|
1249
|
-
# Additional signals
|
|
1250
|
-
#
|
|
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,
|
|
1251
1265
|
# av_enabled, windows_domain_name, is_os_native_firewall_enabled, and
|
|
1252
|
-
# is_secure_boot_enabled.
|
|
1253
|
-
#
|
|
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.
|
|
1254
1269
|
# Corresponds to the JSON property `additionalSignals`
|
|
1255
1270
|
# @return [Hash<String,Object>]
|
|
1256
1271
|
attr_accessor :additional_signals
|
|
@@ -1504,7 +1519,7 @@ module Google
|
|
|
1504
1519
|
|
|
1505
1520
|
# Browser-specific fields reported by the [Endpoint Verification extension](
|
|
1506
1521
|
# https://chromewebstore.google.com/detail/endpoint-verification/
|
|
1507
|
-
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
|
1522
|
+
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
|
1508
1523
|
# Corresponds to the JSON property `chromeBrowserInfo`
|
|
1509
1524
|
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1BrowserInfo]
|
|
1510
1525
|
attr_accessor :chrome_browser_info
|
|
@@ -1515,7 +1530,8 @@ module Google
|
|
|
1515
1530
|
# @return [String]
|
|
1516
1531
|
attr_accessor :chrome_profile_id
|
|
1517
1532
|
|
|
1518
|
-
# Timestamp in milliseconds since
|
|
1533
|
+
# Timestamp in milliseconds since the Unix epoch when the profile/gcm id was
|
|
1534
|
+
# last synced.
|
|
1519
1535
|
# Corresponds to the JSON property `lastProfileSyncTime`
|
|
1520
1536
|
# @return [String]
|
|
1521
1537
|
attr_accessor :last_profile_sync_time
|
|
@@ -1534,7 +1550,7 @@ module Google
|
|
|
1534
1550
|
|
|
1535
1551
|
# Browser-specific fields reported by the [Endpoint Verification extension](
|
|
1536
1552
|
# https://chromewebstore.google.com/detail/endpoint-verification/
|
|
1537
|
-
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
|
1553
|
+
# callobklhcbilhphinckomhgkigmfocg?pli=1).
|
|
1538
1554
|
class GoogleAppsCloudidentityDevicesV1BrowserInfo
|
|
1539
1555
|
include Google::Apis::Core::Hashable
|
|
1540
1556
|
|
|
@@ -1543,7 +1559,7 @@ module Google
|
|
|
1543
1559
|
# @return [String]
|
|
1544
1560
|
attr_accessor :browser_management_state
|
|
1545
1561
|
|
|
1546
|
-
# Version of the request initiating browser.
|
|
1562
|
+
# Version of the request initiating browser. E.g. `91.0.4442.4`.
|
|
1547
1563
|
# Corresponds to the JSON property `browserVersion`
|
|
1548
1564
|
# @return [String]
|
|
1549
1565
|
attr_accessor :browser_version
|
|
@@ -2122,7 +2138,10 @@ module Google
|
|
|
2122
2138
|
|
|
2123
2139
|
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
|
2124
2140
|
# resource_names) of the Device in format: `devices/`device``, where device is
|
|
2125
|
-
# 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).
|
|
2126
2145
|
# Corresponds to the JSON property `name`
|
|
2127
2146
|
# @return [String]
|
|
2128
2147
|
attr_accessor :name
|
|
@@ -2299,10 +2318,11 @@ module Google
|
|
|
2299
2318
|
class GoogleAppsCloudidentityDevicesV1EndpointVerificationSpecificAttributes
|
|
2300
2319
|
include Google::Apis::Core::Hashable
|
|
2301
2320
|
|
|
2302
|
-
# Additional signals
|
|
2303
|
-
#
|
|
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,
|
|
2304
2324
|
# av_enabled, windows_domain_name, is_os_native_firewall_enabled, and
|
|
2305
|
-
# is_secure_boot_enabled.
|
|
2325
|
+
# is_secure_boot_enabled. * [Configurable attributes](https://cloud.google.com/
|
|
2306
2326
|
# endpoint-verification/docs/collect-config-attributes): file, folder, and
|
|
2307
2327
|
# binary attributes; registry entries; and properties in a plist.
|
|
2308
2328
|
# Corresponds to the JSON property `additionalSignals`
|
|
@@ -3002,6 +3022,32 @@ module Google
|
|
|
3002
3022
|
end
|
|
3003
3023
|
end
|
|
3004
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
|
+
|
|
3005
3051
|
# Response message for UserInvitation listing request.
|
|
3006
3052
|
class ListUserInvitationsResponse
|
|
3007
3053
|
include Google::Apis::Core::Hashable
|
|
@@ -3257,8 +3303,8 @@ module Google
|
|
|
3257
3303
|
|
|
3258
3304
|
# Each edge contains information about the member that belongs to this group.
|
|
3259
3305
|
# Note: Fields returned here will help identify the specific Membership resource
|
|
3260
|
-
# (e.g name
|
|
3261
|
-
# of all fields.
|
|
3306
|
+
# (e.g `name`, `preferred_member_key` and `role`), but may not be a
|
|
3307
|
+
# comprehensive list of all fields.
|
|
3262
3308
|
# Corresponds to the JSON property `edges`
|
|
3263
3309
|
# @return [Array<Google::Apis::CloudidentityV1beta1::Membership>]
|
|
3264
3310
|
attr_accessor :edges
|
|
@@ -3601,7 +3647,112 @@ module Google
|
|
|
3601
3647
|
end
|
|
3602
3648
|
end
|
|
3603
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
|
+
|
|
3604
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
|
|
3605
3756
|
class PosixGroup
|
|
3606
3757
|
include Google::Apis::Core::Hashable
|
|
3607
3758
|
|
|
@@ -3926,6 +4077,31 @@ module Google
|
|
|
3926
4077
|
end
|
|
3927
4078
|
end
|
|
3928
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
|
+
|
|
3929
4105
|
# Controls sign-in behavior.
|
|
3930
4106
|
class SignInBehavior
|
|
3931
4107
|
include Google::Apis::Core::Hashable
|
|
@@ -4150,7 +4326,10 @@ module Google
|
|
|
4150
4326
|
|
|
4151
4327
|
# A Device within the Cloud Identity Devices API. Represents a Device known to
|
|
4152
4328
|
# Google Cloud, independent of the device ownership, type, and whether it is
|
|
4153
|
-
# 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).
|
|
4154
4333
|
# Corresponds to the JSON property `device`
|
|
4155
4334
|
# @return [Google::Apis::CloudidentityV1beta1::Device]
|
|
4156
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
|
|
|
@@ -1540,6 +1564,15 @@ module Google
|
|
|
1540
1564
|
end
|
|
1541
1565
|
end
|
|
1542
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
|
+
|
|
1543
1576
|
class ListUserInvitationsResponse
|
|
1544
1577
|
# @private
|
|
1545
1578
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1701,6 +1734,29 @@ module Google
|
|
|
1701
1734
|
end
|
|
1702
1735
|
end
|
|
1703
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
|
+
|
|
1704
1760
|
class PosixGroup
|
|
1705
1761
|
# @private
|
|
1706
1762
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1808,6 +1864,14 @@ module Google
|
|
|
1808
1864
|
end
|
|
1809
1865
|
end
|
|
1810
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
|
+
|
|
1811
1875
|
class SignInBehavior
|
|
1812
1876
|
# @private
|
|
1813
1877
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -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
|
|
@@ -2395,6 +2395,89 @@ module Google
|
|
|
2395
2395
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2396
2396
|
execute_or_queue_command(command, &block)
|
|
2397
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
|
|
2398
2481
|
|
|
2399
2482
|
protected
|
|
2400
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
|