Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of gkehub v1alpha client #21435

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading