google-apis-servicecontrol_v2 0.36.0 → 0.38.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: 576477c698707a642ded254bd08019d1a7030c7842ecee321004c2309de23c56
         | 
| 4 | 
            +
              data.tar.gz: 41b9dda99af07ef55ad5e039674923d1dda5818e5a293ef261d22c2315dcbea9
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 07e235d6d61da599b6bdd6a17ac552773582a6a06f6ae269ddb73e67861c52ccfaa551ddab061080b202b56b3dcffd73003d1abe13ea0b0c33539cbb11ab9646
         | 
| 7 | 
            +
              data.tar.gz: 69e984eb043c2bec02fdb95d299e7de85ef34979edbd16a7780cb2f901887ede3d3ae4ed34f1eb1dee9e63b96968cd825dd2f9f39fbe1cf6def8090ad9bc5d68
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,13 @@ | |
| 1 1 | 
             
            # Release history for google-apis-servicecontrol_v2
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.38.0 (2024-05-19)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated using generator version 0.15.0
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.37.0 (2024-05-05)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20240426
         | 
| 10 | 
            +
             | 
| 3 11 | 
             
            ### v0.36.0 (2024-04-28)
         | 
| 4 12 |  | 
| 5 13 | 
             
            * Regenerated from discovery document revision 20240419
         | 
| @@ -1660,6 +1660,68 @@ module Google | |
| 1660 1660 | 
             
                    end
         | 
| 1661 1661 | 
             
                  end
         | 
| 1662 1662 |  | 
| 1663 | 
            +
                  # Report v2 extension proto for passing the resource metadata associated with a
         | 
| 1664 | 
            +
                  # resource create/update/delete/undelete event from ESF to Chemist.
         | 
| 1665 | 
            +
                  # ResourceEvent proto should be serialized into the ReportRequest.operations.
         | 
| 1666 | 
            +
                  # extensions.
         | 
| 1667 | 
            +
                  class V2ResourceEvent
         | 
| 1668 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1669 | 
            +
                  
         | 
| 1670 | 
            +
                    # The destinations field determines which backend services should handle the
         | 
| 1671 | 
            +
                    # event. This should be specified as a comma-delimited string.
         | 
| 1672 | 
            +
                    # Corresponds to the JSON property `destinations`
         | 
| 1673 | 
            +
                    # @return [String]
         | 
| 1674 | 
            +
                    attr_accessor :destinations
         | 
| 1675 | 
            +
                  
         | 
| 1676 | 
            +
                    # This message defines core attributes for a resource. A resource is an
         | 
| 1677 | 
            +
                    # addressable (named) entity provided by the destination service. For example, a
         | 
| 1678 | 
            +
                    # file stored on a network storage service.
         | 
| 1679 | 
            +
                    # Corresponds to the JSON property `parent`
         | 
| 1680 | 
            +
                    # @return [Google::Apis::ServicecontrolV2::Resource]
         | 
| 1681 | 
            +
                    attr_accessor :parent
         | 
| 1682 | 
            +
                  
         | 
| 1683 | 
            +
                    # The api path the resource event was created in. This should match the source
         | 
| 1684 | 
            +
                    # of the `payload` field. For direct integrations with Chemist, this should
         | 
| 1685 | 
            +
                    # generally be the RESPONSE. go/resource-event-pipeline-type
         | 
| 1686 | 
            +
                    # Corresponds to the JSON property `path`
         | 
| 1687 | 
            +
                    # @return [String]
         | 
| 1688 | 
            +
                    attr_accessor :path
         | 
| 1689 | 
            +
                  
         | 
| 1690 | 
            +
                    # The payload contains metadata associated with the resource event. A
         | 
| 1691 | 
            +
                    # ResourceEventPayloadStatus is provided instead if the original payload cannot
         | 
| 1692 | 
            +
                    # be returned due to a limitation (e.g. size limit).
         | 
| 1693 | 
            +
                    # Corresponds to the JSON property `payload`
         | 
| 1694 | 
            +
                    # @return [Hash<String,Object>]
         | 
| 1695 | 
            +
                    attr_accessor :payload
         | 
| 1696 | 
            +
                  
         | 
| 1697 | 
            +
                    # This message defines core attributes for a resource. A resource is an
         | 
