google-apis-osconfig_v1 0.39.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 9b719ed5cc16887c01f583c68217ea1858ad5bfe63a356739ba1f92a368a815d
         | 
| 4 | 
            +
              data.tar.gz: 8d9f650cd654b9cff12e2306ddbdb90040d233be61ad2d5cb4c315de1e05414a
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 2a682991dfc2bf69a908b66eac0a0b75dd0b59a3e8af93fa35c17946e52f99b6bf13f9007c63fa42ecf1e632a3adad3f9e91547e959f510bddaef539505f7911
         | 
| 7 | 
            +
              data.tar.gz: 11986963bbd0bbd2e1d81613b2b4719a6e1cfceaab17c5b104b97b122df1dc8589de6a7de5bd77071d31303cb9b4a75c0fbec756d319deaa3f06319ee6c5010f
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,14 @@ | |
| 1 1 | 
             
            # Release history for google-apis-osconfig_v1
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.41.0 (2024-06-09)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20240602
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.40.0 (2024-05-19)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20240512
         | 
| 10 | 
            +
            * Regenerated using generator version 0.15.0
         | 
| 11 | 
            +
             | 
| 3 12 | 
             
            ### v0.39.0 (2024-04-14)
         | 
| 4 13 |  | 
| 5 14 | 
             
            * Regenerated from discovery document revision 20240407
         | 
| @@ -1598,7 +1598,9 @@ module Google | |
| 1598 1598 | 
             
                    # agent unexpectedly started working on a different task. This mostly happens
         | 
| 1599 1599 | 
             
                    # when the agent or VM unexpectedly restarts while applying OS policies. * `
         | 
| 1600 1600 | 
             
                    # internal-service-errors`: Internal service errors were encountered while
         | 
| 1601 | 
            -
                    # attempting to apply the policy.
         | 
| 1601 | 
            +
                    # attempting to apply the policy. * `os-policy-execution-pending`: OS policy was
         | 
| 1602 | 
            +
                    # assigned to the given VM, but was not executed yet. Typically this is a
         | 
| 1603 | 
            +
                    # transient condition that will go away after the next policy execution cycle.
         | 
| 1602 1604 | 
             
                    # Corresponds to the JSON property `complianceStateReason`
         | 
| 1603 1605 | 
             
                    # @return [String]
         | 
| 1604 1606 | 
             
                    attr_accessor :compliance_state_reason
         | 
| @@ -1643,7 +1645,9 @@ module Google | |
| 1643 1645 | 
             
                    # execution was skipped by the agent because errors were encountered while
         | 
| 1644 1646 | 
             
                    # executing prior resources in the OS policy. * `os-policy-execution-attempt-
         | 
| 1645 1647 | 
             
                    # failed`: The execution of the OS policy containing this resource failed and
         | 
| 1646 | 
            -
                    # the compliance state couldn't be determined.
         | 
| 1648 | 
            +
                    # the compliance state couldn't be determined. * `os-policy-execution-pending`:
         | 
| 1649 | 
            +
                    # OS policy that owns this resource was assigned to the given VM, but was not
         | 
| 1650 | 
            +
                    # executed yet.
         | 
| 1647 1651 | 
             
                    # Corresponds to the JSON property `complianceStateReason`
         | 
| 1648 1652 | 
             
                    # @return [String]
         | 
| 1649 1653 | 
             
                    attr_accessor :compliance_state_reason
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module OsconfigV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-osconfig_v1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.41.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 | 
            -
                  GENERATOR_VERSION = "0. | 
| 22 | 
            +
                  GENERATOR_VERSION = "0.15.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20240602"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -402,6 +402,10 @@ module Google | |
| 402 402 | 
             
                    #   following restrictions: * Must contain only lowercase letters, numbers, and
         | 
| 403 403 | 
             
                    #   hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must
         | 
| 404 404 | 
             
                    #   end with a number or a letter. * Must be unique within the project.
         | 
| 405 | 
            +
                    # @param [String] request_id
         | 
| 406 | 
            +
                    #   Optional. A unique identifier for this request. Restricted to 36 ASCII
         | 
| 407 | 
            +
                    #   characters. A random UUID is recommended. This request is only idempotent if a
         | 
| 408 | 
            +
                    #   `request_id` is provided.
         | 
| 405 409 | 
             
                    # @param [String] fields
         | 
| 406 410 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 407 411 | 
             
                    # @param [String] quota_user
         | 
