Skip to content

Commit

Permalink
feat: Automated regeneration of AccessContextManager client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 2, 2024
1 parent 2b13da6 commit 0b07878
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion clients/access_context_manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion clients/access_context_manager/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.AccessContextManager.Mixfile do
use Mix.Project

@version "0.24.0"
@version "0.25.0"

def project() do
[
Expand Down

0 comments on commit 0b07878

Please sign in to comment.