Skip to content

Commit

Permalink
feat: Automated regeneration of GKEHub client (#12418)
Browse files Browse the repository at this point in the history
Auto-created at 2024-10-26 13:18:25 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Oct 26, 2024
1 parent 8a3bb87 commit 1b228a0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
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.14"}]
[{:google_api_gke_hub, "~> 0.15"}]
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 "20241010"
@discovery_revision "20241017"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSync do
* `allowVerticalScale` (*type:* `boolean()`, *default:* `nil`) - Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated.
* `enabled` (*type:* `boolean()`, *default:* `nil`) - Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.
* `git` (*type:* `GoogleApi.GKEHub.V1.Model.ConfigManagementGitConfig.t`, *default:* `nil`) - Git repo configuration for the cluster.
* `metricsGcpServiceAccountEmail` (*type:* `String.t`, *default:* `nil`) - The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.
* `metricsGcpServiceAccountEmail` (*type:* `String.t`, *default:* `nil`) - The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
* `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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncState do
## Attributes
* `clusterLevelStopSyncingState` (*type:* `String.t`, *default:* `nil`) - Whether syncing resources to the cluster is stopped at the cluster level.
* `crCount` (*type:* `integer()`, *default:* `nil`) - Output only. The number of RootSync and RepoSync CRs in the cluster.
* `deploymentState` (*type:* `GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncDeploymentState.t`, *default:* `nil`) - Information about the deployment of ConfigSync, including the version of the various Pods deployed
* `errors` (*type:* `list(GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncError.t)`, *default:* `nil`) - Errors pertaining to the installation of Config Sync.
* `reposyncCrd` (*type:* `String.t`, *default:* `nil`) - The state of the Reposync CRD
Expand All @@ -35,6 +36,7 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncState do

@type t :: %__MODULE__{
:clusterLevelStopSyncingState => String.t() | nil,
:crCount => integer() | nil,
:deploymentState =>
GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncDeploymentState.t() | nil,
:errors => list(GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncError.t()) | nil,
Expand All @@ -46,6 +48,7 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncState do
}

field(:clusterLevelStopSyncingState)
field(:crCount)
field(:deploymentState, as: GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncDeploymentState)
field(:errors, as: GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncError, type: :list)
field(:reposyncCrd)
Expand Down
3 changes: 3 additions & 0 deletions clients/gke_hub/lib/google_api/gke_hub/v1/model/membership.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ defmodule GoogleApi.GKEHub.V1.Model.Membership do
## Attributes
* `authority` (*type:* `GoogleApi.GKEHub.V1.Model.Authority.t`, *default:* `nil`) - Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
* `clusterTier` (*type:* `String.t`, *default:* `nil`) - Output only. The tier of the cluster.
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. When the Membership was created.
* `deleteTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. When the Membership was deleted.
* `description` (*type:* `String.t`, *default:* `nil`) - Output only. Description of this membership, limited to 63 characters. Must match the regex: `a-zA-Z0-9*` This field is present for legacy purposes.
Expand All @@ -40,6 +41,7 @@ defmodule GoogleApi.GKEHub.V1.Model.Membership do

@type t :: %__MODULE__{
:authority => GoogleApi.GKEHub.V1.Model.Authority.t() | nil,
:clusterTier => String.t() | nil,
:createTime => DateTime.t() | nil,
:deleteTime => DateTime.t() | nil,
:description => String.t() | nil,
Expand All @@ -55,6 +57,7 @@ defmodule GoogleApi.GKEHub.V1.Model.Membership do
}

field(:authority, as: GoogleApi.GKEHub.V1.Model.Authority)
field(:clusterTier)
field(:createTime, as: DateTime)
field(:deleteTime, as: DateTime)
field(:description)
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.14.0"
@version "0.15.0"

def project() do
[
Expand Down

0 comments on commit 1b228a0

Please sign in to comment.