Skip to content

Commit 676ddb0

Browse files
feat: Automated regeneration of OSConfig client (googleapis#12371)
Auto-created at 2024-10-21 13:13:51 +0000 using the toys pull request generator.
1 parent 6dea7fd commit 676ddb0

File tree

4 files changed

+69
-3
lines changed

4 files changed

+69
-3
lines changed

clients/os_config/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_os_config, "~> 0.23"}]
14+
[{:google_api_os_config, "~> 0.24"}]
1515
end
1616
```
1717

clients/os_config/lib/google_api/os_config/v1/metadata.ex

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

23-
@discovery_revision "20241002"
23+
@discovery_revision "20241021"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.OSConfig.V1.Model.GoogleCloudOsconfigV2beta_OperationMetadata do
19+
@moduledoc """
20+
Represents the metadata of the long-running operation.
21+
22+
## Attributes
23+
24+
* `apiVersion` (*type:* `String.t`, *default:* `nil`) - Output only. API version used to start the operation.
25+
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the operation was created.
26+
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the operation finished running.
27+
* `requestedCancellation` (*type:* `boolean()`, *default:* `nil`) - Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
28+
* `statusMessage` (*type:* `String.t`, *default:* `nil`) - Output only. Human-readable status of the operation, if any.
29+
* `target` (*type:* `String.t`, *default:* `nil`) - Output only. Server-defined resource path for the target of the operation.
30+
* `verb` (*type:* `String.t`, *default:* `nil`) - Output only. Name of the verb executed by the operation.
31+
"""
32+
33+
use GoogleApi.Gax.ModelBase
34+
35+
@type t :: %__MODULE__{
36+
:apiVersion => String.t() | nil,
37+
:createTime => DateTime.t() | nil,
38+
:endTime => DateTime.t() | nil,
39+
:requestedCancellation => boolean() | nil,
40+
:statusMessage => String.t() | nil,
41+
:target => String.t() | nil,
42+
:verb => String.t() | nil
43+
}
44+
45+
field(:apiVersion)
46+
field(:createTime, as: DateTime)
47+
field(:endTime, as: DateTime)
48+
field(:requestedCancellation)
49+
field(:statusMessage)
50+
field(:target)
51+
field(:verb)
52+
end
53+
54+
defimpl Poison.Decoder,
55+
for: GoogleApi.OSConfig.V1.Model.GoogleCloudOsconfigV2beta_OperationMetadata do
56+
def decode(value, options) do
57+
GoogleApi.OSConfig.V1.Model.GoogleCloudOsconfigV2beta_OperationMetadata.decode(value, options)
58+
end
59+
end
60+
61+
defimpl Poison.Encoder,
62+
for: GoogleApi.OSConfig.V1.Model.GoogleCloudOsconfigV2beta_OperationMetadata do
63+
def encode(value, options) do
64+
GoogleApi.Gax.ModelBase.encode(value, options)
65+
end
66+
end

clients/os_config/mix.exs

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

21-
@version "0.23.2"
21+
@version "0.24.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)