Skip to content

Commit

Permalink
feat: Automated regeneration of gkehub v1alpha client (#21435)
Browse files Browse the repository at this point in the history
Auto-created at 2025-01-19 10:36:52 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Jan 19, 2025
1 parent 7ac6a6b commit 6fcb697
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
4 changes: 4 additions & 0 deletions generated/google-apis-gkehub_v1alpha/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-gkehub_v1alpha

### v0.87.0 (2025-01-19)

* Regenerated from discovery document revision 20250113

### v0.86.0 (2025-01-12)

* Regenerated from discovery document revision 20250103
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1164,13 +1164,6 @@ def update!(**args)
class ConfigManagementConfigSync
include Google::Apis::Core::Hashable

# Optional. Set to true to allow the vertical scaling. Defaults to false which
# disallows vertical scaling. This field is deprecated.
# Corresponds to the JSON property `allowVerticalScale`
# @return [Boolean]
attr_accessor :allow_vertical_scale
alias_method :allow_vertical_scale?, :allow_vertical_scale

# Optional. 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,
Expand Down Expand Up @@ -1231,7 +1224,6 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
@enabled = args[:enabled] if args.key?(:enabled)
@git = args[:git] if args.key?(:git)
@metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
Expand Down Expand Up @@ -1555,8 +1547,8 @@ class ConfigManagementGitConfig
attr_accessor :policy_dir

# Required. Type of secret configured for access to the Git repo. Must be one of
# ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of
# this is case-sensitive. Required.
# ssh, cookiefile, gcenode, token, gcpserviceaccount, githubapp or none. The
# validation of this is case-sensitive.
# Corresponds to the JSON property `secretType`
# @return [String]
attr_accessor :secret_type
Expand All @@ -1566,7 +1558,7 @@ class ConfigManagementGitConfig
# @return [String]
attr_accessor :sync_branch

# Optional. The URL of the Git repository to use as the source of truth.
# Required. The URL of the Git repository to use as the source of truth.
# Corresponds to the JSON property `syncRepo`
# @return [String]
attr_accessor :sync_repo
Expand Down Expand Up @@ -1892,12 +1884,14 @@ class ConfigManagementOciConfig
# @return [String]
attr_accessor :policy_dir

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

# Optional. The OCI image repository URL for the package to sync from. e.g. `
# Required. The OCI image repository URL for the package to sync from. e.g. `
# LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
# Corresponds to the JSON property `syncRepo`
# @return [String]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module GkehubV1alpha
# Version of the google-apis-gkehub_v1alpha gem
GEM_VERSION = "0.86.0"
GEM_VERSION = "0.87.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20250103"
REVISION = "20250113"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
class ConfigManagementConfigSync
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_vertical_scale, as: 'allowVerticalScale'
property :enabled, as: 'enabled'
property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation

Expand Down

0 comments on commit 6fcb697

Please sign in to comment.