Skip to content

Commit 291404d

Browse files
feat: Automated regeneration of ServiceNetworking client (googleapis#12919)
Auto-created at 2025-02-04 13:17:28 +0000 using the toys pull request generator.
1 parent c966bde commit 291404d

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

clients/service_networking/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_networking, "~> 0.39"}]
14+
[{:google_api_service_networking, "~> 0.40"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20250129"
23+
@discovery_revision "20250202"
2424

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

clients/service_networking/lib/google_api/service_networking/v1/model/experimental_features.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.ServiceNetworking.V1.Model.ExperimentalFeatures do
2323
2424
* `protobufPythonicTypesEnabled` (*type:* `boolean()`, *default:* `nil`) - Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.
2525
* `restAsyncIoEnabled` (*type:* `boolean()`, *default:* `nil`) - Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.
26+
* `unversionedPackageDisabled` (*type:* `boolean()`, *default:* `nil`) - Disables generation of an unversioned Python package for this client library. This means that the module names will need to be versioned in import statements. For example `import google.cloud.library_v2` instead of `import google.cloud.library`.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:protobufPythonicTypesEnabled => boolean() | nil,
32-
:restAsyncIoEnabled => boolean() | nil
33+
:restAsyncIoEnabled => boolean() | nil,
34+
:unversionedPackageDisabled => boolean() | nil
3335
}
3436

3537
field(:protobufPythonicTypesEnabled)
3638
field(:restAsyncIoEnabled)
39+
field(:unversionedPackageDisabled)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.ServiceNetworking.V1.Model.ExperimentalFeatures do

clients/service_networking/lib/google_api/service_networking/v1/model/selective_gapic_generation.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,18 @@ defmodule GoogleApi.ServiceNetworking.V1.Model.SelectiveGapicGeneration do
2121
2222
## Attributes
2323
24+
* `generateOmittedAsInternal` (*type:* `boolean()`, *default:* `nil`) - Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.
2425
* `methods` (*type:* `list(String.t)`, *default:* `nil`) - An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
2526
"""
2627

2728
use GoogleApi.Gax.ModelBase
2829

2930
@type t :: %__MODULE__{
31+
:generateOmittedAsInternal => boolean() | nil,
3032
:methods => list(String.t()) | nil
3133
}
3234

35+
field(:generateOmittedAsInternal)
3336
field(:methods, type: :list)
3437
end
3538

clients/service_networking/mix.exs

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

21-
@version "0.39.1"
21+
@version "0.40.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)