Skip to content

Commit f5b1046

Browse files
feat: Automated regeneration of gkehub v2 client (googleapis#20450)
Auto-created at 2024-10-27 09:23:12 +0000 using the toys pull request generator.
1 parent b0ee6f6 commit f5b1046

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228993,6 +228993,7 @@
228993228993
"/gkehub:v2/ConfigManagementConfigSyncError/errorMessage": error_message
228994228994
"/gkehub:v2/ConfigManagementConfigSyncState": config_management_config_sync_state
228995228995
"/gkehub:v2/ConfigManagementConfigSyncState/clusterLevelStopSyncingState": cluster_level_stop_syncing_state
228996+
"/gkehub:v2/ConfigManagementConfigSyncState/crCount": cr_count
228996228997
"/gkehub:v2/ConfigManagementConfigSyncState/deploymentState": deployment_state
228997228998
"/gkehub:v2/ConfigManagementConfigSyncState/errors": errors
228998228999
"/gkehub:v2/ConfigManagementConfigSyncState/errors/error": error

generated/google-apis-gkehub_v2/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-gkehub_v2
22

3-
### v0.2.0 (2024-10-20)
3+
### v0.2.0 (2024-10-27)
44

5-
* Regenerated from discovery document revision 20241010
5+
* Regenerated from discovery document revision 20241017
66

77
### v0.1.0 (2024-08-18)
88

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ class ConfigManagementConfigSync
334334
# enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
335335
# metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
336336
# namespace `config-management-monitoring` should be bound to the GSA.
337+
# Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud
338+
# Service Account is no longer needed for exporting Config Sync metrics: https://
339+
# cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-
340+
# config-sync-cloud-monitoring#custom-monitoring.
337341
# Corresponds to the JSON property `metricsGcpServiceAccountEmail`
338342
# @return [String]
339343
attr_accessor :metrics_gcp_service_account_email
@@ -468,6 +472,11 @@ class ConfigManagementConfigSyncState
468472
# @return [String]
469473
attr_accessor :cluster_level_stop_syncing_state
470474

475+
# Output only. The number of RootSync and RepoSync CRs in the cluster.
476+
# Corresponds to the JSON property `crCount`
477+
# @return [Fixnum]
478+
attr_accessor :cr_count
479+
471480
# The state of ConfigSync's deployment on a cluster.
472481
# Corresponds to the JSON property `deploymentState`
473482
# @return [Google::Apis::GkehubV2::ConfigManagementConfigSyncDeploymentState]
@@ -510,6 +519,7 @@ def initialize(**args)
510519
# Update properties of this object
511520
def update!(**args)
512521
@cluster_level_stop_syncing_state = args[:cluster_level_stop_syncing_state] if args.key?(:cluster_level_stop_syncing_state)
522+
@cr_count = args[:cr_count] if args.key?(:cr_count)
513523
@deployment_state = args[:deployment_state] if args.key?(:deployment_state)
514524
@errors = args[:errors] if args.key?(:errors)
515525
@reposync_crd = args[:reposync_crd] if args.key?(:reposync_crd)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module GkehubV2
2222
GENERATOR_VERSION = "0.15.1"
2323

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

generated/google-apis-gkehub_v2/lib/google/apis/gkehub_v2/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ class ConfigManagementConfigSyncState
707707
# @private
708708
class Representation < Google::Apis::Core::JsonRepresentation
709709
property :cluster_level_stop_syncing_state, as: 'clusterLevelStopSyncingState'
710+
property :cr_count, as: 'crCount'
710711
property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV2::ConfigManagementConfigSyncDeploymentState, decorator: Google::Apis::GkehubV2::ConfigManagementConfigSyncDeploymentState::Representation
711712

712713
collection :errors, as: 'errors', class: Google::Apis::GkehubV2::ConfigManagementConfigSyncError, decorator: Google::Apis::GkehubV2::ConfigManagementConfigSyncError::Representation

0 commit comments

Comments
 (0)