Skip to content

Commit c90564b

Browse files
feat: Automated regeneration of Admin client (googleapis#12455)
Auto-created at 2024-10-31 13:17:50 +0000 using the toys pull request generator.
1 parent 638fbc0 commit c90564b

File tree

6 files changed

+57
-5
lines changed

6 files changed

+57
-5
lines changed

clients/admin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_admin, "~> 0.42"}]
14+
[{:google_api_admin, "~> 0.43"}]
1515
end
1616
```
1717

clients/admin/lib/google_api/admin/directory_v1/connection.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ defmodule GoogleApi.Admin.Directory_v1.Connection do
3636
# View customer related information
3737
"https://www.googleapis.com/auth/admin.directory.customer.readonly",
3838

39-
# View and manage your Chrome OS devices' metadata
39+
# View and manage your ChromeOS devices' metadata
4040
"https://www.googleapis.com/auth/admin.directory.device.chromeos",
4141

42-
# View your Chrome OS devices' metadata
42+
# View your ChromeOS devices' metadata
4343
"https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly",
4444

4545
# View and manage your mobile devices' metadata

clients/admin/lib/google_api/admin/directory_v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Admin.Directory_v1 do
2020
API client metadata for GoogleApi.Admin.Directory_v1.
2121
"""
2222

23-
@discovery_revision "20240917"
23+
@discovery_revision "20241029"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# NOTE: This file is auto generated by the elixir code generator program.
16+
# Do not edit this file manually.
17+
18+
defmodule GoogleApi.Admin.Directory_v1.Model.ByteUsage do
19+
@moduledoc """
20+
Represents a data capacity with some amount of current usage in bytes.
21+
22+
## Attributes
23+
24+
* `capacityBytes` (*type:* `String.t`, *default:* `nil`) - Output only. The total capacity value, in bytes.
25+
* `usedBytes` (*type:* `String.t`, *default:* `nil`) - Output only. The current usage value, in bytes.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:capacityBytes => String.t() | nil,
32+
:usedBytes => String.t() | nil
33+
}
34+
35+
field(:capacityBytes)
36+
field(:usedBytes)
37+
end
38+
39+
defimpl Poison.Decoder, for: GoogleApi.Admin.Directory_v1.Model.ByteUsage do
40+
def decode(value, options) do
41+
GoogleApi.Admin.Directory_v1.Model.ByteUsage.decode(value, options)
42+
end
43+
end
44+
45+
defimpl Poison.Encoder, for: GoogleApi.Admin.Directory_v1.Model.ByteUsage do
46+
def encode(value, options) do
47+
GoogleApi.Gax.ModelBase.encode(value, options)
48+
end
49+
end

clients/admin/lib/google_api/admin/directory_v1/model/chrome_os_device.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ defmodule GoogleApi.Admin.Directory_v1.Model.ChromeOsDevice do
6565
* `ethernetMacAddress` (*type:* `String.t`, *default:* `nil`) - The device's MAC address on the ethernet network interface.
6666
* `orgUnitId` (*type:* `String.t`, *default:* `nil`) - The unique ID of the organizational unit. orgUnitPath is the human readable version of orgUnitId. While orgUnitPath may change by renaming an organizational unit within the path, orgUnitId is unchangeable for one organizational unit. This property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For more information about how to create an organizational structure for your device, see the [administration help center](https://support.google.com/a/answer/182433).
6767
* `osVersion` (*type:* `String.t`, *default:* `nil`) - The Chrome device's operating system version.
68+
* `diskSpaceUsage` (*type:* `GoogleApi.Admin.Directory_v1.Model.ByteUsage.t`, *default:* `nil`) - Output only. How much disk space the device has available and is currently using.
6869
* `etag` (*type:* `String.t`, *default:* `nil`) - ETag of the resource.
6970
* `status` (*type:* `String.t`, *default:* `nil`) - The status of the device.
7071
* `systemRamFreeReports` (*type:* `list(GoogleApi.Admin.Directory_v1.Model.ChromeOsDeviceSystemRamFreeReports.t)`, *default:* `nil`) - Reports of amounts of available RAM memory (Read-only)
@@ -129,6 +130,7 @@ defmodule GoogleApi.Admin.Directory_v1.Model.ChromeOsDevice do
129130
:ethernetMacAddress => String.t() | nil,
130131
:orgUnitId => String.t() | nil,
131132
:osVersion => String.t() | nil,
133+
:diskSpaceUsage => GoogleApi.Admin.Directory_v1.Model.ByteUsage.t() | nil,
132134
:etag => String.t() | nil,
133135
:status => String.t() | nil,
134136
:systemRamFreeReports =>
@@ -216,6 +218,7 @@ defmodule GoogleApi.Admin.Directory_v1.Model.ChromeOsDevice do
216218
field(:ethernetMacAddress)
217219
field(:orgUnitId)
218220
field(:osVersion)
221+
field(:diskSpaceUsage, as: GoogleApi.Admin.Directory_v1.Model.ByteUsage)
219222
field(:etag)
220223
field(:status)
221224

clients/admin/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Admin.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.42.2"
21+
@version "0.43.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)