Skip to content

Commit b80bace

Browse files
feat: Automated regeneration of workloadmanager v1 client (#23855)
Auto-created at 2025-08-03 10:34:05 +0000 using the toys pull request generator.
1 parent f8f769d commit b80bace

File tree

5 files changed

+63
-3
lines changed

5 files changed

+63
-3
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377467,6 +377467,9 @@
377467377467
"/workloadmanager:v1/AgentCommand/command": command
377468377468
"/workloadmanager:v1/AgentCommand/parameters": parameters
377469377469
"/workloadmanager:v1/AgentCommand/parameters/parameter": parameter
377470+
"/workloadmanager:v1/AgentStates": agent_states
377471+
"/workloadmanager:v1/AgentStates/availableVersion": available_version
377472+
"/workloadmanager:v1/AgentStates/installedVersion": installed_version
377470377473
"/workloadmanager:v1/AgentStatus": agent_status
377471377474
"/workloadmanager:v1/AgentStatus/agentName": agent_name
377472377475
"/workloadmanager:v1/AgentStatus/availableVersion": available_version
@@ -377582,6 +377585,7 @@
377582377585
"/workloadmanager:v1/Evaluation/customRulesBucket": custom_rules_bucket
377583377586
"/workloadmanager:v1/Evaluation/description": description
377584377587
"/workloadmanager:v1/Evaluation/evaluationType": evaluation_type
377588+
"/workloadmanager:v1/Evaluation/kmsKey": kms_key
377585377589
"/workloadmanager:v1/Evaluation/labels": labels
377586377590
"/workloadmanager:v1/Evaluation/labels/label": label
377587377591
"/workloadmanager:v1/Evaluation/name": name
@@ -377922,6 +377926,7 @@
377922377926
"/workloadmanager:v1/SapDiscoveryWorkloadPropertiesSoftwareComponentProperties/type": type
377923377927
"/workloadmanager:v1/SapDiscoveryWorkloadPropertiesSoftwareComponentProperties/version": version
377924377928
"/workloadmanager:v1/SapInstanceProperties": sap_instance_properties
377929+
"/workloadmanager:v1/SapInstanceProperties/agentStates": agent_states
377925377930
"/workloadmanager:v1/SapInstanceProperties/numbers": numbers
377926377931
"/workloadmanager:v1/SapInstanceProperties/numbers/number": number
377927377932
"/workloadmanager:v1/SapValidation": sap_validation

generated/google-apis-workloadmanager_v1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-workloadmanager_v1
22

3-
### v0.38.0 (2025-07-27)
3+
### v0.38.0 (2025-08-03)
44

5-
* Regenerated from discovery document revision 20250714
5+
* Regenerated from discovery document revision 20250727
66

77
### v0.37.0 (2025-07-13)
88

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,31 @@ def update!(**args)
4848
end
4949
end
5050

51+
# Agent status.
52+
class AgentStates
53+
include Google::Apis::Core::Hashable
54+
55+
# Optional. The available version of the agent in artifact registry.
56+
# Corresponds to the JSON property `availableVersion`
57+
# @return [String]
58+
attr_accessor :available_version
59+
60+
# Optional. The installed version of the agent on the host.
61+
# Corresponds to the JSON property `installedVersion`
62+
# @return [String]
63+
attr_accessor :installed_version
64+
65+
def initialize(**args)
66+
update!(**args)
67+
end
68+
69+
# Update properties of this object
70+
def update!(**args)
71+
@available_version = args[:available_version] if args.key?(:available_version)
72+
@installed_version = args[:installed_version] if args.key?(:installed_version)
73+
end
74+
end
75+
5176
# The schema of agent status data.
5277
class AgentStatus
5378
include Google::Apis::Core::Hashable
@@ -468,6 +493,12 @@ class Evaluation
468493
# @return [String]
469494
attr_accessor :evaluation_type
470495

496+
# Optional. Immutable. Customer-managed encryption key name, in the format
497+
# projects/*/locations/*/keyRings/*/cryptoKeys/*.
498+
# Corresponds to the JSON property `kmsKey`
499+
# @return [String]
500+
attr_accessor :kms_key
501+
471502
# Labels as key value pairs
472503
# Corresponds to the JSON property `labels`
473504
# @return [Hash<String,String>]
@@ -522,6 +553,7 @@ def update!(**args)
522553
@custom_rules_bucket = args[:custom_rules_bucket] if args.key?(:custom_rules_bucket)
523554
@description = args[:description] if args.key?(:description)
524555
@evaluation_type = args[:evaluation_type] if args.key?(:evaluation_type)
556+
@kms_key = args[:kms_key] if args.key?(:kms_key)
525557
@labels = args[:labels] if args.key?(:labels)
526558
@name = args[:name] if args.key?(:name)
527559
@resource_filter = args[:resource_filter] if args.key?(:resource_filter)
@@ -2230,6 +2262,11 @@ def update!(**args)
22302262
class SapInstanceProperties
22312263
include Google::Apis::Core::Hashable
22322264

2265+
# Agent status.
2266+
# Corresponds to the JSON property `agentStates`
2267+
# @return [Google::Apis::WorkloadmanagerV1::AgentStates]
2268+
attr_accessor :agent_states
2269+
22332270
# Optional. SAP Instance numbers. They are from '00' to '99'.
22342271
# Corresponds to the JSON property `numbers`
22352272
# @return [Array<String>]
@@ -2241,6 +2278,7 @@ def initialize(**args)
22412278

22422279
# Update properties of this object
22432280
def update!(**args)
2281+
@agent_states = args[:agent_states] if args.key?(:agent_states)
22442282
@numbers = args[:numbers] if args.key?(:numbers)
22452283
end
22462284
end

generated/google-apis-workloadmanager_v1/lib/google/apis/workloadmanager_v1/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module WorkloadmanagerV1
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
2828
include Google::Apis::Core::JsonObjectSupport
2929
end
3030

31+
class AgentStates
32+
class Representation < Google::Apis::Core::JsonRepresentation; end
33+
34+
include Google::Apis::Core::JsonObjectSupport
35+
end
36+
3137
class AgentStatus
3238
class Representation < Google::Apis::Core::JsonRepresentation; end
3339

@@ -462,6 +468,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
462468
end
463469
end
464470

471+
class AgentStates
472+
# @private
473+
class Representation < Google::Apis::Core::JsonRepresentation
474+
property :available_version, as: 'availableVersion'
475+
property :installed_version, as: 'installedVersion'
476+
end
477+
end
478+
465479
class AgentStatus
466480
# @private
467481
class Representation < Google::Apis::Core::JsonRepresentation
@@ -590,6 +604,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
590604
property :custom_rules_bucket, as: 'customRulesBucket'
591605
property :description, as: 'description'
592606
property :evaluation_type, as: 'evaluationType'
607+
property :kms_key, as: 'kmsKey'
593608
hash :labels, as: 'labels'
594609
property :name, as: 'name'
595610
property :resource_filter, as: 'resourceFilter', class: Google::Apis::WorkloadmanagerV1::ResourceFilter, decorator: Google::Apis::WorkloadmanagerV1::ResourceFilter::Representation
@@ -1079,6 +1094,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
10791094
class SapInstanceProperties
10801095
# @private
10811096
class Representation < Google::Apis::Core::JsonRepresentation
1097+
property :agent_states, as: 'agentStates', class: Google::Apis::WorkloadmanagerV1::AgentStates, decorator: Google::Apis::WorkloadmanagerV1::AgentStates::Representation
1098+
10821099
collection :numbers, as: 'numbers'
10831100
end
10841101
end

0 commit comments

Comments
 (0)