Skip to content

Commit 47a9812

Browse files
feat: Automated regeneration of deploymentmanager v2 client (#26045)
Auto-created at 2026-03-22 10:55:38 +0000 using the toys pull request generator.
1 parent bdbedae commit 47a9812

5 files changed

Lines changed: 96 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175585,6 +175585,13 @@
175585175585
"/deploymentmanager:v2/Expr/title": title
175586175586
"/deploymentmanager:v2/FirewallPolicyRuleOperationMetadata": firewall_policy_rule_operation_metadata
175587175587
"/deploymentmanager:v2/FirewallPolicyRuleOperationMetadata/allocatedPriority": allocated_priority
175588+
"/deploymentmanager:v2/GetVersionOperationMetadata": get_version_operation_metadata
175589+
"/deploymentmanager:v2/GetVersionOperationMetadata/inlineSbomInfo": inline_sbom_info
175590+
"/deploymentmanager:v2/GetVersionOperationMetadataSbomInfo": get_version_operation_metadata_sbom_info
175591+
"/deploymentmanager:v2/GetVersionOperationMetadataSbomInfo/currentComponentVersions": current_component_versions
175592+
"/deploymentmanager:v2/GetVersionOperationMetadataSbomInfo/currentComponentVersions/current_component_version": current_component_version
175593+
"/deploymentmanager:v2/GetVersionOperationMetadataSbomInfo/targetComponentVersions": target_component_versions
175594+
"/deploymentmanager:v2/GetVersionOperationMetadataSbomInfo/targetComponentVersions/target_component_version": target_component_version
175588175595
"/deploymentmanager:v2/GlobalSetPolicyRequest": global_set_policy_request
175589175596
"/deploymentmanager:v2/GlobalSetPolicyRequest/bindings": bindings
175590175597
"/deploymentmanager:v2/GlobalSetPolicyRequest/bindings/binding": binding
@@ -175661,6 +175668,7 @@
175661175668
"/deploymentmanager:v2/Operation/error/errors/error/location": location
175662175669
"/deploymentmanager:v2/Operation/error/errors/error/message": message
175663175670
"/deploymentmanager:v2/Operation/firewallPolicyRuleOperationMetadata": firewall_policy_rule_operation_metadata
175671+
"/deploymentmanager:v2/Operation/getVersionOperationMetadata": get_version_operation_metadata
175664175672
"/deploymentmanager:v2/Operation/httpErrorMessage": http_error_message
175665175673
"/deploymentmanager:v2/Operation/httpErrorStatusCode": http_error_status_code
175666175674
"/deploymentmanager:v2/Operation/id": id

generated/google-apis-deploymentmanager_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-deploymentmanager_v2
22

3+
### v0.42.0 (2026-03-22)
4+
5+
* Regenerated from discovery document revision 20260312
6+
37
### v0.41.0 (2025-12-07)
48

59
* Regenerated from discovery document revision 20251128

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

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,52 @@ def update!(**args)
692692
end
693693
end
694694

695+
#
696+
class GetVersionOperationMetadata
697+
include Google::Apis::Core::Hashable
698+
699+
#
700+
# Corresponds to the JSON property `inlineSbomInfo`
701+
# @return [Google::Apis::DeploymentmanagerV2::GetVersionOperationMetadataSbomInfo]
702+
attr_accessor :inline_sbom_info
703+
704+
def initialize(**args)
705+
update!(**args)
706+
end
707+
708+
# Update properties of this object
709+
def update!(**args)
710+
@inline_sbom_info = args[:inline_sbom_info] if args.key?(:inline_sbom_info)
711+
end
712+
end
713+
714+
#
715+
class GetVersionOperationMetadataSbomInfo
716+
include Google::Apis::Core::Hashable
717+
718+
# SBOM versions currently applied to the resource. The key is the component name
719+
# and the value is the version.
720+
# Corresponds to the JSON property `currentComponentVersions`
721+
# @return [Hash<String,String>]
722+
attr_accessor :current_component_versions
723+
724+
# SBOM versions scheduled for the next maintenance. The key is the component
725+
# name and the value is the version.
726+
# Corresponds to the JSON property `targetComponentVersions`
727+
# @return [Hash<String,String>]
728+
attr_accessor :target_component_versions
729+
730+
def initialize(**args)
731+
update!(**args)
732+
end
733+
734+
# Update properties of this object
735+
def update!(**args)
736+
@current_component_versions = args[:current_component_versions] if args.key?(:current_component_versions)
737+
@target_component_versions = args[:target_component_versions] if args.key?(:target_component_versions)
738+
end
739+
end
740+
695741
#
696742
class GlobalSetPolicyRequest
697743
include Google::Apis::Core::Hashable
@@ -1032,6 +1078,11 @@ class Operation
10321078
# @return [Google::Apis::DeploymentmanagerV2::FirewallPolicyRuleOperationMetadata]
10331079
attr_accessor :firewall_policy_rule_operation_metadata
10341080

1081+
#
1082+
# Corresponds to the JSON property `getVersionOperationMetadata`
1083+
# @return [Google::Apis::DeploymentmanagerV2::GetVersionOperationMetadata]
1084+
attr_accessor :get_version_operation_metadata
1085+
10351086
# [Output Only] If the operation fails, this field contains the HTTP error
10361087
# message that was returned, such as `NOT FOUND`.
10371088
# Corresponds to the JSON property `httpErrorMessage`
@@ -1184,6 +1235,7 @@ def update!(**args)
11841235
@end_time = args[:end_time] if args.key?(:end_time)
11851236
@error = args[:error] if args.key?(:error)
11861237
@firewall_policy_rule_operation_metadata = args[:firewall_policy_rule_operation_metadata] if args.key?(:firewall_policy_rule_operation_metadata)
1238+
@get_version_operation_metadata = args[:get_version_operation_metadata] if args.key?(:get_version_operation_metadata)
11871239
@http_error_message = args[:http_error_message] if args.key?(:http_error_message)
11881240
@http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code)
11891241
@id = args[:id] if args.key?(:id)

