Skip to content

Commit 8294d41

Browse files
feat: Automated regeneration of AccessContextManager client (#13170)
Auto-created at 2025-03-15 13:16:26 +0000 using the toys pull request generator.
1 parent 65598a2 commit 8294d41

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

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 "20250212"
23+
@discovery_revision "20250312"
2424

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

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,22 @@ defmodule GoogleApi.AccessContextManager.V1.Model.EgressTo do
2424
* `externalResources` (*type:* `list(String.t)`, *default:* `nil`) - A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported formats are s3://BUCKET_NAME, s3a://BUCKET_NAME, and s3n://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.
2525
* `operations` (*type:* `list(GoogleApi.AccessContextManager.V1.Model.ApiOperation.t)`, *default:* `nil`) - A list of ApiOperations allowed to be performed by the sources specified in the corresponding EgressFrom. A request matches if it uses an operation/service in this list.
2626
* `resources` (*type:* `list(String.t)`, *default:* `nil`) - A list of resources, currently only projects in the form `projects/`, that are allowed to be accessed by sources defined in the corresponding EgressFrom. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this EgressTo rule will authorize access to all resources outside the perimeter.
27+
* `roles` (*type:* `list(String.t)`, *default:* `nil`) - IAM roles that represent the set of operations that the sources specified in the corresponding EgressFrom. are allowed to perform in this ServicePerimeter.
2728
"""
2829

2930
use GoogleApi.Gax.ModelBase
3031

3132
@type t :: %__MODULE__{
3233
:externalResources => list(String.t()) | nil,
3334
:operations => list(GoogleApi.AccessContextManager.V1.Model.ApiOperation.t()) | nil,
34-
:resources => list(String.t()) | nil
35+
:resources => list(String.t()) | nil,
36+
:roles => list(String.t()) | nil
3537
}
3638

3739
field(:externalResources, type: :list)
3840
field(:operations, as: GoogleApi.AccessContextManager.V1.Model.ApiOperation, type: :list)
3941
field(:resources, type: :list)
42+
field(:roles, type: :list)
4043
end
4144

4245
defimpl Poison.Decoder, for: GoogleApi.AccessContextManager.V1.Model.EgressTo do

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ defmodule GoogleApi.AccessContextManager.V1.Model.IngressTo do
2323
2424
* `operations` (*type:* `list(GoogleApi.AccessContextManager.V1.Model.ApiOperation.t)`, *default:* `nil`) - A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter.
2525
* `resources` (*type:* `list(String.t)`, *default:* `nil`) - A list of resources, currently only projects in the form `projects/`, protected by this ServicePerimeter that are allowed to be accessed by sources defined in the corresponding IngressFrom. If a single `*` is specified, then access to all resources inside the perimeter are allowed.
26+
* `roles` (*type:* `list(String.t)`, *default:* `nil`) - IAM roles that represent the set of operations that the sources specified in the corresponding IngressFrom are allowed to perform in this ServicePerimeter.
2627
"""
2728

2829
use GoogleApi.Gax.ModelBase
2930

3031
@type t :: %__MODULE__{
3132
:operations => list(GoogleApi.AccessContextManager.V1.Model.ApiOperation.t()) | nil,
32-
:resources => list(String.t()) | nil
33+
:resources => list(String.t()) | nil,
34+
:roles => list(String.t()) | nil
3335
}
3436

3537
field(:operations, as: GoogleApi.AccessContextManager.V1.Model.ApiOperation, type: :list)
3638
field(:resources, type: :list)
39+
field(:roles, type: :list)
3740
end
3841

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

0 commit comments

Comments
 (0)