@@ -431,6 +431,183 @@ def update!(**args)
431431 end
432432 end
433433
434+ # Represents the metadata of a generic long-running operation.
435+ class GoogleCloudOsconfigCommonV1OperationMetadata
436+ include Google ::Apis ::Core ::Hashable
437+
438+ # Output only. API version used to start the operation.
439+ # Corresponds to the JSON property `apiVersion`
440+ # @return [String]
441+ attr_accessor :api_version
442+
443+ # Output only. The time the operation was created.
444+ # Corresponds to the JSON property `createTime`
445+ # @return [String]
446+ attr_accessor :create_time
447+
448+ # Output only. The time the operation finished running.
449+ # Corresponds to the JSON property `endTime`
450+ # @return [String]
451+ attr_accessor :end_time
452+
453+ # Output only. Identifies whether the user has requested cancellation of the
454+ # operation. Operations that have successfully been cancelled have Operation.
455+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
456+ # CANCELLED`.
457+ # Corresponds to the JSON property `requestedCancellation`
458+ # @return [Boolean]
459+ attr_accessor :requested_cancellation
460+ alias_method :requested_cancellation? , :requested_cancellation
461+
462+ # Output only. Human-readable status of the operation, if any.
463+ # Corresponds to the JSON property `statusMessage`
464+ # @return [String]
465+ attr_accessor :status_message
466+
467+ # Output only. Server-defined resource path for the target of the operation.
468+ # Corresponds to the JSON property `target`
469+ # @return [String]
470+ attr_accessor :target
471+
472+ # Output only. Name of the verb executed by the operation.
473+ # Corresponds to the JSON property `verb`
474+ # @return [String]
475+ attr_accessor :verb
476+
477+ def initialize ( **args )
478+ update! ( **args )
479+ end
480+
481+ # Update properties of this object
482+ def update! ( **args )
483+ @api_version = args [ :api_version ] if args . key? ( :api_version )
484+ @create_time = args [ :create_time ] if args . key? ( :create_time )
485+ @end_time = args [ :end_time ] if args . key? ( :end_time )
486+ @requested_cancellation = args [ :requested_cancellation ] if args . key? ( :requested_cancellation )
487+ @status_message = args [ :status_message ] if args . key? ( :status_message )
488+ @target = args [ :target ] if args . key? ( :target )
489+ @verb = args [ :verb ] if args . key? ( :verb )
490+ end
491+ end
492+
493+ # Represents the metadata of a generic long-running operation.
494+ class GoogleCloudOsconfigCommonV1alphaOperationMetadata
495+ include Google ::Apis ::Core ::Hashable
496+
497+ # Output only. API version used to start the operation.
498+ # Corresponds to the JSON property `apiVersion`
499+ # @return [String]
500+ attr_accessor :api_version
501+
502+ # Output only. The time the operation was created.
503+ # Corresponds to the JSON property `createTime`
504+ # @return [String]
505+ attr_accessor :create_time
506+
507+ # Output only. The time the operation finished running.
508+ # Corresponds to the JSON property `endTime`
509+ # @return [String]
510+ attr_accessor :end_time
511+
512+ # Output only. Identifies whether the user has requested cancellation of the
513+ # operation. Operations that have successfully been cancelled have Operation.
514+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
515+ # CANCELLED`.
516+ # Corresponds to the JSON property `requestedCancellation`
517+ # @return [Boolean]
518+ attr_accessor :requested_cancellation
519+ alias_method :requested_cancellation? , :requested_cancellation
520+
521+ # Output only. Human-readable status of the operation, if any.
522+ # Corresponds to the JSON property `statusMessage`
523+ # @return [String]
524+ attr_accessor :status_message
525+
526+ # Output only. Server-defined resource path for the target of the operation.
527+ # Corresponds to the JSON property `target`
528+ # @return [String]
529+ attr_accessor :target
530+
531+ # Output only. Name of the verb executed by the operation.
532+ # Corresponds to the JSON property `verb`
533+ # @return [String]
534+ attr_accessor :verb
535+
536+ def initialize ( **args )
537+ update! ( **args )
538+ end
539+
540+ # Update properties of this object
541+ def update! ( **args )
542+ @api_version = args [ :api_version ] if args . key? ( :api_version )
543+ @create_time = args [ :create_time ] if args . key? ( :create_time )
544+ @end_time = args [ :end_time ] if args . key? ( :end_time )
545+ @requested_cancellation = args [ :requested_cancellation ] if args . key? ( :requested_cancellation )
546+ @status_message = args [ :status_message ] if args . key? ( :status_message )
547+ @target = args [ :target ] if args . key? ( :target )
548+ @verb = args [ :verb ] if args . key? ( :verb )
549+ end
550+ end
551+
552+ # Represents the metadata of a generic long-running operation.
553+ class GoogleCloudOsconfigCommonV1mainOperationMetadata
554+ include Google ::Apis ::Core ::Hashable
555+
556+ # Output only. API version used to start the operation.
557+ # Corresponds to the JSON property `apiVersion`
558+ # @return [String]
559+ attr_accessor :api_version
560+
561+ # Output only. The time the operation was created.
562+ # Corresponds to the JSON property `createTime`
563+ # @return [String]
564+ attr_accessor :create_time
565+
566+ # Output only. The time the operation finished running.
567+ # Corresponds to the JSON property `endTime`
568+ # @return [String]
569+ attr_accessor :end_time
570+
571+ # Output only. Identifies whether the user has requested cancellation of the
572+ # operation. Operations that have successfully been cancelled have Operation.
573+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
574+ # CANCELLED`.
575+ # Corresponds to the JSON property `requestedCancellation`
576+ # @return [Boolean]
577+ attr_accessor :requested_cancellation
578+ alias_method :requested_cancellation? , :requested_cancellation
579+
580+ # Output only. Human-readable status of the operation, if any.
581+ # Corresponds to the JSON property `statusMessage`
582+ # @return [String]
583+ attr_accessor :status_message
584+
585+ # Output only. Server-defined resource path for the target of the operation.
586+ # Corresponds to the JSON property `target`
587+ # @return [String]
588+ attr_accessor :target
589+
590+ # Output only. Name of the verb executed by the operation.
591+ # Corresponds to the JSON property `verb`
592+ # @return [String]
593+ attr_accessor :verb
594+
595+ def initialize ( **args )
596+ update! ( **args )
597+ end
598+
599+ # Update properties of this object
600+ def update! ( **args )
601+ @api_version = args [ :api_version ] if args . key? ( :api_version )
602+ @create_time = args [ :create_time ] if args . key? ( :create_time )
603+ @end_time = args [ :end_time ] if args . key? ( :end_time )
604+ @requested_cancellation = args [ :requested_cancellation ] if args . key? ( :requested_cancellation )
605+ @status_message = args [ :status_message ] if args . key? ( :status_message )
606+ @target = args [ :target ] if args . key? ( :target )
607+ @verb = args [ :verb ] if args . key? ( :verb )
608+ end
609+ end
610+
434611 # OS policy assignment operation metadata provided by OS policy assignment API
435612 # methods that return long running operations.
436613 class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
@@ -1195,6 +1372,40 @@ def update!(**args)
11951372 end
11961373 end
11971374
1375+ # The response message for Operations.ListOperations.
1376+ class ListOperationsResponse
1377+ include Google ::Apis ::Core ::Hashable
1378+
1379+ # The standard List next-page token.
1380+ # Corresponds to the JSON property `nextPageToken`
1381+ # @return [String]
1382+ attr_accessor :next_page_token
1383+
1384+ # A list of operations that matches the specified filter in the request.
1385+ # Corresponds to the JSON property `operations`
1386+ # @return [Array<Google::Apis::OsconfigV1::Operation>]
1387+ attr_accessor :operations
1388+
1389+ # Unordered list. Unreachable resources. Populated when the request sets `
1390+ # ListOperationsRequest.return_partial_success` and reads across collections.
1391+ # For example, when attempting to list all resources across all supported
1392+ # locations.
1393+ # Corresponds to the JSON property `unreachable`
1394+ # @return [Array<String>]
1395+ attr_accessor :unreachable
1396+
1397+ def initialize ( **args )
1398+ update! ( **args )
1399+ end
1400+
1401+ # Update properties of this object
1402+ def update! ( **args )
1403+ @next_page_token = args [ :next_page_token ] if args . key? ( :next_page_token )
1404+ @operations = args [ :operations ] if args . key? ( :operations )
1405+ @unreachable = args [ :unreachable ] if args . key? ( :unreachable )
1406+ end
1407+ end
1408+
11981409 # A response message for listing patch deployments.
11991410 class ListPatchDeploymentsResponse
12001411 include Google ::Apis ::Core ::Hashable
0 commit comments