Skip to content

Commit 1b228a0

Browse files
feat: Automated regeneration of GKEHub client (googleapis#12418)
Auto-created at 2024-10-26 13:18:25 +0000 using the toys pull request generator.
1 parent 8a3bb87 commit 1b228a0

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

clients/gke_hub/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_gke_hub, "~> 0.14"}]
14+
[{:google_api_gke_hub, "~> 0.15"}]
1515
end
1616
```
1717

clients/gke_hub/lib/google_api/gke_hub/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.GKEHub.V1 do
2020
API client metadata for GoogleApi.GKEHub.V1.
2121
"""
2222

23-
@discovery_revision "20241010"
23+
@discovery_revision "20241017"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/gke_hub/lib/google_api/gke_hub/v1/model/config_management_config_sync.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSync do
2424
* `allowVerticalScale` (*type:* `boolean()`, *default:* `nil`) - Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated.
2525
* `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.
2626
* `git` (*type:* `GoogleApi.GKEHub.V1.Model.ConfigManagementGitConfig.t`, *default:* `nil`) - Git repo configuration for the cluster.
27-
* `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.
27+
* `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.
2828
* `oci` (*type:* `GoogleApi.GKEHub.V1.Model.ConfigManagementOciConfig.t`, *default:* `nil`) - OCI repo configuration for the cluster
2929
* `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.
3030
* `sourceFormat` (*type:* `String.t`, *default:* `nil`) - Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.

clients/gke_hub/lib/google_api/gke_hub/v1/model/config_management_config_sync_state.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncState do
2222
## Attributes
2323
2424
* `clusterLevelStopSyncingState` (*type:* `String.t`, *default:* `nil`) - Whether syncing resources to the cluster is stopped at the cluster level.
25+
* `crCount` (*type:* `integer()`, *default:* `nil`) - Output only. The number of RootSync and RepoSync CRs in the cluster.
2526
* `deploymentState` (*type:* `GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncDeploymentState.t`, *default:* `nil`) - Information about the deployment of ConfigSync, including the version of the various Pods deployed
2627
* `errors` (*type:* `list(GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncError.t)`, *default:* `nil`) - Errors pertaining to the installation of Config Sync.
2728
* `reposyncCrd` (*type:* `String.t`, *default:* `nil`) - The state of the Reposync CRD
@@ -35,6 +36,7 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncState do
3536

3637
@type t :: %__MODULE__{
3738
:clusterLevelStopSyncingState => String.t() | nil,
39+
:crCount => integer() | nil,
3840
:deploymentState =>
3941
GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncDeploymentState.t() | nil,
4042
:errors => list(GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncError.t()) | nil,
@@ -46,6 +48,7 @@ defmodule GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncState do
4648
}
4749

4850
field(:clusterLevelStopSyncingState)
51+
field(:crCount)
4952
field(:deploymentState, as: GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncDeploymentState)
5053
field(:errors, as: GoogleApi.GKEHub.V1.Model.ConfigManagementConfigSyncError, type: :list)
5154
field(:reposyncCrd)

clients/gke_hub/lib/google_api/gke_hub/v1/model/membership.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ defmodule GoogleApi.GKEHub.V1.Model.Membership do
2222
## Attributes
2323
2424
* `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
25+
* `clusterTier` (*type:* `String.t`, *default:* `nil`) - Output only. The tier of the cluster.
2526
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. When the Membership was created.
2627
* `deleteTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. When the Membership was deleted.
2728
* `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.
@@ -40,6 +41,7 @@ defmodule GoogleApi.GKEHub.V1.Model.Membership do
4041

4142
@type t :: %__MODULE__{
4243
:authority => GoogleApi.GKEHub.V1.Model.Authority.t() | nil,
44+
:clusterTier => String.t() | nil,
4345
:createTime => DateTime.t() | nil,
4446
:deleteTime => DateTime.t() | nil,
4547
:description => String.t() | nil,
@@ -55,6 +57,7 @@ defmodule GoogleApi.GKEHub.V1.Model.Membership do
5557
}
5658

5759
field(:authority, as: GoogleApi.GKEHub.V1.Model.Authority)
60+
field(:clusterTier)
5861
field(:createTime, as: DateTime)
5962
field(:deleteTime, as: DateTime)
6063
field(:description)

clients/gke_hub/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.GKEHub.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.14.0"
21+
@version "0.15.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)