Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of GKEHub client #12469

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/gke_hub/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_gke_hub, "~> 0.15"}]
[{:google_api_gke_hub, "~> 0.16"}]
end
```

Expand Down
2 changes: 1 addition & 1 deletion clients/gke_hub/lib/google_api/gke_hub/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.GKEHub.V1 do
API client metadata for GoogleApi.GKEHub.V1.
"""

@discovery_revision "20241017"
@discovery_revision "20241025"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSync do
* `oci` (*type:* `GoogleApi.GKEHub.V1.Model.ConfigManagementOciConfig.t`, *default:* `nil`) - OCI repo configuration for the cluster
* `preventDrift` (*type:* `boolean()`, *default:* `nil`) - Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts.
* `sourceFormat` (*type:* `String.t`, *default:* `nil`) - Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.
* `stopSyncing` (*type:* `boolean()`, *default:* `nil`) - Set to true to stop syncing configs for a single cluster. Default to false.
"""

use GoogleApi.Gax.ModelBase
Expand All @@ -39,7 +40,8 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSync do
:metricsGcpServiceAccountEmail => String.t() | nil,
:oci => GoogleApi.GKEHub.V1.Model.ConfigManagementOciConfig.t() | nil,
:preventDrift => boolean() | nil,
:sourceFormat => String.t() | nil
:sourceFormat => String.t() | nil,
:stopSyncing => boolean() | nil
}

field(:allowVerticalScale)
Expand All @@ -49,6 +51,7 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSync do
field(:oci, as: GoogleApi.GKEHub.V1.Model.ConfigManagementOciConfig)
field(:preventDrift)
field(:sourceFormat)
field(:stopSyncing)
end

defimpl Poison.Decoder, for: GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSync do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,20 @@ defmodule GoogleApi.GKEHub.V1.Model.ServiceMeshMembershipSpec do

## Attributes

* `configApi` (*type:* `String.t`, *default:* `nil`) - Optional. Specifies the API that will be used for configuring the mesh workloads.
* `controlPlane` (*type:* `String.t`, *default:* `nil`) - Deprecated: use `management` instead Enables automatic control plane management.
* `management` (*type:* `String.t`, *default:* `nil`) - Optional. Enables automatic Service Mesh management.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:configApi => String.t() | nil,
:controlPlane => String.t() | nil,
:management => String.t() | nil
}

field(:configApi)
field(:controlPlane)
field(:management)
end
Expand Down
2 changes: 1 addition & 1 deletion clients/gke_hub/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.GKEHub.Mixfile do
use Mix.Project

@version "0.15.0"
@version "0.16.0"

def project() do
[
Expand Down
Loading