google-cloud-memcache-v1 1.1.0 → 2.0.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/memcache/v1/cloud_memcache/client.rb +7 -0
- data/lib/google/cloud/memcache/v1/cloud_memcache/operations.rb +7 -0
- data/lib/google/cloud/memcache/v1/cloud_memcache/rest/client.rb +11 -2
- data/lib/google/cloud/memcache/v1/cloud_memcache/rest/operations.rb +7 -0
- data/lib/google/cloud/memcache/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 588f06114c851f9b2b397d0ed351353d4fe256917aefdbb4abaf7d3d1c39766f
         | 
| 4 | 
            +
              data.tar.gz: 14183e8770ba4f24eaa9307c5e8d6c0d4208e35a1bafd2f8df4141d2d52e657f
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: c5129c146760b5aec206101293f53d849f3cf6ee6c65457f7e519ffc8307750d95a37eab42ec4352ff4c6f376c291454e6f15064361b3f676565b8de932030c9
         | 
| 7 | 
            +
              data.tar.gz: e88efb8d244ce194af35a4b64b9218947624ab8da52978e7bc9eea9951d4b28d640de3483790b5e529d659fe1bbc8f8d75fdaa597c3d08e4efc9162e88d97e4c
         | 
    
        data/README.md
    CHANGED
    
    | @@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g | |
| 85 85 |  | 
| 86 86 | 
             
            ## Supported Ruby Versions
         | 
| 87 87 |  | 
| 88 | 
            -
            This library is supported on Ruby  | 
| 88 | 
            +
            This library is supported on Ruby 3.0+.
         | 
| 89 89 |  | 
| 90 90 | 
             
            Google provides official support for Ruby versions that are actively supported
         | 
| 91 91 | 
             
            by Ruby Core—that is, Ruby versions that are either in normal maintenance or
         | 
| @@ -1092,6 +1092,13 @@ module Google | |
| 1092 1092 | 
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         | 
| 1093 1093 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 1094 1094 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 1095 | 
            +
                        #
         | 
| 1096 | 
            +
                        #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 1097 | 
            +
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 1098 | 
            +
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 1099 | 
            +
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| 1100 | 
            +
                        #   For more information, refer to [Validate credential configurations from external
         | 
| 1101 | 
            +
                        #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         | 
| 1095 1102 | 
             
                        #   @return [::Object]
         | 
| 1096 1103 | 
             
                        # @!attribute [rw] scope
         | 
| 1097 1104 | 
             
                        #   The OAuth scopes
         | 
| @@ -640,6 +640,13 @@ module Google | |
| 640 640 | 
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         | 
| 641 641 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 642 642 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 643 | 
            +
                        #
         | 
| 644 | 
            +
                        #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 645 | 
            +
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 646 | 
            +
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 647 | 
            +
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| 648 | 
            +
                        #   For more information, refer to [Validate credential configurations from external
         | 
| 649 | 
            +
                        #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         | 
| 643 650 | 
             
                        #   @return [::Object]
         | 
| 644 651 | 
             
                        # @!attribute [rw] scope
         | 
| 645 652 | 
             
                        #   The OAuth scopes
         | 
| @@ -275,10 +275,10 @@ module Google | |
| 275 275 | 
             
                          #   @param order_by [::String]
         | 
| 276 276 | 
             
                          #     Sort results. Supported values are "name", "name desc" or "" (unsorted).
         | 
| 277 277 | 
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         | 
| 278 | 
            -
                          # @yieldparam result [::Google::Cloud::Memcache::V1:: | 
| 278 | 
            +
                          # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Memcache::V1::Instance>]
         | 
| 279 279 | 
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         | 
| 280 280 | 
             
                          #
         | 
| 281 | 
            -
                          # @return [::Google::Cloud::Memcache::V1:: | 
| 281 | 
            +
                          # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Memcache::V1::Instance>]
         | 
| 282 282 | 
             
                          #
         | 
| 283 283 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 284 284 | 
             
                          #
         | 
| @@ -330,7 +330,9 @@ module Google | |
| 330 330 | 
             
                                                   retry_policy: @config.retry_policy
         | 
| 331 331 |  | 
| 332 332 | 
             
                            @cloud_memcache_stub.list_instances request, options do |result, operation|
         | 
| 333 | 
            +
                              result = ::Gapic::Rest::PagedEnumerable.new @cloud_memcache_stub, :list_instances, "instances", request, result, options
         | 
| 333 334 | 
             
                              yield result, operation if block_given?
         | 
| 335 | 
            +
                              throw :response, result
         | 
| 334 336 | 
             
                            end
         | 
| 335 337 | 
             
                          rescue ::Gapic::Rest::Error => e
         | 
| 336 338 | 
             
                            raise ::Google::Cloud::Error.from_error(e)
         | 
| @@ -1026,6 +1028,13 @@ module Google | |
| 1026 1028 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| 1027 1029 | 
             
                          #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         | 
| 1028 1030 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 1031 | 
            +
                          #
         | 
| 1032 | 
            +
                          #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 1033 | 
            +
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 1034 | 
            +
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 1035 | 
            +
                          #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| 1036 | 
            +
                          #   For more information, refer to [Validate credential configurations from external
         | 
| 1037 | 
            +
                          #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         | 
| 1029 1038 | 
             
                          #   @return [::Object]
         | 
| 1030 1039 | 
             
                          # @!attribute [rw] scope
         | 
| 1031 1040 | 
             
                          #   The OAuth scopes
         | 
| @@ -502,6 +502,13 @@ module Google | |
| 502 502 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| 503 503 | 
             
                          #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         | 
