google-apis-admin_directory_v1 0.12.0 → 0.16.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 +3 -3
- data/lib/google/apis/admin_directory_v1/classes.rb +113 -3
- data/lib/google/apis/admin_directory_v1/gem_version.rb +2 -2
- data/lib/google/apis/admin_directory_v1/representations.rb +50 -0
- data/lib/google/apis/admin_directory_v1/service.rb +33 -29
- data/lib/google/apis/admin_directory_v1.rb +2 -2
- 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: 455c3599c3950b4388e053315933a84f76ae81d63b2bc9835c3e7f70668490d5
|
4
|
+
data.tar.gz: 8cfe542aebca131752f3f50f5c59ca03e35b1a707601d49b86f9adda8e06b91a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b214fb5dae6813def1e41ec354e347479ed3a83de1a5869964412e9396a9900516c578acd6bc629c219712cc03937979121a3e506067a72da5b090289024f09
|
7
|
+
data.tar.gz: 94071b1f8ea733287f79be5966b4818838fa4b5c164d1161a3f4a4e2d156496d5616d1335bd6295a86276fcd8a6bb0b01503f6a298afcd2825a3088f8bcbd072
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-admin_directory_v1
|
2
2
|
|
3
|
+
### v0.16.0 (2021-10-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211014
|
6
|
+
|
7
|
+
### v0.15.0 (2021-09-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210928
|
10
|
+
|
11
|
+
### v0.14.0 (2021-08-18)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210817
|
14
|
+
|
15
|
+
### v0.13.0 (2021-07-21)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210720
|
18
|
+
|
3
19
|
### v0.12.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
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 Admin service in particular.)
|
67
67
|
|
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](
|
82
|
+
The [product documentation](https://developers.google.com/admin-sdk/) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -770,6 +770,11 @@ module Google
|
|
770
770
|
# @return [String]
|
771
771
|
attr_accessor :boot_mode
|
772
772
|
|
773
|
+
# Information regarding CPU specs in the device.
|
774
|
+
# Corresponds to the JSON property `cpuInfo`
|
775
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo>]
|
776
|
+
attr_accessor :cpu_info
|
777
|
+
|
773
778
|
# Reports of CPU utilization and temperature (Read-only)
|
774
779
|
# Corresponds to the JSON property `cpuStatusReports`
|
775
780
|
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport>]
|
@@ -969,6 +974,7 @@ module Google
|
|
969
974
|
@annotated_user = args[:annotated_user] if args.key?(:annotated_user)
|
970
975
|
@auto_update_expiration = args[:auto_update_expiration] if args.key?(:auto_update_expiration)
|
971
976
|
@boot_mode = args[:boot_mode] if args.key?(:boot_mode)
|
977
|
+
@cpu_info = args[:cpu_info] if args.key?(:cpu_info)
|
972
978
|
@cpu_status_reports = args[:cpu_status_reports] if args.key?(:cpu_status_reports)
|
973
979
|
@device_files = args[:device_files] if args.key?(:device_files)
|
974
980
|
@device_id = args[:device_id] if args.key?(:device_id)
|
@@ -1027,6 +1033,107 @@ module Google
|
|
1027
1033
|
end
|
1028
1034
|
end
|
1029
1035
|
|
1036
|
+
# CPU specs for a CPU.
|
1037
|
+
class CpuInfo
|
1038
|
+
include Google::Apis::Core::Hashable
|
1039
|
+
|
1040
|
+
# The CPU architecture.
|
1041
|
+
# Corresponds to the JSON property `architecture`
|
1042
|
+
# @return [String]
|
1043
|
+
attr_accessor :architecture
|
1044
|
+
|
1045
|
+
# Information for the Logical CPUs
|
1046
|
+
# Corresponds to the JSON property `logicalCpus`
|
1047
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo::LogicalCpu>]
|
1048
|
+
attr_accessor :logical_cpus
|
1049
|
+
|
1050
|
+
# The max CPU clock speed in kHz.
|
1051
|
+
# Corresponds to the JSON property `maxClockSpeedKhz`
|
1052
|
+
# @return [Fixnum]
|
1053
|
+
attr_accessor :max_clock_speed_khz
|
1054
|
+
|
1055
|
+
# The CPU model name.
|
1056
|
+
# Corresponds to the JSON property `model`
|
1057
|
+
# @return [String]
|
1058
|
+
attr_accessor :model
|
1059
|
+
|
1060
|
+
def initialize(**args)
|
1061
|
+
update!(**args)
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
# Update properties of this object
|
1065
|
+
def update!(**args)
|
1066
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
1067
|
+
@logical_cpus = args[:logical_cpus] if args.key?(:logical_cpus)
|
1068
|
+
@max_clock_speed_khz = args[:max_clock_speed_khz] if args.key?(:max_clock_speed_khz)
|
1069
|
+
@model = args[:model] if args.key?(:model)
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
# Status of a single logical CPU.
|
1073
|
+
class LogicalCpu
|
1074
|
+
include Google::Apis::Core::Hashable
|
1075
|
+
|
1076
|
+
# C-States indicate the power consumption state of the CPU. For more information
|
1077
|
+
# look at documentation published by the CPU maker.
|
1078
|
+
# Corresponds to the JSON property `cStates`
|
1079
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo::LogicalCpu::CState>]
|
1080
|
+
attr_accessor :c_states
|
1081
|
+
|
1082
|
+
# Current frequency the CPU is running at.
|
1083
|
+
# Corresponds to the JSON property `currentScalingFrequencyKhz`
|
1084
|
+
# @return [Fixnum]
|
1085
|
+
attr_accessor :current_scaling_frequency_khz
|
1086
|
+
|
1087
|
+
# Idle time since last boot.
|
1088
|
+
# Corresponds to the JSON property `idleDuration`
|
1089
|
+
# @return [String]
|
1090
|
+
attr_accessor :idle_duration
|
1091
|
+
|
1092
|
+
# Maximum frequency the CPU is allowed to run at, by policy.
|
1093
|
+
# Corresponds to the JSON property `maxScalingFrequencyKhz`
|
1094
|
+
# @return [Fixnum]
|
1095
|
+
attr_accessor :max_scaling_frequency_khz
|
1096
|
+
|
1097
|
+
def initialize(**args)
|
1098
|
+
update!(**args)
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
# Update properties of this object
|
1102
|
+
def update!(**args)
|
1103
|
+
@c_states = args[:c_states] if args.key?(:c_states)
|
1104
|
+
@current_scaling_frequency_khz = args[:current_scaling_frequency_khz] if args.key?(:current_scaling_frequency_khz)
|
1105
|
+
@idle_duration = args[:idle_duration] if args.key?(:idle_duration)
|
1106
|
+
@max_scaling_frequency_khz = args[:max_scaling_frequency_khz] if args.key?(:max_scaling_frequency_khz)
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
# Status of a single C-state. C-states are various modes the CPU can transition
|
1110
|
+
# to in order to use more or less power.
|
1111
|
+
class CState
|
1112
|
+
include Google::Apis::Core::Hashable
|
1113
|
+
|
1114
|
+
# Name of the state.
|
1115
|
+
# Corresponds to the JSON property `displayName`
|
1116
|
+
# @return [String]
|
1117
|
+
attr_accessor :display_name
|
1118
|
+
|
1119
|
+
# Time spent in the state since the last reboot.
|
1120
|
+
# Corresponds to the JSON property `sessionDuration`
|
1121
|
+
# @return [String]
|
1122
|
+
attr_accessor :session_duration
|
1123
|
+
|
1124
|
+
def initialize(**args)
|
1125
|
+
update!(**args)
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
# Update properties of this object
|
1129
|
+
def update!(**args)
|
1130
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1131
|
+
@session_duration = args[:session_duration] if args.key?(:session_duration)
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
end
|
1135
|
+
end
|
1136
|
+
|
1030
1137
|
#
|
1031
1138
|
class CpuStatusReport
|
1032
1139
|
include Google::Apis::Core::Hashable
|
@@ -2767,7 +2874,8 @@ module Google
|
|
2767
2874
|
# Managing your account's organizational units allows you to configure your
|
2768
2875
|
# users' access to services and custom settings. For more information about
|
2769
2876
|
# common organizational unit tasks, see the [Developer's Guide](/admin-sdk/
|
2770
|
-
# directory/v1/guides/manage-org-units.html).
|
2877
|
+
# directory/v1/guides/manage-org-units.html). The customer's organizational unit
|
2878
|
+
# hierarchy is limited to 35 levels of depth.
|
2771
2879
|
class OrgUnit
|
2772
2880
|
include Google::Apis::Core::Hashable
|
2773
2881
|
|
@@ -3338,7 +3446,8 @@ module Google
|
|
3338
3446
|
# @return [String]
|
3339
3447
|
attr_accessor :schema_id
|
3340
3448
|
|
3341
|
-
# The schema's name.
|
3449
|
+
# The schema's name. Each `schema_name` must be unique within a customer.
|
3450
|
+
# Reusing a name results in a `409: Entity already exists` error.
|
3342
3451
|
# Corresponds to the JSON property `schemaName`
|
3343
3452
|
# @return [String]
|
3344
3453
|
attr_accessor :schema_name
|
@@ -3647,7 +3756,8 @@ module Google
|
|
3647
3756
|
# @return [DateTime]
|
3648
3757
|
attr_accessor :creation_time
|
3649
3758
|
|
3650
|
-
# Custom fields of the user.
|
3759
|
+
# Custom fields of the user. The key is a `schema_name` and its values are `'
|
3760
|
+
# field_name': 'field_value'`.
|
3651
3761
|
# Corresponds to the JSON property `customSchemas`
|
3652
3762
|
# @return [Hash<String,Hash<String,Object>>]
|
3653
3763
|
attr_accessor :custom_schemas
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AdminDirectoryV1
|
18
18
|
# Version of the google-apis-admin_directory_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.16.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 = "20211014"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -127,6 +127,24 @@ module Google
|
|
127
127
|
include Google::Apis::Core::JsonObjectSupport
|
128
128
|
end
|
129
129
|
|
130
|
+
class CpuInfo
|
131
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
132
|
+
|
133
|
+
class LogicalCpu
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
class CState
|
137
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
138
|
+
|
139
|
+
include Google::Apis::Core::JsonObjectSupport
|
140
|
+
end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
include Google::Apis::Core::JsonObjectSupport
|
146
|
+
end
|
147
|
+
|
130
148
|
class CpuStatusReport
|
131
149
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
132
150
|
|
@@ -808,6 +826,8 @@ module Google
|
|
808
826
|
property :annotated_user, as: 'annotatedUser'
|
809
827
|
property :auto_update_expiration, :numeric_string => true, as: 'autoUpdateExpiration'
|
810
828
|
property :boot_mode, as: 'bootMode'
|
829
|
+
collection :cpu_info, as: 'cpuInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo::Representation
|
830
|
+
|
811
831
|
collection :cpu_status_reports, as: 'cpuStatusReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::Representation
|
812
832
|
|
813
833
|
collection :device_files, as: 'deviceFiles', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile::Representation
|
@@ -861,6 +881,36 @@ module Google
|
|
861
881
|
end
|
862
882
|
end
|
863
883
|
|
884
|
+
class CpuInfo
|
885
|
+
# @private
|
886
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
887
|
+
property :architecture, as: 'architecture'
|
888
|
+
collection :logical_cpus, as: 'logicalCpus', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo::LogicalCpu, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo::LogicalCpu::Representation
|
889
|
+
|
890
|
+
property :max_clock_speed_khz, as: 'maxClockSpeedKhz'
|
891
|
+
property :model, as: 'model'
|
892
|
+
end
|
893
|
+
|
894
|
+
class LogicalCpu
|
895
|
+
# @private
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
897
|
+
collection :c_states, as: 'cStates', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo::LogicalCpu::CState, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuInfo::LogicalCpu::CState::Representation
|
898
|
+
|
899
|
+
property :current_scaling_frequency_khz, as: 'currentScalingFrequencyKhz'
|
900
|
+
property :idle_duration, as: 'idleDuration'
|
901
|
+
property :max_scaling_frequency_khz, as: 'maxScalingFrequencyKhz'
|
902
|
+
end
|
903
|
+
|
904
|
+
class CState
|
905
|
+
# @private
|
906
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
907
|
+
property :display_name, as: 'displayName'
|
908
|
+
property :session_duration, as: 'sessionDuration'
|
909
|
+
end
|
910
|
+
end
|
911
|
+
end
|
912
|
+
end
|
913
|
+
|
864
914
|
class CpuStatusReport
|
865
915
|
# @private
|
866
916
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
# Admin = Google::Apis::AdminDirectoryV1 # Alias the module
|
33
33
|
# service = Admin::DirectoryService.new
|
34
34
|
#
|
35
|
-
# @see
|
35
|
+
# @see https://developers.google.com/admin-sdk/
|
36
36
|
class DirectoryService < Google::Apis::Core::BaseService
|
37
37
|
# @return [String]
|
38
38
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -51,7 +51,7 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
#
|
54
|
+
# Deletes an ASP issued by a user.
|
55
55
|
# @param [String] user_key
|
56
56
|
# Identifies the user in the API request. The value can be the user's primary
|
57
57
|
# email address, alias email address, or unique user ID.
|
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
execute_or_queue_command(command, &block)
|
84
84
|
end
|
85
85
|
|
86
|
-
#
|
86
|
+
# Gets information about an ASP issued by a user.
|
87
87
|
# @param [String] user_key
|
88
88
|
# Identifies the user in the API request. The value can be the user's primary
|
89
89
|
# email address, alias email address, or unique user ID.
|
@@ -117,7 +117,7 @@ module Google
|
|
117
117
|
execute_or_queue_command(command, &block)
|
118
118
|
end
|
119
119
|
|
120
|
-
#
|
120
|
+
# Lists the ASPs issued by a user.
|
121
121
|
# @param [String] user_key
|
122
122
|
# Identifies the user in the API request. The value can be the user's primary
|
123
123
|
# email address, alias email address, or unique user ID.
|
@@ -148,7 +148,7 @@ module Google
|
|
148
148
|
execute_or_queue_command(command, &block)
|
149
149
|
end
|
150
150
|
|
151
|
-
#
|
151
|
+
# Stops watching resources through this channel.
|
152
152
|
# @param [Google::Apis::AdminDirectoryV1::Channel] channel_object
|
153
153
|
# @param [String] fields
|
154
154
|
# Selector specifying which fields to include in a partial response.
|
@@ -271,6 +271,9 @@ module Google
|
|
271
271
|
# administrator, you can also use the `my_customer` alias to represent your
|
272
272
|
# account's `customerId`. The `customerId` is also returned as part of the [
|
273
273
|
# Users resource](/admin-sdk/directory/v1/reference/users).
|
274
|
+
# @param [Boolean] include_child_orgunits
|
275
|
+
# Return devices from all child orgunits, as well as the specified org unit. If
|
276
|
+
# this is set to true 'orgUnitPath' must be provided.
|
274
277
|
# @param [Fixnum] max_results
|
275
278
|
# Maximum number of results to return.
|
276
279
|
# @param [String] order_by
|
@@ -306,11 +309,12 @@ module Google
|
|
306
309
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
307
310
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
308
311
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
309
|
-
def list_chrome_os_devices(customer_id, max_results: nil, order_by: nil, org_unit_path: nil, page_token: nil, projection: nil, query: nil, sort_order: nil, fields: nil, quota_user: nil, options: nil, &block)
|
312
|
+
def list_chrome_os_devices(customer_id, include_child_orgunits: nil, max_results: nil, order_by: nil, org_unit_path: nil, page_token: nil, projection: nil, query: nil, sort_order: nil, fields: nil, quota_user: nil, options: nil, &block)
|
310
313
|
command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/devices/chromeos', options)
|
311
314
|
command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevices::Representation
|
312
315
|
command.response_class = Google::Apis::AdminDirectoryV1::ChromeOsDevices
|
313
316
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
317
|
+
command.query['includeChildOrgunits'] = include_child_orgunits unless include_child_orgunits.nil?
|
314
318
|
command.query['maxResults'] = max_results unless max_results.nil?
|
315
319
|
command.query['orderBy'] = order_by unless order_by.nil?
|
316
320
|
command.query['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
|
@@ -323,7 +327,7 @@ module Google
|
|
323
327
|
execute_or_queue_command(command, &block)
|
324
328
|
end
|
325
329
|
|
326
|
-
#
|
330
|
+
# Moves or inserts multiple Chrome OS devices to an organizational unit. You can
|
327
331
|
# move up to 50 devices at once.
|
328
332
|
# @param [String] customer_id
|
329
333
|
# Immutable ID of the Google Workspace account
|
@@ -551,7 +555,7 @@ module Google
|
|
551
555
|
execute_or_queue_command(command, &block)
|
552
556
|
end
|
553
557
|
|
554
|
-
#
|
558
|
+
# Patches a customer.
|
555
559
|
# @param [String] customer_key
|
556
560
|
# Id of the customer to be updated
|
557
561
|
# @param [Google::Apis::AdminDirectoryV1::Customer] customer_object
|
@@ -1259,7 +1263,7 @@ module Google
|
|
1259
1263
|
execute_or_queue_command(command, &block)
|
1260
1264
|
end
|
1261
1265
|
|
1262
|
-
#
|
1266
|
+
# Retrieves all groups of a domain or of a user given a userKey (paginated).
|
1263
1267
|
# @param [String] customer
|
1264
1268
|
# The unique ID for the customer's Google Workspace account. In case of a multi-
|
1265
1269
|
# domain account, to fetch all groups for a customer, fill this field instead of
|
@@ -2312,7 +2316,7 @@ module Google
|
|
2312
2316
|
execute_or_queue_command(command, &block)
|
2313
2317
|
end
|
2314
2318
|
|
2315
|
-
# Patches a building
|
2319
|
+
# Patches a building.
|
2316
2320
|
# @param [String] customer
|
2317
2321
|
# The unique ID for the customer's Google Workspace account. As an account
|
2318
2322
|
# administrator, you can also use the `my_customer` alias to represent your
|
@@ -2554,7 +2558,7 @@ module Google
|
|
2554
2558
|
execute_or_queue_command(command, &block)
|
2555
2559
|
end
|
2556
2560
|
|
2557
|
-
# Patches a calendar resource
|
2561
|
+
# Patches a calendar resource.
|
2558
2562
|
# @param [String] customer
|
2559
2563
|
# The unique ID for the customer's Google Workspace account. As an account
|
2560
2564
|
# administrator, you can also use the `my_customer` alias to represent your
|
@@ -2773,7 +2777,7 @@ module Google
|
|
2773
2777
|
execute_or_queue_command(command, &block)
|
2774
2778
|
end
|
2775
2779
|
|
2776
|
-
# Patches a feature
|
2780
|
+
# Patches a feature.
|
2777
2781
|
# @param [String] customer
|
2778
2782
|
# The unique ID for the customer's Google Workspace account. As an account
|
2779
2783
|
# administrator, you can also use the `my_customer` alias to represent your
|
@@ -2916,7 +2920,7 @@ module Google
|
|
2916
2920
|
execute_or_queue_command(command, &block)
|
2917
2921
|
end
|
2918
2922
|
|
2919
|
-
#
|
2923
|
+
# Retrieves a role assignment.
|
2920
2924
|
# @param [String] customer
|
2921
2925
|
# Immutable ID of the Google Workspace account.
|
2922
2926
|
# @param [String] role_assignment_id
|
@@ -3159,7 +3163,7 @@ module Google
|
|
3159
3163
|
execute_or_queue_command(command, &block)
|
3160
3164
|
end
|
3161
3165
|
|
3162
|
-
#
|
3166
|
+
# Patches a role.
|
3163
3167
|
# @param [String] customer
|
3164
3168
|
# Immutable ID of the Google Workspace account.
|
3165
3169
|
# @param [String] role_id
|
@@ -3231,7 +3235,7 @@ module Google
|
|
3231
3235
|
execute_or_queue_command(command, &block)
|
3232
3236
|
end
|
3233
3237
|
|
3234
|
-
#
|
3238
|
+
# Deletes a schema.
|
3235
3239
|
# @param [String] customer_id
|
3236
3240
|
# Immutable ID of the Google Workspace account.
|
3237
3241
|
# @param [String] schema_key
|
@@ -3262,7 +3266,7 @@ module Google
|
|
3262
3266
|
execute_or_queue_command(command, &block)
|
3263
3267
|
end
|
3264
3268
|
|
3265
|
-
#
|
3269
|
+
# Retrieves a schema.
|
3266
3270
|
# @param [String] customer_id
|
3267
3271
|
# Immutable ID of the Google Workspace account.
|
3268
3272
|
# @param [String] schema_key
|
@@ -3295,7 +3299,7 @@ module Google
|
|
3295
3299
|
execute_or_queue_command(command, &block)
|
3296
3300
|
end
|
3297
3301
|
|
3298
|
-
#
|
3302
|
+
# Creates a schema.
|
3299
3303
|
# @param [String] customer_id
|
3300
3304
|
# Immutable ID of the Google Workspace account.
|
3301
3305
|
# @param [Google::Apis::AdminDirectoryV1::Schema] schema_object
|
@@ -3328,7 +3332,7 @@ module Google
|
|
3328
3332
|
execute_or_queue_command(command, &block)
|
3329
3333
|
end
|
3330
3334
|
|
3331
|
-
#
|
3335
|
+
# Retrieves all schemas for a customer.
|
3332
3336
|
# @param [String] customer_id
|
3333
3337
|
# Immutable ID of the Google Workspace account.
|
3334
3338
|
# @param [String] fields
|
@@ -3358,7 +3362,7 @@ module Google
|
|
3358
3362
|
execute_or_queue_command(command, &block)
|
3359
3363
|
end
|
3360
3364
|
|
3361
|
-
#
|
3365
|
+
# Patches a schema.
|
3362
3366
|
# @param [String] customer_id
|
3363
3367
|
# Immutable ID of the Google Workspace account.
|
3364
3368
|
# @param [String] schema_key
|
@@ -3394,7 +3398,7 @@ module Google
|
|
3394
3398
|
execute_or_queue_command(command, &block)
|
3395
3399
|
end
|
3396
3400
|
|
3397
|
-
#
|
3401
|
+
# Updates a schema.
|
3398
3402
|
# @param [String] customer_id
|
3399
3403
|
# Immutable ID of the Google Workspace account.
|
3400
3404
|
# @param [String] schema_key
|
@@ -3430,7 +3434,7 @@ module Google
|
|
3430
3434
|
execute_or_queue_command(command, &block)
|
3431
3435
|
end
|
3432
3436
|
|
3433
|
-
#
|
3437
|
+
# Deletes all access tokens issued by a user for an application.
|
3434
3438
|
# @param [String] user_key
|
3435
3439
|
# Identifies the user in the API request. The value can be the user's primary
|
3436
3440
|
# email address, alias email address, or unique user ID.
|
@@ -3462,7 +3466,7 @@ module Google
|
|
3462
3466
|
execute_or_queue_command(command, &block)
|
3463
3467
|
end
|
3464
3468
|
|
3465
|
-
#
|
3469
|
+
# Gets information about an access token issued by a user.
|
3466
3470
|
# @param [String] user_key
|
3467
3471
|
# Identifies the user in the API request. The value can be the user's primary
|
3468
3472
|
# email address, alias email address, or unique user ID.
|
@@ -3527,7 +3531,7 @@ module Google
|
|
3527
3531
|
execute_or_queue_command(command, &block)
|
3528
3532
|
end
|
3529
3533
|
|
3530
|
-
#
|
3534
|
+
# Turns off 2-Step Verification for user.
|
3531
3535
|
# @param [String] user_key
|
3532
3536
|
# Identifies the user in the API request. The value can be the user's primary
|
3533
3537
|
# email address, alias email address, or unique user ID.
|
@@ -3802,8 +3806,8 @@ module Google
|
|
3802
3806
|
execute_or_queue_command(command, &block)
|
3803
3807
|
end
|
3804
3808
|
|
3805
|
-
#
|
3806
|
-
# User will have to sign in by authenticating again.
|
3809
|
+
# Signs a user out of all web and device sessions and reset their sign-in
|
3810
|
+
# cookies. User will have to sign in by authenticating again.
|
3807
3811
|
# @param [String] user_key
|
3808
3812
|
# Identifies the target user in the API request. The value can be the user's
|
3809
3813
|
# primary email address, alias email address, or unique user ID.
|
@@ -3899,7 +3903,7 @@ module Google
|
|
3899
3903
|
execute_or_queue_command(command, &block)
|
3900
3904
|
end
|
3901
3905
|
|
3902
|
-
#
|
3906
|
+
# Watches for changes in users list.
|
3903
3907
|
# @param [Google::Apis::AdminDirectoryV1::Channel] channel_object
|
3904
3908
|
# @param [String] custom_field_mask
|
3905
3909
|
# Comma-separated list of schema names. All fields from these schemas are
|
@@ -4071,7 +4075,7 @@ module Google
|
|
4071
4075
|
execute_or_queue_command(command, &block)
|
4072
4076
|
end
|
4073
4077
|
|
4074
|
-
#
|
4078
|
+
# Watches for changes in users list.
|
4075
4079
|
# @param [String] user_key
|
4076
4080
|
# Email or immutable ID of the user
|
4077
4081
|
# @param [Google::Apis::AdminDirectoryV1::Channel] channel_object
|
@@ -4236,7 +4240,7 @@ module Google
|
|
4236
4240
|
execute_or_queue_command(command, &block)
|
4237
4241
|
end
|
4238
4242
|
|
4239
|
-
#
|
4243
|
+
# Generates new backup verification codes for the user.
|
4240
4244
|
# @param [String] user_key
|
4241
4245
|
# Email or immutable ID of the user
|
4242
4246
|
# @param [String] fields
|
@@ -4264,7 +4268,7 @@ module Google
|
|
4264
4268
|
execute_or_queue_command(command, &block)
|
4265
4269
|
end
|
4266
4270
|
|
4267
|
-
#
|
4271
|
+
# Invalidates the current backup verification codes for the user.
|
4268
4272
|
# @param [String] user_key
|
4269
4273
|
# Email or immutable ID of the user
|
4270
4274
|
# @param [String] fields
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# resources like user, groups etc. It also provides audit and usage reports of
|
26
26
|
# domain.
|
27
27
|
#
|
28
|
-
# @see
|
28
|
+
# @see https://developers.google.com/admin-sdk/
|
29
29
|
module AdminDirectoryV1
|
30
30
|
# Version of the Admin SDK API this client connects to.
|
31
31
|
# This is NOT the gem version.
|
@@ -115,7 +115,7 @@ module Google
|
|
115
115
|
# View user schemas on your domain
|
116
116
|
AUTH_ADMIN_DIRECTORY_USERSCHEMA_READONLY = 'https://www.googleapis.com/auth/admin.directory.userschema.readonly'
|
117
117
|
|
118
|
-
# See, edit, configure, and delete your Google Cloud
|
118
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
119
119
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
120
120
|
end
|
121
121
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-admin_directory_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.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-10-27 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-admin_directory_v1/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-admin_directory_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.16.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_directory_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|