| @@ -419,7 +423,7 @@ module Google | |
| 419 423 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 420 424 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 421 425 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 422 | 
            -
                    def create_project_location_os_policy_assignment(parent, os_policy_assignment_object = nil, os_policy_assignment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 426 | 
            +
                    def create_project_location_os_policy_assignment(parent, os_policy_assignment_object = nil, os_policy_assignment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 423 427 | 
             
                      command = make_simple_command(:post, 'v1/{+parent}/osPolicyAssignments', options)
         | 
| 424 428 | 
             
                      command.request_representation = Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
         | 
| 425 429 | 
             
                      command.request_object = os_policy_assignment_object
         | 
| @@ -427,6 +431,7 @@ module Google | |
| 427 431 | 
             
                      command.response_class = Google::Apis::OsconfigV1::Operation
         | 
| 428 432 | 
             
                      command.params['parent'] = parent unless parent.nil?
         | 
| 429 433 | 
             
                      command.query['osPolicyAssignmentId'] = os_policy_assignment_id unless os_policy_assignment_id.nil?
         | 
| 434 | 
            +
                      command.query['requestId'] = request_id unless request_id.nil?
         | 
| 430 435 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 431 436 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 432 437 | 
             
                      execute_or_queue_command(command, &block)
         | 
| @@ -442,6 +447,10 @@ module Google | |
| 442 447 | 
             
                    # operations/cancel).
         | 
| 443 448 | 
             
                    # @param [String] name
         | 
| 444 449 | 
             
                    #   Required. The name of the OS policy assignment to be deleted
         | 
| 450 | 
            +
                    # @param [String] request_id
         | 
| 451 | 
            +
                    #   Optional. A unique identifier for this request. Restricted to 36 ASCII
         | 
| 452 | 
            +
                    #   characters. A random UUID is recommended. This request is only idempotent if a
         | 
| 453 | 
            +
                    #   `request_id` is provided.
         | 
| 445 454 | 
             
                    # @param [String] fields
         | 
| 446 455 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 447 456 | 
             
                    # @param [String] quota_user
         | 
| @@ -459,11 +468,12 @@ module Google | |
| 459 468 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 460 469 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 461 470 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 462 | 
            -
                    def delete_project_location_os_policy_assignment(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 471 | 
            +
                    def delete_project_location_os_policy_assignment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 463 472 | 
             
                      command = make_simple_command(:delete, 'v1/{+name}', options)
         | 
| 464 473 | 
             
                      command.response_representation = Google::Apis::OsconfigV1::Operation::Representation
         | 
| 465 474 | 
             
                      command.response_class = Google::Apis::OsconfigV1::Operation
         | 
| 466 475 | 
             
                      command.params['name'] = name unless name.nil?
         | 
| 476 | 
            +
                      command.query['requestId'] = request_id unless request_id.nil?
         | 
| 467 477 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 468 478 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 469 479 | 
             
                      execute_or_queue_command(command, &block)
         | 
| @@ -590,6 +600,13 @@ module Google | |
| 590 600 | 
             
                    #   osPolicyAssignments/`os_policy_assignment_id`` This field is ignored when you
         | 
| 591 601 | 
             
                    #   create an OS policy assignment.
         | 
| 592 602 | 
             
                    # @param [Google::Apis::OsconfigV1::OsPolicyAssignment] os_policy_assignment_object
         | 
| 603 | 
            +
                    # @param [Boolean] allow_missing
         | 
| 604 | 
            +
                    #   Optional. If set to true, and the OS policy assignment is not found, a new OS
         | 
| 605 | 
            +
                    #   policy assignment will be created. In this situation, `update_mask` is ignored.
         | 
| 606 | 
            +
                    # @param [String] request_id
         | 
| 607 | 
            +
                    #   Optional. A unique identifier for this request. Restricted to 36 ASCII
         | 
| 608 | 
            +
                    #   characters. A random UUID is recommended. This request is only idempotent if a
         | 
| 609 | 
            +
                    #   `request_id` is provided.
         | 
| 593 610 | 
             
                    # @param [String] update_mask
         | 
| 594 611 | 
             
                    #   Optional. Field mask that controls which fields of the assignment should be
         | 
| 595 612 | 
             
                    #   updated.
         | 
| @@ -610,13 +627,15 @@ module Google | |
| 610 627 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 611 628 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 612 629 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 613 | 
            -
                    def patch_project_location_os_policy_assignment(name, os_policy_assignment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 630 | 
            +
                    def patch_project_location_os_policy_assignment(name, os_policy_assignment_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 614 631 | 
             
                      command = make_simple_command(:patch, 'v1/{+name}', options)
         | 
| 615 632 | 
             
                      command.request_representation = Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
         | 
| 616 633 | 
             
                      command.request_object = os_policy_assignment_object
         | 
| 617 634 | 
             
                      command.response_representation = Google::Apis::OsconfigV1::Operation::Representation
         | 
| 618 635 | 
             
                      command.response_class = Google::Apis::OsconfigV1::Operation
         | 
| 619 636 | 
             
                      command.params['name'] = name unless name.nil?
         | 
| 637 | 
            +
                      command.query['allowMissing'] = allow_missing unless allow_missing.nil?
         | 
| 638 | 
            +
                      command.query['requestId'] = request_id unless request_id.nil?
         | 
| 620 639 | 
             
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         | 
| 621 640 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 622 641 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-osconfig_v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.41.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2024- | 
| 11 | 
            +
            date: 2024-06-09 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-apis-core
         | 
| @@ -16,7 +16,7 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - ">="
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: 0. | 
| 19 | 
            +
                    version: 0.15.0
         | 
| 20 20 | 
             
                - - "<"
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 22 | 
             
                    version: 2.a
         | 
| @@ -26,7 +26,7 @@ dependencies: | |
| 26 26 | 
             
                requirements:
         | 
| 27 27 | 
             
                - - ">="
         | 
| 28 28 | 
             
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            -
                    version: 0. | 
| 29 | 
            +
                    version: 0.15.0
         | 
| 30 30 | 
             
                - - "<"
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 32 | 
             
                    version: 2.a
         | 
| @@ -58,7 +58,7 @@ licenses: | |
| 58 58 | 
             
            metadata:
         | 
| 59 59 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 60 60 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.41.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |