google-apis-admin_directory_v1 0.36.0 → 0.37.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 113f18f67c04245c311d19962b49397275fda50712e510d483673af5a6417bf9
4
- data.tar.gz: 95e27b314824fe9a841569e204a92d922472e9a34b784ad3ce6a847090cbdca3
3
+ metadata.gz: 9c036b12d74807cadc46c4ffb1a75fa55e91fb4b487e47c2a70b361194a27e31
4
+ data.tar.gz: 4061d8eb33029262b12aa4c6cc7115b4c3c246d60b9ccdd44b53965a3f49c5fc
5
5
  SHA512:
6
- metadata.gz: 0ae56f577b66f399a2e3d2d53b32af2b78bc27ea9e3dbb925a8f4bc208599319cb47ee7b29d8456847f837dc52a20ce0f5ef1c0e6ad9a22274be711ed3a17de4
7
- data.tar.gz: 7913cc0e0ac1539a85a1638b32edef49dc0771a8bcac14b91985eb0b7e9852af916513a447d5fba0b2892afe4248f34e31e93dc32ec730c79764ff9cd9316579
6
+ metadata.gz: 40ae394ddc4adb1e692f43b97cc5ebbd6ac8ccf9b30335db5112f7da3214429ebb66737557b4b26a5a9a01e4374e57b5cfab06add5b549609697d3d06310c00c
7
+ data.tar.gz: a71473ba25a431b4ebbbb83a67d1f9ddd2b2b2c32aaa3de28b11e7c828ab1419f682739da67c3056895cb25fc1ea478f3b4342419c7e1da7713e00186a172852
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.37.0 (2023-01-08)
4
+
5
+ * Regenerated from discovery document revision 20230103
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.36.0 (2022-11-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20221122
@@ -872,6 +872,11 @@ module Google
872
872
  # @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport>]
873
873
  attr_accessor :cpu_status_reports
874
874
 
875
+ # (Read-only) Deprovision reason.
876
+ # Corresponds to the JSON property `deprovisionReason`
877
+ # @return [String]
878
+ attr_accessor :deprovision_reason
879
+
875
880
  # A list of device files to download (Read-only)
876
881
  # Corresponds to the JSON property `deviceFiles`
877
882
  # @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile>]
@@ -930,6 +935,11 @@ module Google
930
935
  # @return [String]
931
936
  attr_accessor :kind
932
937
 
938
+ # (Read-only) Date and time for the last deprovision of the device.
939
+ # Corresponds to the JSON property `lastDeprovisionTimestamp`
940
+ # @return [String]
941
+ attr_accessor :last_deprovision_timestamp
942
+
933
943
  # Date and time the device was last enrolled (Read-only)
934
944
  # Corresponds to the JSON property `lastEnrollmentTime`
935
945
  # @return [DateTime]
@@ -1090,6 +1100,7 @@ module Google
1090
1100
  @boot_mode = args[:boot_mode] if args.key?(:boot_mode)
1091
1101
  @cpu_info = args[:cpu_info] if args.key?(:cpu_info)
1092
1102
  @cpu_status_reports = args[:cpu_status_reports] if args.key?(:cpu_status_reports)
1103
+ @deprovision_reason = args[:deprovision_reason] if args.key?(:deprovision_reason)
1093
1104
  @device_files = args[:device_files] if args.key?(:device_files)
1094
1105
  @device_id = args[:device_id] if args.key?(:device_id)
1095
1106
  @disk_volume_reports = args[:disk_volume_reports] if args.key?(:disk_volume_reports)
@@ -1100,6 +1111,7 @@ module Google
1100
1111
  @firmware_version = args[:firmware_version] if args.key?(:firmware_version)
1101
1112
  @first_enrollment_time = args[:first_enrollment_time] if args.key?(:first_enrollment_time)
1102
1113
  @kind = args[:kind] if args.key?(:kind)
1114
+ @last_deprovision_timestamp = args[:last_deprovision_timestamp] if args.key?(:last_deprovision_timestamp)
1103
1115
  @last_enrollment_time = args[:last_enrollment_time] if args.key?(:last_enrollment_time)
1104
1116
  @last_known_network = args[:last_known_network] if args.key?(:last_known_network)
1105
1117
  @last_sync = args[:last_sync] if args.key?(:last_sync)
@@ -1901,6 +1913,13 @@ module Google
1901
1913
  class DirectoryChromeosdevicesCommandResult
1902
1914
  include Google::Apis::Core::Hashable
1903
1915
 
1916
+ # The payload for the command result. The following commands respond with a
1917
+ # payload: - DEVICE_START_CRD_SESSION: Payload is a stringified JSON object in
1918
+ # the form: ` "url": url `. The URL provides a link to the CRD session.
1919
+ # Corresponds to the JSON property `commandResultPayload`
1920
+ # @return [String]
1921
+ attr_accessor :command_result_payload
1922
+
1904
1923
  # The error message with a short explanation as to why the command failed. Only
1905
1924
  # present if the command failed.
1906
1925
  # Corresponds to the JSON property `errorMessage`
@@ -1923,6 +1942,7 @@ module Google
1923
1942
 
1924
1943
  # Update properties of this object
1925
1944
  def update!(**args)
1945
+ @command_result_payload = args[:command_result_payload] if args.key?(:command_result_payload)
1926
1946
  @error_message = args[:error_message] if args.key?(:error_message)
1927
1947
  @execute_time = args[:execute_time] if args.key?(:execute_time)
1928
1948
  @result = args[:result] if args.key?(:result)
@@ -1941,7 +1961,12 @@ module Google
1941
1961
  # The payload for the command, provide it only if command supports it. The
1942
1962
  # following commands support adding payload: - SET_VOLUME: Payload is a
1943
1963
  # stringified JSON object in the form: ` "volume": 50 `. The volume has to be an
1944
- # integer in the range [0,100].
1964
+ # integer in the range [0,100]. - DEVICE_START_CRD_SESSION: Payload is
1965
+ # optionally a stringified JSON object in the form: ` "ackedUserPresence": true `
1966
+ # . ackedUserPresence is a boolean. If a device is being used, ackedUserPresence
1967
+ # must be set to true to acknowledge that you want to start a CRD session
1968
+ # anyways. It is false by default, so a CRD command will fail if used on an
1969
+ # active device without this field.
1945
1970
  # Corresponds to the JSON property `payload`
1946
1971
  # @return [String]
1947
1972
  attr_accessor :payload
@@ -2309,8 +2334,13 @@ module Google
2309
2334
 
2310
2335
  # Google Groups provide your users the ability to send messages to groups of
2311
2336
  # people using the group's email address. For more information about common
2312
- # tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-
2313
- # groups).
2337
+ # tasks, see the [Developer's Guide](https://developers.google.com/admin-sdk/
2338
+ # directory/v1/guides/manage-groups). For information about other types of
2339
+ # groups, see the [Cloud Identity Groups API documentation](https://cloud.google.
2340
+ # com/identity/docs/groups). Note: The user calling the API (or being
2341
+ # impersonated by a service account) must have an assigned [role](https://
2342
+ # developers.google.com/admin-sdk/directory/v1/guides/manage-roles) that
2343
+ # includes Admin API Groups permissions, such as Super Admin or Groups Admin.
2314
2344
  class Group
2315
2345
  include Google::Apis::Core::Hashable
2316
2346
 
@@ -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.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221122"
25
+ REVISION = "20230103"
26
26
  end
27
27
  end
28
28
  end
@@ -930,6 +930,7 @@ module Google
930
930
 
931
931
  collection :cpu_status_reports, as: 'cpuStatusReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::Representation
932
932
 
933
+ property :deprovision_reason, as: 'deprovisionReason'
933
934
  collection :device_files, as: 'deviceFiles', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile::Representation
934
935
 
935
936
  property :device_id, as: 'deviceId'
@@ -942,6 +943,7 @@ module Google
942
943
  property :firmware_version, as: 'firmwareVersion'
943
944
  property :first_enrollment_time, as: 'firstEnrollmentTime'
944
945
  property :kind, as: 'kind'
946
+ property :last_deprovision_timestamp, as: 'lastDeprovisionTimestamp'
945
947
  property :last_enrollment_time, as: 'lastEnrollmentTime', type: DateTime
946
948
 
947
949
  collection :last_known_network, as: 'lastKnownNetwork', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork::Representation
@@ -1204,6 +1206,7 @@ module Google
1204
1206
  class DirectoryChromeosdevicesCommandResult
1205
1207
  # @private
1206
1208
  class Representation < Google::Apis::Core::JsonRepresentation
1209
+ property :command_result_payload, as: 'commandResultPayload'
1207
1210
  property :error_message, as: 'errorMessage'
1208
1211
  property :execute_time, as: 'executeTime'
1209
1212
  property :result, as: 'result'
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.36.0
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-08 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-admin_directory_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.37.0
62
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: []
@@ -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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Admin SDK API DirectoryV1