Skip to content

Commit 48576bc

Browse files
feat: Automated regeneration of CloudAsset client (#13136)
Auto-created at 2025-03-13 13:12:29 +0000 using the toys pull request generator.
1 parent fecd7cf commit 48576bc

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

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

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

23-
@discovery_revision "20250215"
23+
@discovery_revision "20250307"
2424

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

clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_egress_to.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ defmodule GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1Egre
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.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1ApiOperation.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
@@ -35,7 +36,8 @@ defmodule GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1Egre
3536
GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1ApiOperation.t()
3637
)
3738
| nil,
38-
:resources => list(String.t()) | nil
39+
:resources => list(String.t()) | nil,
40+
:roles => list(String.t()) | nil
3941
}
4042

4143
field(:externalResources, type: :list)
@@ -46,6 +48,7 @@ defmodule GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1Egre
4648
)
4749

4850
field(:resources, type: :list)
51+
field(:roles, type: :list)
4952
end
5053

5154
defimpl Poison.Decoder,

clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_ingress_to.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ defmodule GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1Ingr
2323
2424
* `operations` (*type:* `list(GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1ApiOperation.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
@@ -33,7 +34,8 @@ defmodule GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1Ingr
3334
GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1ApiOperation.t()
3435
)
3536
| nil,
36-
:resources => list(String.t()) | nil
37+
:resources => list(String.t()) | nil,
38+
:roles => list(String.t()) | nil
3739
}
3840

3941
field(:operations,
@@ -42,6 +44,7 @@ defmodule GoogleApi.CloudAsset.V1.Model.GoogleIdentityAccesscontextmanagerV1Ingr
4244
)
4345

4446
field(:resources, type: :list)
47+
field(:roles, type: :list)
4548
end
4649

4750
defimpl Poison.Decoder,

0 commit comments

Comments
 (0)