From 95a8f863344570f999d61745a9e11bcb68910589 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 15 May 2024 13:12:05 +0000 Subject: [PATCH] feat: Automated regeneration of OSConfig client --- clients/os_config/README.md | 2 +- .../lib/google_api/os_config/v1/api/projects.ex | 10 +++++++++- .../os_config/lib/google_api/os_config/v1/metadata.ex | 2 +- clients/os_config/mix.exs | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/clients/os_config/README.md b/clients/os_config/README.md index 6b7f0c1961..d34dbfc5a6 100644 --- a/clients/os_config/README.md +++ b/clients/os_config/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_os_config, "~> 0.21"}] + [{:google_api_os_config, "~> 0.22"}] end ``` diff --git a/clients/os_config/lib/google_api/os_config/v1/api/projects.ex b/clients/os_config/lib/google_api/os_config/v1/api/projects.ex index 6f3ff7cc34..38a2ec6adc 100644 --- a/clients/os_config/lib/google_api/os_config/v1/api/projects.ex +++ b/clients/os_config/lib/google_api/os_config/v1/api/projects.ex @@ -635,6 +635,7 @@ defmodule GoogleApi.OSConfig.V1.Api.Projects do * `: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"). * `:osPolicyAssignmentId` (*type:* `String.t`) - Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project. + * `:requestId` (*type:* `String.t`) - Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided. * `:body` (*type:* `GoogleApi.OSConfig.V1.Model.OSPolicyAssignment.t`) - * `opts` (*type:* `keyword()`) - Call options @@ -672,6 +673,7 @@ defmodule GoogleApi.OSConfig.V1.Api.Projects do :uploadType => :query, :upload_protocol => :query, :osPolicyAssignmentId => :query, + :requestId => :query, :body => :body } @@ -708,6 +710,7 @@ defmodule GoogleApi.OSConfig.V1.Api.Projects 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"). + * `:requestId` (*type:* `String.t`) - Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided. * `opts` (*type:* `keyword()`) - Call options ## Returns @@ -742,7 +745,8 @@ defmodule GoogleApi.OSConfig.V1.Api.Projects do :prettyPrint => :query, :quotaUser => :query, :uploadType => :query, - :upload_protocol => :query + :upload_protocol => :query, + :requestId => :query } request = @@ -1000,6 +1004,8 @@ defmodule GoogleApi.OSConfig.V1.Api.Projects 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"). + * `:allowMissing` (*type:* `boolean()`) - Optional. If set to true, and the OS policy assignment is not found, a new OS policy assignment will be created. In this situation, `update_mask` is ignored. + * `:requestId` (*type:* `String.t`) - Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided. * `:updateMask` (*type:* `String.t`) - Optional. Field mask that controls which fields of the assignment should be updated. * `:body` (*type:* `GoogleApi.OSConfig.V1.Model.OSPolicyAssignment.t`) - * `opts` (*type:* `keyword()`) - Call options @@ -1037,6 +1043,8 @@ defmodule GoogleApi.OSConfig.V1.Api.Projects do :quotaUser => :query, :uploadType => :query, :upload_protocol => :query, + :allowMissing => :query, + :requestId => :query, :updateMask => :query, :body => :body } diff --git a/clients/os_config/lib/google_api/os_config/v1/metadata.ex b/clients/os_config/lib/google_api/os_config/v1/metadata.ex index c2bf43a1e7..f42987be96 100644 --- a/clients/os_config/lib/google_api/os_config/v1/metadata.ex +++ b/clients/os_config/lib/google_api/os_config/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.OSConfig.V1 do API client metadata for GoogleApi.OSConfig.V1. """ - @discovery_revision "20240407" + @discovery_revision "20240512" def discovery_revision(), do: @discovery_revision end diff --git a/clients/os_config/mix.exs b/clients/os_config/mix.exs index 6c7c524ee1..b4ff7171a9 100644 --- a/clients/os_config/mix.exs +++ b/clients/os_config/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.OSConfig.Mixfile do use Mix.Project - @version "0.21.1" + @version "0.22.0" def project() do [