Skip to content

Commit 4aaae02

Browse files
feat: Automated regeneration of Container client (googleapis#13098)
Auto-created at 2025-03-05 13:17:45 +0000 using the toys pull request generator.
1 parent 1dca897 commit 4aaae02

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed

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

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

23-
@discovery_revision "20250211"
23+
@discovery_revision "20250225"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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.Container.V1.Model.AutoMonitoringConfig do
19+
@moduledoc """
20+
AutoMonitoringConfig defines the configuration for GKE Workload Auto-Monitoring.
21+
22+
## Attributes
23+
24+
* `scope` (*type:* `String.t`, *default:* `nil`) - Scope for GKE Workload Auto-Monitoring.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:scope => String.t() | nil
31+
}
32+
33+
field(:scope)
34+
end
35+
36+
defimpl Poison.Decoder, for: GoogleApi.Container.V1.Model.AutoMonitoringConfig do
37+
def decode(value, options) do
38+
GoogleApi.Container.V1.Model.AutoMonitoringConfig.decode(value, options)
39+
end
40+
end
41+
42+
defimpl Poison.Encoder, for: GoogleApi.Container.V1.Model.AutoMonitoringConfig do
43+
def encode(value, options) do
44+
GoogleApi.Gax.ModelBase.encode(value, options)
45+
end
46+
end

clients/container/lib/google_api/container/v1/model/managed_prometheus_config.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,18 @@ defmodule GoogleApi.Container.V1.Model.ManagedPrometheusConfig do
2121
2222
## Attributes
2323
24+
* `autoMonitoringConfig` (*type:* `GoogleApi.Container.V1.Model.AutoMonitoringConfig.t`, *default:* `nil`) - GKE Workload Auto-Monitoring Configuration.
2425
* `enabled` (*type:* `boolean()`, *default:* `nil`) - Enable Managed Collection.
2526
"""
2627

2728
use GoogleApi.Gax.ModelBase
2829

2930
@type t :: %__MODULE__{
31+
:autoMonitoringConfig => GoogleApi.Container.V1.Model.AutoMonitoringConfig.t() | nil,
3032
:enabled => boolean() | nil
3133
}
3234

35+
field(:autoMonitoringConfig, as: GoogleApi.Container.V1.Model.AutoMonitoringConfig)
3336
field(:enabled)
3437
end
3538

0 commit comments

Comments
 (0)