| 1698 | 
            +
                    # addressable (named) entity provided by the destination service. For example, a
         | 
| 1699 | 
            +
                    # file stored on a network storage service.
         | 
| 1700 | 
            +
                    # Corresponds to the JSON property `resource`
         | 
| 1701 | 
            +
                    # @return [Google::Apis::ServicecontrolV2::Resource]
         | 
| 1702 | 
            +
                    attr_accessor :resource
         | 
| 1703 | 
            +
                  
         | 
| 1704 | 
            +
                    # The resource event type determines how the backend service should process the
         | 
| 1705 | 
            +
                    # event.
         | 
| 1706 | 
            +
                    # Corresponds to the JSON property `type`
         | 
| 1707 | 
            +
                    # @return [String]
         | 
| 1708 | 
            +
                    attr_accessor :type
         | 
| 1709 | 
            +
                  
         | 
| 1710 | 
            +
                    def initialize(**args)
         | 
| 1711 | 
            +
                       update!(**args)
         | 
| 1712 | 
            +
                    end
         | 
| 1713 | 
            +
                  
         | 
| 1714 | 
            +
                    # Update properties of this object
         | 
| 1715 | 
            +
                    def update!(**args)
         | 
| 1716 | 
            +
                      @destinations = args[:destinations] if args.key?(:destinations)
         | 
| 1717 | 
            +
                      @parent = args[:parent] if args.key?(:parent)
         | 
| 1718 | 
            +
                      @path = args[:path] if args.key?(:path)
         | 
| 1719 | 
            +
                      @payload = args[:payload] if args.key?(:payload)
         | 
| 1720 | 
            +
                      @resource = args[:resource] if args.key?(:resource)
         | 
| 1721 | 
            +
                      @type = args[:type] if args.key?(:type)
         | 
| 1722 | 
            +
                    end
         | 
| 1723 | 
            +
                  end
         | 
| 1724 | 
            +
                  
         | 
| 1663 1725 | 
             
                  # Provides information about the Policy violation info for this request.
         | 
| 1664 1726 | 
             
                  class ViolationInfo
         | 
| 1665 1727 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module ServicecontrolV2
         | 
| 18 18 | 
             
                  # Version of the google-apis-servicecontrol_v2 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.38.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 = "20240426"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -202,6 +202,12 @@ module Google | |
| 202 202 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 203 203 | 
             
                  end
         | 
| 204 204 |  | 
| 205 | 
            +
                  class V2ResourceEvent
         | 
| 206 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 207 | 
            +
                  
         | 
| 208 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 209 | 
            +
                  end
         | 
| 210 | 
            +
                  
         | 
| 205 211 | 
             
                  class ViolationInfo
         | 
| 206 212 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 207 213 |  | 
| @@ -574,6 +580,20 @@ module Google | |
| 574 580 | 
             
                    end
         | 
| 575 581 | 
             
                  end
         | 
| 576 582 |  | 
| 583 | 
            +
                  class V2ResourceEvent
         | 
| 584 | 
            +
                    # @private
         | 
| 585 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 586 | 
            +
                      property :destinations, as: 'destinations'
         | 
| 587 | 
            +
                      property :parent, as: 'parent', class: Google::Apis::ServicecontrolV2::Resource, decorator: Google::Apis::ServicecontrolV2::Resource::Representation
         | 
| 588 | 
            +
                  
         | 
| 589 | 
            +
                      property :path, as: 'path'
         | 
| 590 | 
            +
                      hash :payload, as: 'payload'
         | 
| 591 | 
            +
                      property :resource, as: 'resource', class: Google::Apis::ServicecontrolV2::Resource, decorator: Google::Apis::ServicecontrolV2::Resource::Representation
         | 
| 592 | 
            +
                  
         | 
| 593 | 
            +
                      property :type, as: 'type'
         | 
| 594 | 
            +
                    end
         | 
| 595 | 
            +
                  end
         | 
| 596 | 
            +
                  
         | 
| 577 597 | 
             
                  class ViolationInfo
         | 
| 578 598 | 
             
                    # @private
         | 
| 579 599 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-servicecontrol_v2
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.38.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-05-19 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-servicecontrol_v2/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.38.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicecontrol_v2
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |