Skip to content

Commit d2bfa77

Browse files
feat: Automated regeneration of gkehub v1beta client (googleapis#21380)
Auto-created at 2025-01-12 10:40:20 +0000 using the toys pull request generator.
1 parent 15f1492 commit d2bfa77

File tree

3 files changed

+67
-57
lines changed

3 files changed

+67
-57
lines changed

generated/google-apis-gkehub_v1beta/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-gkehub_v1beta
22

3+
### v0.80.0 (2025-01-12)
4+
5+
* Regenerated from discovery document revision 20250103
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.79.0 (2024-12-15)
49

510
* Regenerated from discovery document revision 20241206

generated/google-apis-gkehub_v1beta/lib/google/apis/gkehub_v1beta/classes.rb

Lines changed: 59 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,18 +1001,18 @@ def update!(**args)
10011001
class ConfigManagementConfigSync
10021002
include Google::Apis::Core::Hashable
10031003

1004-
# Set to true to allow the vertical scaling. Defaults to false which disallows
1005-
# vertical scaling. This field is deprecated.
1004+
# Optional. Set to true to allow the vertical scaling. Defaults to false which
1005+
# disallows vertical scaling. This field is deprecated.
10061006
# Corresponds to the JSON property `allowVerticalScale`
10071007
# @return [Boolean]
10081008
attr_accessor :allow_vertical_scale
10091009
alias_method :allow_vertical_scale?, :allow_vertical_scale
10101010

1011-
# Enables the installation of ConfigSync. If set to true, ConfigSync resources
1012-
# will be created and the other ConfigSync fields will be applied if exist. If
1013-
# set to false, all other ConfigSync fields will be ignored, ConfigSync
1014-
# resources will be deleted. If omitted, ConfigSync resources will be managed
1015-
# depends on the presence of the git or oci field.
1011+
# Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
1012+
# resources will be created and the other ConfigSync fields will be applied if
1013+
# exist. If set to false, all other ConfigSync fields will be ignored,
1014+
# ConfigSync resources will be deleted. If omitted, ConfigSync resources will be
1015+
# managed depends on the presence of the git or oci field.
10161016
# Corresponds to the JSON property `enabled`
10171017
# @return [Boolean]
10181018
attr_accessor :enabled
@@ -1023,15 +1023,15 @@ class ConfigManagementConfigSync
10231023
# @return [Google::Apis::GkehubV1beta::ConfigManagementGitConfig]
10241024
attr_accessor :git
10251025

1026-
# The Email of the Google Cloud Service Account (GSA) used for exporting Config
1027-
# Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
1028-
# enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
1029-
# metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
1030-
# namespace `config-management-monitoring` should be bound to the GSA.
1031-
# Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud
1032-
# Service Account is no longer needed for exporting Config Sync metrics: https://
1033-
# cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-
1034-
# config-sync-cloud-monitoring#custom-monitoring.
1026+
# Optional. The Email of the Google Cloud Service Account (GSA) used for
1027+
# exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when
1028+
# Workload Identity is enabled. The GSA should have the Monitoring Metric Writer
1029+
# (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `
1030+
# default` in the namespace `config-management-monitoring` should be bound to
1031+
# the GSA. Deprecated: If Workload Identity Federation for GKE is enabled,
1032+
# Google Cloud Service Account is no longer needed for exporting Config Sync
1033+
# metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/
1034+
# docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
10351035
# Corresponds to the JSON property `metricsGcpServiceAccountEmail`
10361036
# @return [String]
10371037
attr_accessor :metrics_gcp_service_account_email
@@ -1041,21 +1041,22 @@ class ConfigManagementConfigSync
10411041
# @return [Google::Apis::GkehubV1beta::ConfigManagementOciConfig]
10421042
attr_accessor :oci
10431043

1044-
# Set to true to enable the Config Sync admission webhook to prevent drifts. If
1045-
# set to `false`, disables the Config Sync admission webhook and does not
1046-
# prevent drifts.
1044+
# Optional. Set to true to enable the Config Sync admission webhook to prevent
1045+
# drifts. If set to `false`, disables the Config Sync admission webhook and does
1046+
# not prevent drifts.
10471047
# Corresponds to the JSON property `preventDrift`
10481048
# @return [Boolean]
10491049
attr_accessor :prevent_drift
10501050
alias_method :prevent_drift?, :prevent_drift
10511051

1052-
# Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured"
1053-
# mode.
1052+
# Optional. Specifies whether the Config Sync Repo is in "hierarchical" or "
1053+
# unstructured" mode.
10541054
# Corresponds to the JSON property `sourceFormat`
10551055
# @return [String]
10561056
attr_accessor :source_format
10571057

1058-
# Set to true to stop syncing configs for a single cluster. Default to false.
1058+
# Optional. Set to true to stop syncing configs for a single cluster. Default to
1059+
# false.
10591060
# Corresponds to the JSON property `stopSyncing`
10601061
# @return [Boolean]
10611062
attr_accessor :stop_syncing
@@ -1168,7 +1169,8 @@ def update!(**args)
11681169
class ConfigManagementConfigSyncState
11691170
include Google::Apis::Core::Hashable
11701171

1171-
# Whether syncing resources to the cluster is stopped at the cluster level.
1172+
# Output only. Whether syncing resources to the cluster is stopped at the
1173+
# cluster level.
11721174
# Corresponds to the JSON property `clusterLevelStopSyncingState`
11731175
# @return [String]
11741176
attr_accessor :cluster_level_stop_syncing_state
@@ -1183,22 +1185,23 @@ class ConfigManagementConfigSyncState
11831185
# @return [Google::Apis::GkehubV1beta::ConfigManagementConfigSyncDeploymentState]
11841186
attr_accessor :deployment_state
11851187

1186-
# Errors pertaining to the installation of Config Sync.
1188+
# Output only. Errors pertaining to the installation of Config Sync.
11871189
# Corresponds to the JSON property `errors`
11881190
# @return [Array<Google::Apis::GkehubV1beta::ConfigManagementConfigSyncError>]
11891191
attr_accessor :errors
11901192

1191-
# The state of the Reposync CRD
1193+
# Output only. The state of the Reposync CRD
11921194
# Corresponds to the JSON property `reposyncCrd`
11931195
# @return [String]
11941196
attr_accessor :reposync_crd
11951197

1196-
# The state of the RootSync CRD
1198+
# Output only. The state of the RootSync CRD
11971199
# Corresponds to the JSON property `rootsyncCrd`
11981200
# @return [String]
11991201
attr_accessor :rootsync_crd
12001202

1201-
# The state of CS This field summarizes the other fields in this message.
1203+
# Output only. The state of CS This field summarizes the other fields in this
1204+
# message.
12021205
# Corresponds to the JSON property `state`
12031206
# @return [String]
12041207
attr_accessor :state
@@ -1370,46 +1373,47 @@ def update!(**args)
13701373
class ConfigManagementGitConfig
13711374
include Google::Apis::Core::Hashable
13721375

1373-
# The Google Cloud Service Account Email used for auth when secret_type is
1374-
# gcpServiceAccount.
1376+
# Optional. The Google Cloud Service Account Email used for auth when
1377+
# secret_type is gcpServiceAccount.
13751378
# Corresponds to the JSON property `gcpServiceAccountEmail`
13761379
# @return [String]
13771380
attr_accessor :gcp_service_account_email
13781381

1379-
# URL for the HTTPS proxy to be used when communicating with the Git repo.
1382+
# Optional. URL for the HTTPS proxy to be used when communicating with the Git
1383+
# repo.
13801384
# Corresponds to the JSON property `httpsProxy`
13811385
# @return [String]
13821386
attr_accessor :https_proxy
13831387

1384-
# The path within the Git repository that represents the top level of the repo
1385-
# to sync. Default: the root directory of the repository.
1388+
# Optional. The path within the Git repository that represents the top level of
1389+
# the repo to sync. Default: the root directory of the repository.
13861390
# Corresponds to the JSON property `policyDir`
13871391
# @return [String]
13881392
attr_accessor :policy_dir
13891393

1390-
# Type of secret configured for access to the Git repo. Must be one of ssh,
1391-
# cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this
1392-
# is case-sensitive. Required.
1394+
# Required. Type of secret configured for access to the Git repo. Must be one of
1395+
# ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of
1396+
# this is case-sensitive. Required.
13931397
# Corresponds to the JSON property `secretType`
13941398
# @return [String]
13951399
attr_accessor :secret_type
13961400

1397-
# The branch of the repository to sync from. Default: master.
1401+
# Optional. The branch of the repository to sync from. Default: master.
13981402
# Corresponds to the JSON property `syncBranch`
13991403
# @return [String]
14001404
attr_accessor :sync_branch
14011405

1402-
# The URL of the Git repository to use as the source of truth.
1406+
# Optional. The URL of the Git repository to use as the source of truth.
14031407
# Corresponds to the JSON property `syncRepo`
14041408
# @return [String]
14051409
attr_accessor :sync_repo
14061410

1407-
# Git revision (tag or hash) to check out. Default HEAD.
1411+
# Optional. Git revision (tag or hash) to check out. Default HEAD.
14081412
# Corresponds to the JSON property `syncRev`
14091413
# @return [String]
14101414
attr_accessor :sync_rev
14111415

1412-
# Period in seconds between consecutive syncs. Default: 15.
1416+
# Optional. Period in seconds between consecutive syncs. Default: 15.
14131417
# Corresponds to the JSON property `syncWaitSecs`
14141418
# @return [Fixnum]
14151419
attr_accessor :sync_wait_secs
@@ -1600,9 +1604,9 @@ class ConfigManagementMembershipSpec
16001604
# @return [Google::Apis::GkehubV1beta::ConfigManagementBinauthzConfig]
16011605
attr_accessor :binauthz
16021606

1603-
# The user-specified cluster name used by Config Sync cluster-name-selector
1604-
# annotation or ClusterSelector, for applying configs to only a subset of
1605-
# clusters. Omit this field if the cluster's fleet membership name is used by
1607+
# Optional. The user-specified cluster name used by Config Sync cluster-name-
1608+
# selector annotation or ClusterSelector, for applying configs to only a subset
1609+
# of clusters. Omit this field if the cluster's fleet membership name is used by
16061610
# Config Sync cluster-name-selector annotation or ClusterSelector. Set this
16071611
# field if a name different from the cluster's fleet membership name is used by
16081612
# Config Sync cluster-name-selector annotation or ClusterSelector.
@@ -1620,7 +1624,7 @@ class ConfigManagementMembershipSpec
16201624
# @return [Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig]
16211625
attr_accessor :hierarchy_controller
16221626

1623-
# Enables automatic Feature management.
1627+
# Optional. Enables automatic Feature management.
16241628
# Corresponds to the JSON property `management`
16251629
# @return [String]
16261630
attr_accessor :management
@@ -1630,7 +1634,7 @@ class ConfigManagementMembershipSpec
16301634
# @return [Google::Apis::GkehubV1beta::ConfigManagementPolicyController]
16311635
attr_accessor :policy_controller
16321636

1633-
# Version of ACM installed.
1637+
# Optional. Version of ACM installed.
16341638
# Corresponds to the JSON property `version`
16351639
# @return [String]
16361640
attr_accessor :version
@@ -1660,8 +1664,9 @@ class ConfigManagementMembershipState
16601664
# @return [Google::Apis::GkehubV1beta::ConfigManagementBinauthzState]
16611665
attr_accessor :binauthz_state
16621666

1663-
# This field is set to the `cluster_name` field of the Membership Spec if it is
1664-
# not empty. Otherwise, it is set to the cluster's fleet membership name.
1667+
# Output only. This field is set to the `cluster_name` field of the Membership
1668+
# Spec if it is not empty. Otherwise, it is set to the cluster's fleet
1669+
# membership name.
16651670
# Corresponds to the JSON property `clusterName`
16661671
# @return [String]
16671672
attr_accessor :cluster_name
@@ -1712,30 +1717,30 @@ def update!(**args)
17121717
class ConfigManagementOciConfig
17131718
include Google::Apis::Core::Hashable
17141719

1715-
# The Google Cloud Service Account Email used for auth when secret_type is
1716-
# gcpServiceAccount.
1720+
# Optional. The Google Cloud Service Account Email used for auth when
1721+
# secret_type is gcpServiceAccount.
17171722
# Corresponds to the JSON property `gcpServiceAccountEmail`
17181723
# @return [String]
17191724
attr_accessor :gcp_service_account_email
17201725

1721-
# The absolute path of the directory that contains the local resources. Default:
1722-
# the root directory of the image.
1726+
# Optional. The absolute path of the directory that contains the local resources.
1727+
# Default: the root directory of the image.
17231728
# Corresponds to the JSON property `policyDir`
17241729
# @return [String]
17251730
attr_accessor :policy_dir
17261731

1727-
# Type of secret configured for access to the Git repo.
1732+
# Optional. Type of secret configured for access to the Git repo.
17281733
# Corresponds to the JSON property `secretType`
17291734
# @return [String]
17301735
attr_accessor :secret_type
17311736

1732-
# The OCI image repository URL for the package to sync from. e.g. `LOCATION-
1733-
# docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
1737+
# Optional. The OCI image repository URL for the package to sync from. e.g. `
1738+
# LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
17341739
# Corresponds to the JSON property `syncRepo`
17351740
# @return [String]
17361741
attr_accessor :sync_repo
17371742

1738-
# Period in seconds between consecutive syncs. Default: 15.
1743+
# Optional. Period in seconds between consecutive syncs. Default: 15.
17391744
# Corresponds to the JSON property `syncWaitSecs`
17401745
# @return [Fixnum]
17411746
attr_accessor :sync_wait_secs

generated/google-apis-gkehub_v1beta/lib/google/apis/gkehub_v1beta/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module GkehubV1beta
1818
# Version of the google-apis-gkehub_v1beta gem
19-
GEM_VERSION = "0.79.0"
19+
GEM_VERSION = "0.80.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241206"
25+
REVISION = "20250103"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)