Skip to content

Commit

Permalink
feat: Automated regeneration of clouddeploy v1 client (#18883)
Browse files Browse the repository at this point in the history
Auto-created at 2024-04-28 10:12:51 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot committed Apr 28, 2024
1 parent 93d4f40 commit 579f688
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 3 deletions.
5 changes: 5 additions & 0 deletions api_names_out.yaml
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions 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
Expand Down
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand All @@ -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
Expand Down
Expand Up @@ -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
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 579f688

Please sign in to comment.