diff --git a/clients/access_context_manager/README.md b/clients/access_context_manager/README.md index da943483c5..e2d7dabf59 100644 --- a/clients/access_context_manager/README.md +++ b/clients/access_context_manager/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_access_context_manager, "~> 0.24"}] + [{:google_api_access_context_manager, "~> 0.25"}] end ``` diff --git a/clients/access_context_manager/lib/google_api/access_context_manager/v1/api/organizations.ex b/clients/access_context_manager/lib/google_api/access_context_manager/v1/api/organizations.ex index 5e09dc1dca..dd2d6747cc 100644 --- a/clients/access_context_manager/lib/google_api/access_context_manager/v1/api/organizations.ex +++ b/clients/access_context_manager/lib/google_api/access_context_manager/v1/api/organizations.ex @@ -335,7 +335,7 @@ defmodule GoogleApi.AccessContextManager.V1.Api.Organizations do * `: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. * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). - * `: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. + * `: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. * `: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" } * `:body` (*type:* `GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding.t`) - * `opts` (*type:* `keyword()`) - Call options diff --git a/clients/access_context_manager/lib/google_api/access_context_manager/v1/metadata.ex b/clients/access_context_manager/lib/google_api/access_context_manager/v1/metadata.ex index 3c1c79f58c..dcf00dc381 100644 --- a/clients/access_context_manager/lib/google_api/access_context_manager/v1/metadata.ex +++ b/clients/access_context_manager/lib/google_api/access_context_manager/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.AccessContextManager.V1 do API client metadata for GoogleApi.AccessContextManager.V1. """ - @discovery_revision "20241022" + @discovery_revision "20241028" def discovery_revision(), do: @discovery_revision end diff --git a/clients/access_context_manager/lib/google_api/access_context_manager/v1/model/gcp_user_access_binding.ex b/clients/access_context_manager/lib/google_api/access_context_manager/v1/model/gcp_user_access_binding.ex index bf7648c71f..47d9e8c948 100644 --- a/clients/access_context_manager/lib/google_api/access_context_manager/v1/model/gcp_user_access_binding.ex +++ b/clients/access_context_manager/lib/google_api/access_context_manager/v1/model/gcp_user_access_binding.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding do @moduledoc """ - Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. Next ID: 11 + Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. ## Attributes @@ -28,6 +28,7 @@ defmodule GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding do * `reauthSettings` (*type:* `GoogleApi.AccessContextManager.V1.Model.ReauthSettings.t`, *default:* `nil`) - Optional. GCSL policy for the group key. * `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. * `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. + * `sessionSettings` (*type:* `GoogleApi.AccessContextManager.V1.Model.SessionSettings.t`, *default:* `nil`) - Optional. GCSL policy for the group key. Migrated from ReauthSettings """ use GoogleApi.Gax.ModelBase @@ -41,7 +42,8 @@ defmodule GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding do :restrictedClientApplications => list(GoogleApi.AccessContextManager.V1.Model.Application.t()) | nil, :scopedAccessSettings => - list(GoogleApi.AccessContextManager.V1.Model.ScopedAccessSettings.t()) | nil + list(GoogleApi.AccessContextManager.V1.Model.ScopedAccessSettings.t()) | nil, + :sessionSettings => GoogleApi.AccessContextManager.V1.Model.SessionSettings.t() | nil } field(:accessLevels, type: :list) @@ -59,6 +61,8 @@ defmodule GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding do as: GoogleApi.AccessContextManager.V1.Model.ScopedAccessSettings, type: :list ) + + field(:sessionSettings, as: GoogleApi.AccessContextManager.V1.Model.SessionSettings) end defimpl Poison.Decoder, for: GoogleApi.AccessContextManager.V1.Model.GcpUserAccessBinding do diff --git a/clients/access_context_manager/mix.exs b/clients/access_context_manager/mix.exs index 1d033b6ea8..aae8b94744 100644 --- a/clients/access_context_manager/mix.exs +++ b/clients/access_context_manager/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.AccessContextManager.Mixfile do use Mix.Project - @version "0.24.0" + @version "0.25.0" def project() do [