google-apis-admin_directory_v1 0.14.0 → 0.15.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: '0489b62b8b5f9b6e78178d86663fef35530d09213503b7834e7f02a5f88d990f'
4
- data.tar.gz: b6f7825493461ad5cce3435b658dde5a87cef4c9b7e23a7230674d11a451dab8
3
+ metadata.gz: f7bc97214cf5c517f72bab59d0c6dba298243ccc2f1301c36c1bd0f42c138c31
4
+ data.tar.gz: e2668c42c8a86a3724c7afe28a1139f853a0ed1a6acea85c3cc0e7d9501e33cd
5
5
  SHA512:
6
- metadata.gz: 406d41998f067d146e9e25d5ec4523657cdfd4ec322658a7af04e9bae6c5b75fd1a201735b0443042865051a8497cb52d88df4c2d1cc564ec8ccbacb24560fb1
7
- data.tar.gz: 48e0162e7855b874b5a4b758f4e422d490bab301240ae9998e8a5070d94e349c5695f105fa2e21a4ba7384e3b3471176dab3755761a9947e9c99532f4980ac2f
6
+ metadata.gz: c035bf4659a652f0ae2dd6ef76a1efcbbe0b898894309220f8e47ab5abfe8d35d293392ecf2af700ac23fed3c6f0738e6ceb672757fee50f644f5a5520d1bf9b
7
+ data.tar.gz: 5d974a756c212a5848b65233c16af5ccd773496eb7f01de32a84ac5726b9bfda9facf5f465e2b9cf8a8a3fe8d865dc65b493a6fdcddc307d8f6ddef61f9f9a82
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-admin_directory_v1
2
2
 
3
+ ### v0.15.0 (2021-09-29)
4
+
5
+ * Regenerated from discovery document revision 20210928
6
+
3
7
  ### v0.14.0 (2021-08-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20210817
@@ -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
@@ -3338,7 +3445,8 @@ module Google
3338
3445
  # @return [String]
3339
3446
  attr_accessor :schema_id
3340
3447
 
3341
- # The schema's name.
3448
+ # The schema's name. Each `schema_name` must be unique within a customer.
3449
+ # Reusing a name results in a `409: Entity already exists` error.
3342
3450
  # Corresponds to the JSON property `schemaName`
3343
3451
  # @return [String]
3344
3452
  attr_accessor :schema_name
@@ -3647,7 +3755,8 @@ module Google
3647
3755
  # @return [DateTime]
3648
3756
  attr_accessor :creation_time
3649
3757
 
3650
- # Custom fields of the user.
3758
+ # Custom fields of the user. The key is a `schema_name` and its values are `'
3759
+ # field_name': 'field_value'`.
3651
3760
  # Corresponds to the JSON property `customSchemas`
3652
3761
  # @return [Hash<String,Hash<String,Object>>]
3653
3762
  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.14.0"
19
+ GEM_VERSION = "0.15.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 = "20210817"
25
+ REVISION = "20210928"
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
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.14.0
4
+ version: 0.15.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-08-23 00:00:00.000000000 Z
11
+ date: 2021-10-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/master/generated/google-apis-admin_directory_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_directory_v1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-admin_directory_v1
63
63
  post_install_message:
64
64
  rdoc_options: []