Skip to content

Commit a9f0b08

Browse files
feat: Automated regeneration of ServiceManagement client (googleapis#12214)
Auto-created at 2024-09-26 13:17:32 +0000 using the toys pull request generator.
1 parent 8fbfd7c commit a9f0b08

File tree

5 files changed

+57
-4
lines changed

5 files changed

+57
-4
lines changed

clients/service_management/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_service_management, "~> 0.62"}]
14+
[{:google_api_service_management, "~> 0.63"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20240823"
23+
@discovery_revision "20240920"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/service_management/lib/google_api/service_management/v1/model/common_language_settings.ex

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,24 @@ defmodule GoogleApi.ServiceManagement.V1.Model.CommonLanguageSettings do
2323
2424
* `destinations` (*type:* `list(String.t)`, *default:* `nil`) - The destination where API teams want this client library to be published.
2525
* `referenceDocsUri` (*type:* `String.t`, *default:* `nil`) - Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
26+
* `selectiveGapicGeneration` (*type:* `GoogleApi.ServiceManagement.V1.Model.SelectiveGapicGeneration.t`, *default:* `nil`) - Configuration for which RPCs should be generated in the GAPIC client.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:destinations => list(String.t()) | nil,
32-
:referenceDocsUri => String.t() | nil
33+
:referenceDocsUri => String.t() | nil,
34+
:selectiveGapicGeneration =>
35+
GoogleApi.ServiceManagement.V1.Model.SelectiveGapicGeneration.t() | nil
3336
}
3437

3538
field(:destinations, type: :list)
3639
field(:referenceDocsUri)
40+
41+
field(:selectiveGapicGeneration,
42+
as: GoogleApi.ServiceManagement.V1.Model.SelectiveGapicGeneration
43+
)
3744
end
3845

3946
defimpl Poison.Decoder, for: GoogleApi.ServiceManagement.V1.Model.CommonLanguageSettings do
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.ServiceManagement.V1.Model.SelectiveGapicGeneration do
19+
@moduledoc """
20+
This message is used to configure the generation of a subset of the RPCs in a service for client libraries.
21+
22+
## Attributes
23+
24+
* `methods` (*type:* `list(String.t)`, *default:* `nil`) - An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:methods => list(String.t()) | nil
31+
}
32+
33+
field(:methods, type: :list)
34+
end
35+
36+
defimpl Poison.Decoder, for: GoogleApi.ServiceManagement.V1.Model.SelectiveGapicGeneration do
37+
def decode(value, options) do
38+
GoogleApi.ServiceManagement.V1.Model.SelectiveGapicGeneration.decode(value, options)
39+
end
40+
end
41+
42+
defimpl Poison.Encoder, for: GoogleApi.ServiceManagement.V1.Model.SelectiveGapicGeneration do
43+
def encode(value, options) do
44+
GoogleApi.Gax.ModelBase.encode(value, options)
45+
end
46+
end

clients/service_management/mix.exs

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

21-
@version "0.62.0"
21+
@version "0.63.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)