Skip to content

Commit 4fab8d2

Browse files
feat: Automated regeneration of AccessContextManager client (googleapis#12613)
Auto-created at 2024-11-22 13:16:55 +0000 using the toys pull request generator.
1 parent b41e934 commit 4fab8d2

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

clients/access_context_manager/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_access_context_manager, "~> 0.26"}]
14+
[{:google_api_access_context_manager, "~> 0.27"}]
1515
end
1616
```
1717

clients/access_context_manager/lib/google_api/access_context_manager/v1/api/operations.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule GoogleApi.AccessContextManager.V1.Api.Operations do
2626
@library_version Mix.Project.config() |> Keyword.get(:version, "")
2727

2828
@doc """
29-
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
29+
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
3030
3131
## Parameters
3232

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

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

23-
@discovery_revision "20241113"
23+
@discovery_revision "20241119"
2424

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

clients/access_context_manager/lib/google_api/access_context_manager/v1/model/egress_policy.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.AccessContextManager.V1.Model.EgressPolicy do
2323
2424
* `egressFrom` (*type:* `GoogleApi.AccessContextManager.V1.Model.EgressFrom.t`, *default:* `nil`) - Defines conditions on the source of a request causing this EgressPolicy to apply.
2525
* `egressTo` (*type:* `GoogleApi.AccessContextManager.V1.Model.EgressTo.t`, *default:* `nil`) - Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply.
26+
* `title` (*type:* `String.t`, *default:* `nil`) - Optional. Human-readable title for the egress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:egressFrom => GoogleApi.AccessContextManager.V1.Model.EgressFrom.t() | nil,
32-
:egressTo => GoogleApi.AccessContextManager.V1.Model.EgressTo.t() | nil
33+
:egressTo => GoogleApi.AccessContextManager.V1.Model.EgressTo.t() | nil,
34+
:title => String.t() | nil
3335
}
3436

3537
field(:egressFrom, as: GoogleApi.AccessContextManager.V1.Model.EgressFrom)
3638
field(:egressTo, as: GoogleApi.AccessContextManager.V1.Model.EgressTo)
39+
field(:title)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.AccessContextManager.V1.Model.EgressPolicy do

clients/access_context_manager/lib/google_api/access_context_manager/v1/model/ingress_policy.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.AccessContextManager.V1.Model.IngressPolicy do
2323
2424
* `ingressFrom` (*type:* `GoogleApi.AccessContextManager.V1.Model.IngressFrom.t`, *default:* `nil`) - Defines the conditions on the source of a request causing this IngressPolicy to apply.
2525
* `ingressTo` (*type:* `GoogleApi.AccessContextManager.V1.Model.IngressTo.t`, *default:* `nil`) - Defines the conditions on the ApiOperation and request destination that cause this IngressPolicy to apply.
26+
* `title` (*type:* `String.t`, *default:* `nil`) - Optional. Human-readable title for the ingress rule. The title must be unique within the perimeter and can not exceed 100 characters. Within the access policy, the combined length of all rule titles must not exceed 240,000 characters.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:ingressFrom => GoogleApi.AccessContextManager.V1.Model.IngressFrom.t() | nil,
32-
:ingressTo => GoogleApi.AccessContextManager.V1.Model.IngressTo.t() | nil
33+
:ingressTo => GoogleApi.AccessContextManager.V1.Model.IngressTo.t() | nil,
34+
:title => String.t() | nil
3335
}
3436

3537
field(:ingressFrom, as: GoogleApi.AccessContextManager.V1.Model.IngressFrom)
3638
field(:ingressTo, as: GoogleApi.AccessContextManager.V1.Model.IngressTo)
39+
field(:title)
3740
end
3841

3942
defimpl Poison.Decoder, for: GoogleApi.AccessContextManager.V1.Model.IngressPolicy do

clients/access_context_manager/mix.exs

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

21-
@version "0.26.1"
21+
@version "0.27.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)