@@ -78,183 +78,6 @@ def update!(**args)
7878 end
7979 end
8080
81- # Represents the metadata of a generic long-running operation.
82- class GoogleCloudOsconfigCommonV1OperationMetadata
83- include Google ::Apis ::Core ::Hashable
84-
85- # Output only. API version used to start the operation.
86- # Corresponds to the JSON property `apiVersion`
87- # @return [String]
88- attr_accessor :api_version
89-
90- # Output only. The time the operation was created.
91- # Corresponds to the JSON property `createTime`
92- # @return [String]
93- attr_accessor :create_time
94-
95- # Output only. The time the operation finished running.
96- # Corresponds to the JSON property `endTime`
97- # @return [String]
98- attr_accessor :end_time
99-
100- # Output only. Identifies whether the user has requested cancellation of the
101- # operation. Operations that have successfully been cancelled have Operation.
102- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
103- # CANCELLED`.
104- # Corresponds to the JSON property `requestedCancellation`
105- # @return [Boolean]
106- attr_accessor :requested_cancellation
107- alias_method :requested_cancellation? , :requested_cancellation
108-
109- # Output only. Human-readable status of the operation, if any.
110- # Corresponds to the JSON property `statusMessage`
111- # @return [String]
112- attr_accessor :status_message
113-
114- # Output only. Server-defined resource path for the target of the operation.
115- # Corresponds to the JSON property `target`
116- # @return [String]
117- attr_accessor :target
118-
119- # Output only. Name of the verb executed by the operation.
120- # Corresponds to the JSON property `verb`
121- # @return [String]
122- attr_accessor :verb
123-
124- def initialize ( **args )
125- update! ( **args )
126- end
127-
128- # Update properties of this object
129- def update! ( **args )
130- @api_version = args [ :api_version ] if args . key? ( :api_version )
131- @create_time = args [ :create_time ] if args . key? ( :create_time )
132- @end_time = args [ :end_time ] if args . key? ( :end_time )
133- @requested_cancellation = args [ :requested_cancellation ] if args . key? ( :requested_cancellation )
134- @status_message = args [ :status_message ] if args . key? ( :status_message )
135- @target = args [ :target ] if args . key? ( :target )
136- @verb = args [ :verb ] if args . key? ( :verb )
137- end
138- end
139-
140- # Represents the metadata of a generic long-running operation.
141- class GoogleCloudOsconfigCommonV1alphaOperationMetadata
142- include Google ::Apis ::Core ::Hashable
143-
144- # Output only. API version used to start the operation.
145- # Corresponds to the JSON property `apiVersion`
146- # @return [String]
147- attr_accessor :api_version
148-
149- # Output only. The time the operation was created.
150- # Corresponds to the JSON property `createTime`
151- # @return [String]
152- attr_accessor :create_time
153-
154- # Output only. The time the operation finished running.
155- # Corresponds to the JSON property `endTime`
156- # @return [String]
157- attr_accessor :end_time
158-
159- # Output only. Identifies whether the user has requested cancellation of the
160- # operation. Operations that have successfully been cancelled have Operation.
161- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
162- # CANCELLED`.
163- # Corresponds to the JSON property `requestedCancellation`
164- # @return [Boolean]
165- attr_accessor :requested_cancellation
166- alias_method :requested_cancellation? , :requested_cancellation
167-
168- # Output only. Human-readable status of the operation, if any.
169- # Corresponds to the JSON property `statusMessage`
170- # @return [String]
171- attr_accessor :status_message
172-
173- # Output only. Server-defined resource path for the target of the operation.
174- # Corresponds to the JSON property `target`
175- # @return [String]
176- attr_accessor :target
177-
178- # Output only. Name of the verb executed by the operation.
179- # Corresponds to the JSON property `verb`
180- # @return [String]
181- attr_accessor :verb
182-
183- def initialize ( **args )
184- update! ( **args )
185- end
186-
187- # Update properties of this object
188- def update! ( **args )
189- @api_version = args [ :api_version ] if args . key? ( :api_version )
190- @create_time = args [ :create_time ] if args . key? ( :create_time )
191- @end_time = args [ :end_time ] if args . key? ( :end_time )
192- @requested_cancellation = args [ :requested_cancellation ] if args . key? ( :requested_cancellation )
193- @status_message = args [ :status_message ] if args . key? ( :status_message )
194- @target = args [ :target ] if args . key? ( :target )
195- @verb = args [ :verb ] if args . key? ( :verb )
196- end
197- end
198-
199- # Represents the metadata of a generic long-running operation.
200- class GoogleCloudOsconfigCommonV1mainOperationMetadata
201- include Google ::Apis ::Core ::Hashable
202-
203- # Output only. API version used to start the operation.
204- # Corresponds to the JSON property `apiVersion`
205- # @return [String]
206- attr_accessor :api_version
207-
208- # Output only. The time the operation was created.
209- # Corresponds to the JSON property `createTime`
210- # @return [String]
211- attr_accessor :create_time
212-
213- # Output only. The time the operation finished running.
214- # Corresponds to the JSON property `endTime`
215- # @return [String]
216- attr_accessor :end_time
217-
218- # Output only. Identifies whether the user has requested cancellation of the
219- # operation. Operations that have successfully been cancelled have Operation.
220- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
221- # CANCELLED`.
222- # Corresponds to the JSON property `requestedCancellation`
223- # @return [Boolean]
224- attr_accessor :requested_cancellation
225- alias_method :requested_cancellation? , :requested_cancellation
226-
227- # Output only. Human-readable status of the operation, if any.
228- # Corresponds to the JSON property `statusMessage`
229- # @return [String]
230- attr_accessor :status_message
231-
232- # Output only. Server-defined resource path for the target of the operation.
233- # Corresponds to the JSON property `target`
234- # @return [String]
235- attr_accessor :target
236-
237- # Output only. Name of the verb executed by the operation.
238- # Corresponds to the JSON property `verb`
239- # @return [String]
240- attr_accessor :verb
241-
242- def initialize ( **args )
243- update! ( **args )
244- end
245-
246- # Update properties of this object
247- def update! ( **args )
248- @api_version = args [ :api_version ] if args . key? ( :api_version )
249- @create_time = args [ :create_time ] if args . key? ( :create_time )
250- @end_time = args [ :end_time ] if args . key? ( :end_time )
251- @requested_cancellation = args [ :requested_cancellation ] if args . key? ( :requested_cancellation )
252- @status_message = args [ :status_message ] if args . key? ( :status_message )
253- @target = args [ :target ] if args . key? ( :target )
254- @verb = args [ :verb ] if args . key? ( :verb )
255- end
256- end
257-
25881 # OS policy assignment operation metadata provided by OS policy assignment API
25982 # methods that return long running operations.
26083 class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
@@ -615,20 +438,21 @@ def update!(**args)
615438 end
616439 end
617440
618- # PolicyOrchestrator helps managing project+zone level policy resources (e.g. OS
619- # Policy Assignments), by providing tools to create, update and delete them
620- # across projects and locations, at scale. Policy orchestrator functions as an
621- # endless loop. Each iteration orchestrator computes a set of resources that
622- # should be affected, then progressively applies changes to them. If for some
623- # reason this set of resources changes over time (e.g. new projects are added),
624- # the future loop iterations will address that. Orchestrator can either upsert
625- # or delete policy resources. For more details, see the description of the `
626- # action`, and `orchestrated_resource` fields. Note that policy orchestrator do
627- # not "manage" the resources it creates. Every iteration is independent and only
628- # minimal history of past actions is retained (apart from Cloud Logging). If
629- # orchestrator gets deleted, it does not affect the resources it created in the
630- # past. Those will remain where they were. Same applies if projects are removed
631- # from the orchestrator's scope.
441+ # A policy orchestrator manages project-level and zone-level policy resources,
442+ # such as OS policy assignments. It provides methods to create, update, and
443+ # delete these resources across projects and locations at scale. The policy
444+ # orchestrator operates as a continuous loop. In each iteration, the
445+ # orchestrator identifies the set of resources to be modified and progressively
446+ # applies changes. If the set of resources changes over time (for example, if
447+ # you add new projects), subsequent iterations address those changes. The
448+ # orchestrator can either upsert or delete policy resources. For more details,
449+ # see the `action` and `orchestrated_resource` fields. The policy orchestrator
450+ # does not manage the lifecycle of the resources it creates. Each iteration is
451+ # independent and, besides Cloud Logging, the orchestrator retains only a
452+ # minimal history of past actions. Deleting the orchestrator does not affect
453+ # previously created resources; these resources remain in their current state.
454+ # Similarly, removing projects from the orchestrator's scope does not affect
455+ # existing resources.
632456 class GoogleCloudOsconfigV2PolicyOrchestrator
633457 include Google ::Apis ::Core ::Hashable
634458
@@ -662,10 +486,11 @@ class GoogleCloudOsconfigV2PolicyOrchestrator
662486 # @return [Hash<String,String>]
663487 attr_accessor :labels
664488
665- # Immutable. Identifier. In form of * `organizations/`organization_id`/locations/
666- # global/policyOrchestrators/`orchestrator_id`` * `folders/`folder_id`/locations/
667- # global/policyOrchestrators/`orchestrator_id`` * `projects/`
668- # project_id_or_number`/locations/global/policyOrchestrators/`orchestrator_id``
489+ # Immutable. Identifier. In the following format: * `organizations/`
490+ # organization_id`/locations/global/policyOrchestrators/`orchestrator_id`` * `
491+ # folders/`folder_id`/locations/global/policyOrchestrators/`orchestrator_id`` * `
492+ # projects/`project_id_or_number`/locations/global/policyOrchestrators/`
493+ # orchestrator_id``
669494 # Corresponds to the JSON property `name`
670495 # @return [String]
671496 attr_accessor :name
0 commit comments