diff --git a/clients/run/README.md b/clients/run/README.md index cb52deb27c..2e024f8f47 100644 --- a/clients/run/README.md +++ b/clients/run/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_run, "~> 0.40"}] + [{:google_api_run, "~> 0.41"}] end ``` diff --git a/clients/run/lib/google_api/run/v2/metadata.ex b/clients/run/lib/google_api/run/v2/metadata.ex index 6680bcffee..f1206cf370 100644 --- a/clients/run/lib/google_api/run/v2/metadata.ex +++ b/clients/run/lib/google_api/run/v2/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Run.V2 do API client metadata for GoogleApi.Run.V2. """ - @discovery_revision "20241109" + @discovery_revision "20241115" def discovery_revision(), do: @discovery_revision end diff --git a/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_buildpacks_build.ex b/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_buildpacks_build.ex index 05d18bb211..23b06e716c 100644 --- a/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_buildpacks_build.ex +++ b/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_buildpacks_build.ex @@ -26,6 +26,7 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2BuildpacksBuild do * `enableAutomaticUpdates` (*type:* `boolean()`, *default:* `nil`) - Optional. Whether or not the application container will be enrolled in automatic base image updates. When true, the application will be built on a scratch base image, so the base layers can be appended at run time. * `environmentVariables` (*type:* `map()`, *default:* `nil`) - Optional. User-provided build-time environment variables. * `functionTarget` (*type:* `String.t`, *default:* `nil`) - Optional. Name of the function target if the source is a function source. Required for function builds. + * `projectDescriptor` (*type:* `String.t`, *default:* `nil`) - Optional. project_descriptor stores the path to the project descriptor file. When empty, it means that there is no project descriptor file in the source. * `runtime` (*type:* `String.t`, *default:* `nil`) - The runtime name, e.g. 'go113'. Leave blank for generic builds. """ @@ -37,6 +38,7 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2BuildpacksBuild do :enableAutomaticUpdates => boolean() | nil, :environmentVariables => map() | nil, :functionTarget => String.t() | nil, + :projectDescriptor => String.t() | nil, :runtime => String.t() | nil } @@ -45,6 +47,7 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2BuildpacksBuild do field(:enableAutomaticUpdates) field(:environmentVariables, type: :map) field(:functionTarget) + field(:projectDescriptor) field(:runtime) end diff --git a/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_revision_template.ex b/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_revision_template.ex index 4166dd1155..6f2656e2fa 100644 --- a/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_revision_template.ex +++ b/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_revision_template.ex @@ -29,7 +29,7 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2RevisionTemplate do * `executionEnvironment` (*type:* `String.t`, *default:* `nil`) - Optional. The sandbox environment to host this Revision. * `healthCheckDisabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Disables health checking containers during deployment. * `labels` (*type:* `map()`, *default:* `nil`) - Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate. - * `maxInstanceRequestConcurrency` (*type:* `integer()`, *default:* `nil`) - Optional. Sets the maximum number of requests that each serving instance can receive. If not specified or 0, defaults to 80 when requested `CPU >= 1` and defaults to 1 when requested `CPU < 1`. + * `maxInstanceRequestConcurrency` (*type:* `integer()`, *default:* `nil`) - Optional. Sets the maximum number of requests that each serving instance can receive. If not specified or 0, concurrency defaults to 80 when requested `CPU >= 1` and defaults to 1 when requested `CPU < 1`. * `nodeSelector` (*type:* `GoogleApi.Run.V2.Model.GoogleCloudRunV2NodeSelector.t`, *default:* `nil`) - Optional. The node selector for the revision template. * `revision` (*type:* `String.t`, *default:* `nil`) - Optional. The unique name for the revision. If this field is omitted, it will be automatically generated based on the Service name. * `scaling` (*type:* `GoogleApi.Run.V2.Model.GoogleCloudRunV2RevisionScaling.t`, *default:* `nil`) - Optional. Scaling settings for this Revision. diff --git a/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_secret_volume_source.ex b/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_secret_volume_source.ex index 2891b2e36b..d530603741 100644 --- a/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_secret_volume_source.ex +++ b/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_secret_volume_source.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2SecretVolumeSource do ## Attributes - * `defaultMode` (*type:* `integer()`, *default:* `nil`) - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set. + * `defaultMode` (*type:* `integer()`, *default:* `nil`) - Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set. * `items` (*type:* `list(GoogleApi.Run.V2.Model.GoogleCloudRunV2VersionToPath.t)`, *default:* `nil`) - If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version. * `secret` (*type:* `String.t`, *default:* `nil`) - Required. The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project. """ diff --git a/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_version_to_path.ex b/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_version_to_path.ex index fb31f592ee..5635154d5f 100644 --- a/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_version_to_path.ex +++ b/clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_version_to_path.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2VersionToPath do ## Attributes - * `mode` (*type:* `integer()`, *default:* `nil`) - Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + * `mode` (*type:* `integer()`, *default:* `nil`) - Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. * `path` (*type:* `String.t`, *default:* `nil`) - Required. The relative path of the secret in the container. * `version` (*type:* `String.t`, *default:* `nil`) - The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version. """ diff --git a/clients/run/mix.exs b/clients/run/mix.exs index 09a8b64e5a..320fb0ca42 100644 --- a/clients/run/mix.exs +++ b/clients/run/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.Run.Mixfile do use Mix.Project - @version "0.40.0" + @version "0.41.0" def project() do [