Skip to content

Commit 07cf0d9

Browse files
feat: Automated regeneration of AccessContextManager client (googleapis#12461)
Auto-created at 2024-11-02 13:12:54 +0000 using the toys pull request generator.
1 parent 39992bf commit 07cf0d9

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-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.24"}]
14+
[{:google_api_access_context_manager, "~> 0.25"}]
1515
end
1616
```
1717

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ defmodule GoogleApi.AccessContextManager.V1.Api.Organizations do
335335
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
336336
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
337337
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
338-
* `:append` (*type:* `boolean()`) - Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings supports appending. Global access_levels, dry_run_access_levels, reauth_settings, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when "scoped_access_settings" is not set in the update_mask.
338+
* `:append` (*type:* `boolean()`) - Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings with reauth_settings supports appending. Global access_levels, access_levels in scoped_access_settings, dry_run_access_levels, reauth_settings, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when "scoped_access_settings" is not set in the update_mask.
339339
* `:updateMask` (*type:* `String.t`) - Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and may only contain the following fields: `access_levels`, `dry_run_access_levels`, `reauth_settings` `session_settings`, `scoped_access_settings`. update_mask { paths: "access_levels" }
340340
* `:body` (*type:* `GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding.t`) -
341341
* `opts` (*type:* `keyword()`) - Call options

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 "20241022"
23+
@discovery_revision "20241028"
2424

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

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding do
1919
@moduledoc """
20-
Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. Next ID: 11
20+
Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.
2121
2222
## Attributes
2323
@@ -28,6 +28,7 @@ defmodule GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding do
2828
* `reauthSettings` (*type:* `GoogleApi.AccessContextManager.V1.Model.ReauthSettings.t`, *default:* `nil`) - Optional. GCSL policy for the group key.
2929
* `restrictedClientApplications` (*type:* `list(GoogleApi.AccessContextManager.V1.Model.Application.t)`, *default:* `nil`) - Optional. A list of applications that are subject to this binding's restrictions. If the list is empty, the binding restrictions will universally apply to all applications.
3030
* `scopedAccessSettings` (*type:* `list(GoogleApi.AccessContextManager.V1.Model.ScopedAccessSettings.t)`, *default:* `nil`) - Optional. A list of scoped access settings that set this binding's restrictions on a subset of applications. This field cannot be set if restricted_client_applications is set.
31+
* `sessionSettings` (*type:* `GoogleApi.AccessContextManager.V1.Model.SessionSettings.t`, *default:* `nil`) - Optional. GCSL policy for the group key. Migrated from ReauthSettings
3132
"""
3233

3334
use GoogleApi.Gax.ModelBase
@@ -41,7 +42,8 @@ defmodule GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding do
4142
:restrictedClientApplications =>
4243
list(GoogleApi.AccessContextManager.V1.Model.Application.t()) | nil,
4344
:scopedAccessSettings =>
44-
list(GoogleApi.AccessContextManager.V1.Model.ScopedAccessSettings.t()) | nil
45+
list(GoogleApi.AccessContextManager.V1.Model.ScopedAccessSettings.t()) | nil,
46+
:sessionSettings => GoogleApi.AccessContextManager.V1.Model.SessionSettings.t() | nil
4547
}
4648

4749
field(:accessLevels, type: :list)
@@ -59,6 +61,8 @@ defmodule GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding do
5961
as: GoogleApi.AccessContextManager.V1.Model.ScopedAccessSettings,
6062
type: :list
6163
)
64+
65+
field(:sessionSettings, as: GoogleApi.AccessContextManager.V1.Model.SessionSettings)
6266
end
6367

6468
defimpl Poison.Decoder, for: GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding 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.24.0"
21+
@version "0.25.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)