From 490244f03dced558c7adf9643961c5475b5e8e0b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 Mar 2024 02:44:31 +0000 Subject: [PATCH] feat: Automated regeneration of OSConfig client --- clients/os_config/lib/google_api/os_config/v1/api/projects.ex | 4 ++-- clients/os_config/lib/google_api/os_config/v1/metadata.ex | 2 +- .../os_config/lib/google_api/os_config/v1/model/operation.ex | 2 +- .../v1/model/os_policy_resource_exec_resource_exec.ex | 2 +- .../os_config/v1/model/os_policy_resource_file_resource.ex | 2 +- .../os_config/lib/google_api/os_config/v1/model/patch_job.ex | 2 +- .../lib/google_api/os_config/v1/model/week_day_of_month.ex | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) 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 25f772dd71..782dbfb66d 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 @@ -176,7 +176,7 @@ defmodule GoogleApi.OSConfig.V1.Api.Projects do end @doc """ - Get the OS policy asssignment report for the specified Compute Engine VM instance. + Get the OS policy assignment report for the specified Compute Engine VM instance. ## Parameters @@ -246,7 +246,7 @@ defmodule GoogleApi.OSConfig.V1.Api.Projects do end @doc """ - List OS policy asssignment reports for all Compute Engine VM instances in the specified zone. + List OS policy assignment reports for all Compute Engine VM instances in the specified zone. ## Parameters 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 9f7edeb35e..326c510d37 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 "20221014" + @discovery_revision "20240304" def discovery_revision(), do: @discovery_revision end diff --git a/clients/os_config/lib/google_api/os_config/v1/model/operation.ex b/clients/os_config/lib/google_api/os_config/v1/model/operation.ex index c631877d15..77042f9689 100644 --- a/clients/os_config/lib/google_api/os_config/v1/model/operation.ex +++ b/clients/os_config/lib/google_api/os_config/v1/model/operation.ex @@ -25,7 +25,7 @@ defmodule GoogleApi.OSConfig.V1.Model.Operation do * `error` (*type:* `GoogleApi.OSConfig.V1.Model.Status.t`, *default:* `nil`) - The error result of the operation in case of failure or cancellation. * `metadata` (*type:* `map()`, *default:* `nil`) - Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. * `name` (*type:* `String.t`, *default:* `nil`) - The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. - * `response` (*type:* `map()`, *default:* `nil`) - The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + * `response` (*type:* `map()`, *default:* `nil`) - The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. """ use GoogleApi.Gax.ModelBase diff --git a/clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_exec_resource_exec.ex b/clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_exec_resource_exec.ex index 503226aa18..5d11e7f02c 100644 --- a/clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_exec_resource_exec.ex +++ b/clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_exec_resource_exec.ex @@ -25,7 +25,7 @@ defmodule GoogleApi.OSConfig.V1.Model.OSPolicyResourceExecResourceExec do * `file` (*type:* `GoogleApi.OSConfig.V1.Model.OSPolicyResourceFile.t`, *default:* `nil`) - A remote or local file. * `interpreter` (*type:* `String.t`, *default:* `nil`) - Required. The script interpreter to use. * `outputFilePath` (*type:* `String.t`, *default:* `nil`) - Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes. - * `script` (*type:* `String.t`, *default:* `nil`) - An inline script. The size of the script is limited to 1024 characters. + * `script` (*type:* `String.t`, *default:* `nil`) - An inline script. The size of the script is limited to 32KiB. """ use GoogleApi.Gax.ModelBase diff --git a/clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_file_resource.ex b/clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_file_resource.ex index e6dc7dec73..12e59ae7bb 100644 --- a/clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_file_resource.ex +++ b/clients/os_config/lib/google_api/os_config/v1/model/os_policy_resource_file_resource.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.OSConfig.V1.Model.OSPolicyResourceFileResource do ## Attributes - * `content` (*type:* `String.t`, *default:* `nil`) - A a file with this content. The size of the content is limited to 1024 characters. + * `content` (*type:* `String.t`, *default:* `nil`) - A a file with this content. The size of the content is limited to 32KiB. * `file` (*type:* `GoogleApi.OSConfig.V1.Model.OSPolicyResourceFile.t`, *default:* `nil`) - A remote or local source. * `path` (*type:* `String.t`, *default:* `nil`) - Required. The absolute path of the file within the VM. * `permissions` (*type:* `String.t`, *default:* `nil`) - Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6 read only: 4 diff --git a/clients/os_config/lib/google_api/os_config/v1/model/patch_job.ex b/clients/os_config/lib/google_api/os_config/v1/model/patch_job.ex index 9c2fb0f17c..4169bd975a 100644 --- a/clients/os_config/lib/google_api/os_config/v1/model/patch_job.ex +++ b/clients/os_config/lib/google_api/os_config/v1/model/patch_job.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.OSConfig.V1.Model.PatchJob do @moduledoc """ - A high level representation of a patch job that is either in progress or has completed. Instance details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails. For more information about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job). + A high level representation of a patch job that is either in progress or has completed. Instance details are not included in the job. To paginate through instance details, use `ListPatchJobInstanceDetails`. For more information about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job). ## Attributes diff --git a/clients/os_config/lib/google_api/os_config/v1/model/week_day_of_month.ex b/clients/os_config/lib/google_api/os_config/v1/model/week_day_of_month.ex index 9ef982e778..3416904e52 100644 --- a/clients/os_config/lib/google_api/os_config/v1/model/week_day_of_month.ex +++ b/clients/os_config/lib/google_api/os_config/v1/model/week_day_of_month.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.OSConfig.V1.Model.WeekDayOfMonth do ## Attributes * `dayOfWeek` (*type:* `String.t`, *default:* `nil`) - Required. A day of the week. - * `dayOffset` (*type:* `integer()`, *default:* `nil`) - Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second day of the month and this `day_offset` value is set to `3`, the patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, the patches are deployed five days before before the second Tuesday of the month. Allowed values are in range [-30, 30]. + * `dayOffset` (*type:* `integer()`, *default:* `nil`) - Optional. Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. For example if `week_ordinal` and `day_of_week` values point to the second Tuesday of the month and the `day_offset` value is set to `3`, patch deployment takes place three days after the second Tuesday of the month. If this value is negative, for example -5, patches are deployed five days before the second Tuesday of the month. Allowed values are in range [-30, 30]. * `weekOrdinal` (*type:* `integer()`, *default:* `nil`) - Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month. """