diff --git a/clients/workload_manager/README.md b/clients/workload_manager/README.md index 9beac5fbc2..c378f06dc7 100644 --- a/clients/workload_manager/README.md +++ b/clients/workload_manager/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_workload_manager, "~> 0.3"}] + [{:google_api_workload_manager, "~> 0.4"}] end ``` diff --git a/clients/workload_manager/lib/google_api/workload_manager/v1/api/projects.ex b/clients/workload_manager/lib/google_api/workload_manager/v1/api/projects.ex index fb68eced7f..610c62f4fa 100644 --- a/clients/workload_manager/lib/google_api/workload_manager/v1/api/projects.ex +++ b/clients/workload_manager/lib/google_api/workload_manager/v1/api/projects.ex @@ -258,6 +258,7 @@ defmodule GoogleApi.WorkloadManager.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"). + * `:force` (*type:* `boolean()`) - Optional. Followed the best practice from https://aip.dev/135#cascading-delete * `:requestId` (*type:* `String.t`) - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). * `opts` (*type:* `keyword()`) - Call options @@ -294,6 +295,7 @@ defmodule GoogleApi.WorkloadManager.V1.Api.Projects do :quotaUser => :query, :uploadType => :query, :upload_protocol => :query, + :force => :query, :requestId => :query } diff --git a/clients/workload_manager/lib/google_api/workload_manager/v1/metadata.ex b/clients/workload_manager/lib/google_api/workload_manager/v1/metadata.ex index 971360595f..f6ba297652 100644 --- a/clients/workload_manager/lib/google_api/workload_manager/v1/metadata.ex +++ b/clients/workload_manager/lib/google_api/workload_manager/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.WorkloadManager.V1 do API client metadata for GoogleApi.WorkloadManager.V1. """ - @discovery_revision "20240306" + @discovery_revision "20240322" def discovery_revision(), do: @discovery_revision end diff --git a/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_component_application_properties.ex b/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_component_application_properties.ex index 48f5ff367f..5ecd09952f 100644 --- a/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_component_application_properties.ex +++ b/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_component_application_properties.ex @@ -22,9 +22,10 @@ defmodule GoogleApi.WorkloadManager.V1.Model.SapDiscoveryComponentApplicationPro ## Attributes * `abap` (*type:* `boolean()`, *default:* `nil`) - Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java. + * `appInstanceNumber` (*type:* `String.t`, *default:* `nil`) - Optional. Instance number of the SAP application instance. * `applicationType` (*type:* `String.t`, *default:* `nil`) - Required. Type of the application. Netweaver, etc. + * `ascsInstanceNumber` (*type:* `String.t`, *default:* `nil`) - Optional. Instance number of the ASCS instance. * `ascsUri` (*type:* `String.t`, *default:* `nil`) - Optional. Resource URI of the recognized ASCS host of the application. - * `instanceNumber` (*type:* `String.t`, *default:* `nil`) - Optional. Instance number of the SAP instance. * `kernelVersion` (*type:* `String.t`, *default:* `nil`) - Optional. Kernel version for Netweaver running in the system. * `nfsUri` (*type:* `String.t`, *default:* `nil`) - Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node. """ @@ -33,17 +34,19 @@ defmodule GoogleApi.WorkloadManager.V1.Model.SapDiscoveryComponentApplicationPro @type t :: %__MODULE__{ :abap => boolean() | nil, + :appInstanceNumber => String.t() | nil, :applicationType => String.t() | nil, + :ascsInstanceNumber => String.t() | nil, :ascsUri => String.t() | nil, - :instanceNumber => String.t() | nil, :kernelVersion => String.t() | nil, :nfsUri => String.t() | nil } field(:abap) + field(:appInstanceNumber) field(:applicationType) + field(:ascsInstanceNumber) field(:ascsUri) - field(:instanceNumber) field(:kernelVersion) field(:nfsUri) end diff --git a/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_component_database_properties.ex b/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_component_database_properties.ex index 99c295b89a..03cb0ff1f8 100644 --- a/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_component_database_properties.ex +++ b/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_component_database_properties.ex @@ -21,6 +21,7 @@ defmodule GoogleApi.WorkloadManager.V1.Model.SapDiscoveryComponentDatabaseProper ## Attributes + * `databaseSid` (*type:* `String.t`, *default:* `nil`) - Optional. SID of the system database. * `databaseType` (*type:* `String.t`, *default:* `nil`) - Required. Type of the database. HANA, DB2, etc. * `databaseVersion` (*type:* `String.t`, *default:* `nil`) - Optional. The version of the database software running in the system. * `instanceNumber` (*type:* `String.t`, *default:* `nil`) - Optional. Instance number of the SAP instance. @@ -31,6 +32,7 @@ defmodule GoogleApi.WorkloadManager.V1.Model.SapDiscoveryComponentDatabaseProper use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :databaseSid => String.t() | nil, :databaseType => String.t() | nil, :databaseVersion => String.t() | nil, :instanceNumber => String.t() | nil, @@ -38,6 +40,7 @@ defmodule GoogleApi.WorkloadManager.V1.Model.SapDiscoveryComponentDatabaseProper :sharedNfsUri => String.t() | nil } + field(:databaseSid) field(:databaseType) field(:databaseVersion) field(:instanceNumber) diff --git a/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_resource_instance_properties.ex b/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_resource_instance_properties.ex index 9a2ef479fa..683f5f1b41 100644 --- a/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_resource_instance_properties.ex +++ b/clients/workload_manager/lib/google_api/workload_manager/v1/model/sap_discovery_resource_instance_properties.ex @@ -22,6 +22,7 @@ defmodule GoogleApi.WorkloadManager.V1.Model.SapDiscoveryResourceInstancePropert ## Attributes * `clusterInstances` (*type:* `list(String.t)`, *default:* `nil`) - Optional. A list of instance URIs that are part of a cluster with this one. + * `instanceNumber` (*type:* `String.t`, *default:* `nil`) - Optional. The VM's instance number. * `virtualHostname` (*type:* `String.t`, *default:* `nil`) - Optional. A virtual hostname of the instance if it has one. """ @@ -29,10 +30,12 @@ defmodule GoogleApi.WorkloadManager.V1.Model.SapDiscoveryResourceInstancePropert @type t :: %__MODULE__{ :clusterInstances => list(String.t()) | nil, + :instanceNumber => String.t() | nil, :virtualHostname => String.t() | nil } field(:clusterInstances, type: :list) + field(:instanceNumber) field(:virtualHostname) end diff --git a/clients/workload_manager/mix.exs b/clients/workload_manager/mix.exs index d63bfeb00d..38697fa3c8 100644 --- a/clients/workload_manager/mix.exs +++ b/clients/workload_manager/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.WorkloadManager.Mixfile do use Mix.Project - @version "0.3.0" + @version "0.4.0" def project() do [