Skip to content

Commit

Permalink
feat: Automated regeneration of WorkloadManager client (#11199)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-26 13:08:11 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 26, 2024
1 parent 21ddfed commit 9a0e699
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion clients/workload_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_workload_manager, "~> 0.3"}]
[{:google_api_workload_manager, "~> 0.4"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -294,6 +295,7 @@ defmodule GoogleApi.WorkloadManager.V1.Api.Projects do
:quotaUser => :query,
:uploadType => :query,
:upload_protocol => :query,
:force => :query,
:requestId => :query
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -31,13 +32,15 @@ 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,
:primaryInstanceUri => String.t() | nil,
:sharedNfsUri => String.t() | nil
}

field(:databaseSid)
field(:databaseType)
field(:databaseVersion)
field(:instanceNumber)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,20 @@ 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.
"""

use GoogleApi.Gax.ModelBase

@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

Expand Down
2 changes: 1 addition & 1 deletion clients/workload_manager/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.WorkloadManager.Mixfile do
use Mix.Project

@version "0.3.0"
@version "0.4.0"

def project() do
[
Expand Down

0 comments on commit 9a0e699

Please sign in to comment.