Skip to content

Commit d6ea3d4

Browse files
feat: Automated regeneration of gkehub v2 client (googleapis#21420)
Auto-created at 2025-01-19 10:10:58 +0000 using the toys pull request generator.
1 parent 5400d03 commit d6ea3d4

File tree

4 files changed

+13
-16
lines changed

4 files changed

+13
-16
lines changed

generated/google-apis-gkehub_v2/CHANGELOG.md

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

3+
### v0.6.0 (2025-01-19)
4+
5+
* Regenerated from discovery document revision 20250113
6+
37
### v0.5.0 (2025-01-12)
48

59
* Regenerated from discovery document revision 20250103

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

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -307,13 +307,6 @@ def update!(**args)
307307
class ConfigManagementConfigSync
308308
include Google::Apis::Core::Hashable
309309

310-
# Optional. Set to true to allow the vertical scaling. Defaults to false which
311-
# disallows vertical scaling. This field is deprecated.
312-
# Corresponds to the JSON property `allowVerticalScale`
313-
# @return [Boolean]
314-
attr_accessor :allow_vertical_scale
315-
alias_method :allow_vertical_scale?, :allow_vertical_scale
316-
317310
# Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
318311
# resources will be created and the other ConfigSync fields will be applied if
319312
# exist. If set to false, all other ConfigSync fields will be ignored,
@@ -374,7 +367,6 @@ def initialize(**args)
374367

375368
# Update properties of this object
376369
def update!(**args)
377-
@allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
378370
@enabled = args[:enabled] if args.key?(:enabled)
379371
@git = args[:git] if args.key?(:git)
380372
@metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
@@ -698,8 +690,8 @@ class ConfigManagementGitConfig
698690
attr_accessor :policy_dir
699691

700692
# Required. Type of secret configured for access to the Git repo. Must be one of
701-
# ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of
702-
# this is case-sensitive. Required.
693+
# ssh, cookiefile, gcenode, token, gcpserviceaccount, githubapp or none. The
694+
# validation of this is case-sensitive.
703695
# Corresponds to the JSON property `secretType`
704696
# @return [String]
705697
attr_accessor :secret_type
@@ -709,7 +701,7 @@ class ConfigManagementGitConfig
709701
# @return [String]
710702
attr_accessor :sync_branch
711703

712-
# Optional. The URL of the Git repository to use as the source of truth.
704+
# Required. The URL of the Git repository to use as the source of truth.
713705
# Corresponds to the JSON property `syncRepo`
714706
# @return [String]
715707
attr_accessor :sync_repo
@@ -916,12 +908,14 @@ class ConfigManagementOciConfig
916908
# @return [String]
917909
attr_accessor :policy_dir
918910

919-
# Optional. Type of secret configured for access to the Git repo.
911+
# Required. Type of secret configured for access to the OCI repo. Must be one of
912+
# gcenode, gcpserviceaccount, k8sserviceaccount or none. The validation of this
913+
# is case-sensitive.
920914
# Corresponds to the JSON property `secretType`
921915
# @return [String]
922916
attr_accessor :secret_type
923917

924-
# Optional. The OCI image repository URL for the package to sync from. e.g. `
918+
# Required. The OCI image repository URL for the package to sync from. e.g. `
925919
# LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
926920
# Corresponds to the JSON property `syncRepo`
927921
# @return [String]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module GkehubV2
1818
# Version of the google-apis-gkehub_v2 gem
19-
GEM_VERSION = "0.5.0"
19+
GEM_VERSION = "0.6.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

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

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
663663
class ConfigManagementConfigSync
664664
# @private
665665
class Representation < Google::Apis::Core::JsonRepresentation
666-
property :allow_vertical_scale, as: 'allowVerticalScale'
667666
property :enabled, as: 'enabled'
668667
property :git, as: 'git', class: Google::Apis::GkehubV2::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV2::ConfigManagementGitConfig::Representation
669668

0 commit comments

Comments
 (0)