Skip to content

Commit

Permalink
feat: Automated regeneration of Connectors client (#12241)
Browse files Browse the repository at this point in the history
Auto-created at 2024-09-29 13:15:55 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Sep 29, 2024
1 parent 2830580 commit d66ce59
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/connectors/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_connectors, "~> 0.13"}]
[{:google_api_connectors, "~> 0.14"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Connectors.V1 do
API client metadata for GoogleApi.Connectors.V1.
"""

@discovery_revision "20240918"
@discovery_revision "20240924"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ defmodule GoogleApi.Connectors.V1.Model.ConnectorInfraConfig do
## Attributes
* `alwaysAllocateCpu` (*type:* `boolean()`, *default:* `nil`) - Indicates that the Cloud Run CPU should always be allocated.
* `connectionRatelimitWindowSeconds` (*type:* `String.t`, *default:* `nil`) - The window used for ratelimiting runtime requests to connections.
* `deploymentModel` (*type:* `String.t`, *default:* `nil`) - Indicate whether connector is deployed on GKE/CloudRun
* `hpaConfig` (*type:* `GoogleApi.Connectors.V1.Model.HPAConfig.t`, *default:* `nil`) - HPA autoscaling config.
* `internalclientRatelimitThreshold` (*type:* `String.t`, *default:* `nil`) - Max QPS supported for internal requests originating from Connd.
* `maxInstanceRequestConcurrency` (*type:* `integer()`, *default:* `nil`) - Max Instance Request Conncurrency for Cloud Run service.
* `migrateDeploymentModel` (*type:* `boolean()`, *default:* `nil`) - Indicate whether connector is being migrated to cloud run deployment model.
* `migrateTls` (*type:* `boolean()`, *default:* `nil`) - Indicate whether connector is being migrated to TLS.
* `provisionCloudSpanner` (*type:* `boolean()`, *default:* `nil`) - Indicate whether cloud spanner is required for connector job.
* `ratelimitThreshold` (*type:* `String.t`, *default:* `nil`) - Max QPS supported by the connector version before throttling of requests.
* `resourceLimits` (*type:* `GoogleApi.Connectors.V1.Model.ResourceLimits.t`, *default:* `nil`) - System resource limits.
* `resourceRequests` (*type:* `GoogleApi.Connectors.V1.Model.ResourceRequests.t`, *default:* `nil`) - System resource requests.
Expand All @@ -37,26 +39,30 @@ defmodule GoogleApi.Connectors.V1.Model.ConnectorInfraConfig do
use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:alwaysAllocateCpu => boolean() | nil,
:connectionRatelimitWindowSeconds => String.t() | nil,
:deploymentModel => String.t() | nil,
:hpaConfig => GoogleApi.Connectors.V1.Model.HPAConfig.t() | nil,
:internalclientRatelimitThreshold => String.t() | nil,
:maxInstanceRequestConcurrency => integer() | nil,
:migrateDeploymentModel => boolean() | nil,
:migrateTls => boolean() | nil,
:provisionCloudSpanner => boolean() | nil,
:ratelimitThreshold => String.t() | nil,
:resourceLimits => GoogleApi.Connectors.V1.Model.ResourceLimits.t() | nil,
:resourceRequests => GoogleApi.Connectors.V1.Model.ResourceRequests.t() | nil,
:sharedDeployment => String.t() | nil
}

field(:alwaysAllocateCpu)
field(:connectionRatelimitWindowSeconds)
field(:deploymentModel)
field(:hpaConfig, as: GoogleApi.Connectors.V1.Model.HPAConfig)
field(:internalclientRatelimitThreshold)
field(:maxInstanceRequestConcurrency)
field(:migrateDeploymentModel)
field(:migrateTls)
field(:provisionCloudSpanner)
field(:ratelimitThreshold)
field(:resourceLimits, as: GoogleApi.Connectors.V1.Model.ResourceLimits)
field(:resourceRequests, as: GoogleApi.Connectors.V1.Model.ResourceRequests)
Expand Down
2 changes: 1 addition & 1 deletion clients/connectors/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Connectors.Mixfile do
use Mix.Project

@version "0.13.0"
@version "0.14.0"

def project() do
[
Expand Down

0 comments on commit d66ce59

Please sign in to comment.