@@ -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
0 commit comments