Skip to content

Commit 25bd396

Browse files
feat: Automated regeneration of ServiceControl client (googleapis#12884)
Auto-created at 2025-01-28 13:13:42 +0000 using the toys pull request generator.
1 parent 8949663 commit 25bd396

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

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

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

23-
@discovery_revision "20250103"
23+
@discovery_revision "20250124"
2424

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

clients/service_control/lib/google_api/service_control/v1/model/request.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ defmodule GoogleApi.ServiceControl.V1.Model.Request do
2626
* `host` (*type:* `String.t`, *default:* `nil`) - The HTTP request `Host` header value.
2727
* `id` (*type:* `String.t`, *default:* `nil`) - The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service.
2828
* `method` (*type:* `String.t`, *default:* `nil`) - The HTTP request method, such as `GET`, `POST`.
29+
* `origin` (*type:* `String.t`, *default:* `nil`) - The values from Origin header from the HTTP request, such as "https://console.cloud.google.com". Modern browsers can only have one origin. Special browsers and/or HTTP clients may require multiple origins.
2930
* `path` (*type:* `String.t`, *default:* `nil`) - The HTTP URL path, excluding the query parameters.
3031
* `protocol` (*type:* `String.t`, *default:* `nil`) - The network protocol used with the request, such as "http/1.1", "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for details.
3132
* `query` (*type:* `String.t`, *default:* `nil`) - The HTTP URL query in the format of `name1=value1&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed.
@@ -43,6 +44,7 @@ defmodule GoogleApi.ServiceControl.V1.Model.Request do
4344
:host => String.t() | nil,
4445
:id => String.t() | nil,
4546
:method => String.t() | nil,
47+
:origin => String.t() | nil,
4648
:path => String.t() | nil,
4749
:protocol => String.t() | nil,
4850
:query => String.t() | nil,
@@ -57,6 +59,7 @@ defmodule GoogleApi.ServiceControl.V1.Model.Request do
5759
field(:host)
5860
field(:id)
5961
field(:method)
62+
field(:origin)
6063
field(:path)
6164
field(:protocol)
6265
field(:query)

clients/service_control/lib/google_api/service_control/v2/metadata.ex

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

23-
@discovery_revision "20250103"
23+
@discovery_revision "20250124"
2424

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

clients/service_control/lib/google_api/service_control/v2/model/request.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ defmodule GoogleApi.ServiceControl.V2.Model.Request do
2626
* `host` (*type:* `String.t`, *default:* `nil`) - The HTTP request `Host` header value.
2727
* `id` (*type:* `String.t`, *default:* `nil`) - The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service.
2828
* `method` (*type:* `String.t`, *default:* `nil`) - The HTTP request method, such as `GET`, `POST`.
29+
* `origin` (*type:* `String.t`, *default:* `nil`) - The values from Origin header from the HTTP request, such as "https://console.cloud.google.com". Modern browsers can only have one origin. Special browsers and/or HTTP clients may require multiple origins.
2930
* `path` (*type:* `String.t`, *default:* `nil`) - The HTTP URL path, excluding the query parameters.
3031
* `protocol` (*type:* `String.t`, *default:* `nil`) - The network protocol used with the request, such as "http/1.1", "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for details.
3132
* `query` (*type:* `String.t`, *default:* `nil`) - The HTTP URL query in the format of `name1=value1&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed.
@@ -43,6 +44,7 @@ defmodule GoogleApi.ServiceControl.V2.Model.Request do
4344
:host => String.t() | nil,
4445
:id => String.t() | nil,
4546
:method => String.t() | nil,
47+
:origin => String.t() | nil,
4648
:path => String.t() | nil,
4749
:protocol => String.t() | nil,
4850
:query => String.t() | nil,
@@ -57,6 +59,7 @@ defmodule GoogleApi.ServiceControl.V2.Model.Request do
5759
field(:host)
5860
field(:id)
5961
field(:method)
62+
field(:origin)
6063
field(:path)
6164
field(:protocol)
6265
field(:query)

0 commit comments

Comments
 (0)