From 579f688f5b1c8d54ed613ef75850cac65d8be6e2 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 28 Apr 2024 03:30:19 -0700 Subject: [PATCH] feat: Automated regeneration of clouddeploy v1 client (#18883) Auto-created at 2024-04-28 10:12:51 +0000 using the toys pull request generator. --- api_names_out.yaml | 5 +++ .../google-apis-clouddeploy_v1/CHANGELOG.md | 4 ++ .../lib/google/apis/clouddeploy_v1/classes.rb | 40 ++++++++++++++++++- .../google/apis/clouddeploy_v1/gem_version.rb | 4 +- .../apis/clouddeploy_v1/representations.rb | 17 ++++++++ 5 files changed, 67 insertions(+), 3 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 303321b811e..80d1d69a58a 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -60263,6 +60263,10 @@ "/clouddeploy:v1/SetIamPolicyRequest": set_iam_policy_request "/clouddeploy:v1/SetIamPolicyRequest/policy": policy "/clouddeploy:v1/SetIamPolicyRequest/updateMask": update_mask +"/clouddeploy:v1/SkaffoldGCBRepoSource": skaffold_gcb_repo_source +"/clouddeploy:v1/SkaffoldGCBRepoSource/path": path +"/clouddeploy:v1/SkaffoldGCBRepoSource/ref": ref +"/clouddeploy:v1/SkaffoldGCBRepoSource/repository": repository "/clouddeploy:v1/SkaffoldGCSSource": skaffold_gcs_source "/clouddeploy:v1/SkaffoldGCSSource/path": path "/clouddeploy:v1/SkaffoldGCSSource/source": source @@ -60274,6 +60278,7 @@ "/clouddeploy:v1/SkaffoldModules/configs": configs "/clouddeploy:v1/SkaffoldModules/configs/config": config "/clouddeploy:v1/SkaffoldModules/git": git +"/clouddeploy:v1/SkaffoldModules/googleCloudBuildRepo": google_cloud_build_repo "/clouddeploy:v1/SkaffoldModules/googleCloudStorage": google_cloud_storage "/clouddeploy:v1/SkaffoldSupportedCondition": skaffold_supported_condition "/clouddeploy:v1/SkaffoldSupportedCondition/maintenanceModeTime": maintenance_mode_time diff --git a/generated/google-apis-clouddeploy_v1/CHANGELOG.md b/generated/google-apis-clouddeploy_v1/CHANGELOG.md index d6a7f26de47..396d8dee080 100644 --- a/generated/google-apis-clouddeploy_v1/CHANGELOG.md +++ b/generated/google-apis-clouddeploy_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-clouddeploy_v1 +### v0.43.0 (2024-04-28) + +* Regenerated from discovery document revision 20240417 + ### v0.42.0 (2024-03-03) * Regenerated from discovery document revision 20240221 diff --git a/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/classes.rb b/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/classes.rb index a1511e65662..82b377561f2 100644 --- a/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/classes.rb +++ b/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/classes.rb @@ -4684,6 +4684,38 @@ def update!(**args) end end + # Cloud Build V2 Repository containing Skaffold Configs. + class SkaffoldGcbRepoSource + include Google::Apis::Core::Hashable + + # Optional. Relative path from the repository root to the Skaffold Config file. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + # Optional. Branch or tag to use when cloning the repository. + # Corresponds to the JSON property `ref` + # @return [String] + attr_accessor :ref + + # Required. Name of the Cloud Build V2 Repository. Format is projects/`project`/ + # locations/`location`/connections/`connection`/repositories/`repository`. + # Corresponds to the JSON property `repository` + # @return [String] + attr_accessor :repository + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @path = args[:path] if args.key?(:path) + @ref = args[:ref] if args.key?(:ref) + @repository = args[:repository] if args.key?(:repository) + end + end + # Cloud Storage bucket containing Skaffold Config modules. class SkaffoldGcsSource include Google::Apis::Core::Hashable @@ -4720,7 +4752,7 @@ class SkaffoldGitSource # @return [String] attr_accessor :path - # Optional. Git ref the package should be cloned from. + # Optional. Git branch or tag to use when cloning the repository. # Corresponds to the JSON property `ref` # @return [String] attr_accessor :ref @@ -4756,6 +4788,11 @@ class SkaffoldModules # @return [Google::Apis::ClouddeployV1::SkaffoldGitSource] attr_accessor :git + # Cloud Build V2 Repository containing Skaffold Configs. + # Corresponds to the JSON property `googleCloudBuildRepo` + # @return [Google::Apis::ClouddeployV1::SkaffoldGcbRepoSource] + attr_accessor :google_cloud_build_repo + # Cloud Storage bucket containing Skaffold Config modules. # Corresponds to the JSON property `googleCloudStorage` # @return [Google::Apis::ClouddeployV1::SkaffoldGcsSource] @@ -4769,6 +4806,7 @@ def initialize(**args) def update!(**args) @configs = args[:configs] if args.key?(:configs) @git = args[:git] if args.key?(:git) + @google_cloud_build_repo = args[:google_cloud_build_repo] if args.key?(:google_cloud_build_repo) @google_cloud_storage = args[:google_cloud_storage] if args.key?(:google_cloud_storage) end end diff --git a/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/gem_version.rb b/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/gem_version.rb index 503982f14d9..e46f5cd6d8c 100644 --- a/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/gem_version.rb +++ b/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ClouddeployV1 # Version of the google-apis-clouddeploy_v1 gem - GEM_VERSION = "0.42.0" + GEM_VERSION = "0.43.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.14.0" # Revision of the discovery document this client was generated from - REVISION = "20240221" + REVISION = "20240417" end end end diff --git a/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/representations.rb b/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/representations.rb index cb16ebb7b66..f16a7326bfe 100644 --- a/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/representations.rb +++ b/generated/google-apis-clouddeploy_v1/lib/google/apis/clouddeploy_v1/representations.rb @@ -754,6 +754,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SkaffoldGcbRepoSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SkaffoldGcsSource class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2144,6 +2150,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class SkaffoldGcbRepoSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :path, as: 'path' + property :ref, as: 'ref' + property :repository, as: 'repository' + end + end + class SkaffoldGcsSource # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2167,6 +2182,8 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :configs, as: 'configs' property :git, as: 'git', class: Google::Apis::ClouddeployV1::SkaffoldGitSource, decorator: Google::Apis::ClouddeployV1::SkaffoldGitSource::Representation + property :google_cloud_build_repo, as: 'googleCloudBuildRepo', class: Google::Apis::ClouddeployV1::SkaffoldGcbRepoSource, decorator: Google::Apis::ClouddeployV1::SkaffoldGcbRepoSource::Representation + property :google_cloud_storage, as: 'googleCloudStorage', class: Google::Apis::ClouddeployV1::SkaffoldGcsSource, decorator: Google::Apis::ClouddeployV1::SkaffoldGcsSource::Representation end