generated/google-apis-deploymentmanager_v2/lib/google/apis/deploymentmanager_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 DeploymentmanagerV2
1818
# Version of the google-apis-deploymentmanager_v2 gem
19-
GEM_VERSION = "0.41.0"
19+
GEM_VERSION = "0.42.0"
2020

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

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

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
118118
include Google::Apis::Core::JsonObjectSupport
119119
end
120120

121+
class GetVersionOperationMetadata
122+
class Representation < Google::Apis::Core::JsonRepresentation; end
123+
124+
include Google::Apis::Core::JsonObjectSupport
125+
end
126+
127+
class GetVersionOperationMetadataSbomInfo
128+
class Representation < Google::Apis::Core::JsonRepresentation; end
129+
130+
include Google::Apis::Core::JsonObjectSupport
131+
end
132+
121133
class GlobalSetPolicyRequest
122134
class Representation < Google::Apis::Core::JsonRepresentation; end
123135

@@ -490,6 +502,22 @@ class Representation < Google::Apis::Core::JsonRepresentation
490502
end
491503
end
492504

505+
class GetVersionOperationMetadata
506+
# @private
507+
class Representation < Google::Apis::Core::JsonRepresentation
508+
property :inline_sbom_info, as: 'inlineSbomInfo', class: Google::Apis::DeploymentmanagerV2::GetVersionOperationMetadataSbomInfo, decorator: Google::Apis::DeploymentmanagerV2::GetVersionOperationMetadataSbomInfo::Representation
509+
510+
end
511+
end
512+
513+
class GetVersionOperationMetadataSbomInfo
514+
# @private
515+
class Representation < Google::Apis::Core::JsonRepresentation
516+
hash :current_component_versions, as: 'currentComponentVersions'
517+
hash :target_component_versions, as: 'targetComponentVersions'
518+
end
519+
end
520+
493521
class GlobalSetPolicyRequest
494522
# @private
495523
class Representation < Google::Apis::Core::JsonRepresentation
@@ -581,6 +609,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
581609

582610
property :firewall_policy_rule_operation_metadata, as: 'firewallPolicyRuleOperationMetadata', class: Google::Apis::DeploymentmanagerV2::FirewallPolicyRuleOperationMetadata, decorator: Google::Apis::DeploymentmanagerV2::FirewallPolicyRuleOperationMetadata::Representation
583611

612+
property :get_version_operation_metadata, as: 'getVersionOperationMetadata', class: Google::Apis::DeploymentmanagerV2::GetVersionOperationMetadata, decorator: Google::Apis::DeploymentmanagerV2::GetVersionOperationMetadata::Representation
613+
584614
property :http_error_message, as: 'httpErrorMessage'
585615
property :http_error_status_code, as: 'httpErrorStatusCode'
586616
property :id, :numeric_string => true, as: 'id'

0 commit comments

Comments
 (0)