| 504 504 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 505 | 
            +
                          #
         | 
| 506 | 
            +
                          #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 507 | 
            +
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 508 | 
            +
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 509 | 
            +
                          #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| 510 | 
            +
                          #   For more information, refer to [Validate credential configurations from external
         | 
| 511 | 
            +
                          #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         | 
| 505 512 | 
             
                          #   @return [::Object]
         | 
| 506 513 | 
             
                          # @!attribute [rw] scope
         | 
| 507 514 | 
             
                          #   The OAuth scopes
         | 
| @@ -409,6 +409,14 @@ module Google | |
| 409 409 | 
             
                #   @return [::Array<::String>]
         | 
| 410 410 | 
             
                #     An allowlist of the fully qualified names of RPCs that should be included
         | 
| 411 411 | 
             
                #     on public client surfaces.
         | 
| 412 | 
            +
                # @!attribute [rw] generate_omitted_as_internal
         | 
| 413 | 
            +
                #   @return [::Boolean]
         | 
| 414 | 
            +
                #     Setting this to true indicates to the client generators that methods
         | 
| 415 | 
            +
                #     that would be excluded from the generation should instead be generated
         | 
| 416 | 
            +
                #     in a way that indicates these methods should not be consumed by
         | 
| 417 | 
            +
                #     end users. How this is expressed is up to individual language
         | 
| 418 | 
            +
                #     implementations to decide. Some examples may be: added annotations,
         | 
| 419 | 
            +
                #     obfuscated identifiers, or other language idiomatic patterns.
         | 
| 412 420 | 
             
                class SelectiveGapicGeneration
         | 
| 413 421 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 414 422 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -40,6 +40,8 @@ module Google | |
| 40 40 | 
             
                # @!attribute [rw] error
         | 
| 41 41 | 
             
                #   @return [::Google::Rpc::Status]
         | 
| 42 42 | 
             
                #     The error result of the operation in case of failure or cancellation.
         | 
| 43 | 
            +
                #
         | 
| 44 | 
            +
                #     Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 43 45 | 
             
                # @!attribute [rw] response
         | 
| 44 46 | 
             
                #   @return [::Google::Protobuf::Any]
         | 
| 45 47 | 
             
                #     The normal, successful response of the operation.  If the original
         | 
| @@ -50,6 +52,8 @@ module Google | |
| 50 52 | 
             
                #     is the original method name.  For example, if the original method name
         | 
| 51 53 | 
             
                #     is `TakeSnapshot()`, the inferred response type is
         | 
| 52 54 | 
             
                #     `TakeSnapshotResponse`.
         | 
| 55 | 
            +
                #
         | 
| 56 | 
            +
                #     Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 53 57 | 
             
                class Operation
         | 
| 54 58 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 55 59 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-memcache-v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version:  | 
| 4 | 
            +
              version: 2.0.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 | 
            -
            autorequire: 
         | 
| 9 8 | 
             
            bindir: bin
         | 
| 10 9 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 10 | 
            +
            date: 2025-02-07 00:00:00.000000000 Z
         | 
| 12 11 | 
             
            dependencies:
         | 
| 13 12 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 13 | 
             
              name: gapic-common
         | 
| @@ -16,7 +15,7 @@ dependencies: | |
| 16 15 | 
             
                requirements:
         | 
| 17 16 | 
             
                - - ">="
         | 
| 18 17 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: 0. | 
| 18 | 
            +
                    version: 0.25.0
         | 
| 20 19 | 
             
                - - "<"
         | 
| 21 20 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 21 | 
             
                    version: 2.a
         | 
| @@ -26,7 +25,7 @@ dependencies: | |
| 26 25 | 
             
                requirements:
         | 
| 27 26 | 
             
                - - ">="
         | 
| 28 27 | 
             
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            -
                    version: 0. | 
| 28 | 
            +
                    version: 0.25.0
         | 
| 30 29 | 
             
                - - "<"
         | 
| 31 30 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 31 | 
             
                    version: 2.a
         | 
| @@ -112,7 +111,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby | |
| 112 111 | 
             
            licenses:
         | 
| 113 112 | 
             
            - Apache-2.0
         | 
| 114 113 | 
             
            metadata: {}
         | 
| 115 | 
            -
            post_install_message: 
         | 
| 116 114 | 
             
            rdoc_options: []
         | 
| 117 115 | 
             
            require_paths:
         | 
| 118 116 | 
             
            - lib
         | 
| @@ -120,15 +118,14 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 120 118 | 
             
              requirements:
         | 
| 121 119 | 
             
              - - ">="
         | 
| 122 120 | 
             
                - !ruby/object:Gem::Version
         | 
| 123 | 
            -
                  version: ' | 
| 121 | 
            +
                  version: '3.0'
         | 
| 124 122 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 125 123 | 
             
              requirements:
         | 
| 126 124 | 
             
              - - ">="
         | 
| 127 125 | 
             
                - !ruby/object:Gem::Version
         | 
| 128 126 | 
             
                  version: '0'
         | 
| 129 127 | 
             
            requirements: []
         | 
| 130 | 
            -
            rubygems_version: 3. | 
| 131 | 
            -
            signing_key: 
         | 
| 128 | 
            +
            rubygems_version: 3.6.3
         | 
| 132 129 | 
             
            specification_version: 4
         | 
| 133 130 | 
             
            summary: Google Cloud Memorystore for Memcached API is used for creating and managing
         | 
| 134 131 | 
             
              Memcached instances in GCP.
         |