google-cloud-private_catalog-v1beta1 0.1.4 → 0.3.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/AUTHENTICATION.md +1 -1
- data/README.md +13 -8
- data/lib/google/cloud/private_catalog/v1beta1/private_catalog/client.rb +12 -18
- data/lib/google/cloud/private_catalog/v1beta1/private_catalog/rest/client.rb +547 -0
- data/lib/google/cloud/private_catalog/v1beta1/private_catalog/rest/service_stub.rb +267 -0
- data/lib/google/cloud/private_catalog/v1beta1/private_catalog/rest.rb +71 -0
- data/lib/google/cloud/private_catalog/v1beta1/private_catalog.rb +7 -1
- data/lib/google/cloud/private_catalog/v1beta1/rest.rb +37 -0
- data/lib/google/cloud/private_catalog/v1beta1/version.rb +1 -1
- data/lib/google/cloud/private_catalog/v1beta1.rb +8 -1
- data/lib/google/cloud/privatecatalog/v1beta1/private_catalog_pb.rb +2 -4
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/protobuf/struct.rb +2 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +19 -14
- data/proto_docs/google/protobuf/field_mask.rb +0 -229
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 8767db3ffbbda64f1ff4a6dd40174ef29f5620bcfe70251d8e5b9582d46e887d
         | 
| 4 | 
            +
              data.tar.gz: d739355667e78eec35bb9731a5bba95743c4ac3dd92c4938c8fdeb111f1bd1ab
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 50f4206e91bb13778cf96e73802b231178ec345f414906632c03278278e5db35e4285740c7e335968ba25c1b5e69aeb98009948968d0f3181e7e674ed3bad2f1
         | 
| 7 | 
            +
              data.tar.gz: 40e789f230ea7c8662dda9a23d5b0470df7ef8ec9fd858ad6ead602fd59b1461b5a585e2d21ac189f8797496ee9e67fee0687edc92015517abc11ae7627efad8
         | 
    
        data/AUTHENTICATION.md
    CHANGED
    
    | @@ -114,7 +114,7 @@ credentials are discovered. | |
| 114 114 | 
             
            To configure your system for this, simply:
         | 
| 115 115 |  | 
| 116 116 | 
             
            1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
         | 
| 117 | 
            -
            2. Authenticate using OAuth 2.0 `$ gcloud auth login`
         | 
| 117 | 
            +
            2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
         | 
| 118 118 | 
             
            3. Write code as if already authenticated.
         | 
| 119 119 |  | 
| 120 120 | 
             
            **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
         | 
    
        data/README.md
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            # Ruby Client for the Private Catalog V1beta1 API
         | 
| 2 2 |  | 
| 3 | 
            -
             | 
| 3 | 
            +
            Enable cloud users to discover private catalogs and products in their organizations.
         | 
| 4 4 |  | 
| 5 5 | 
             
            With Private Catalog, developers and cloud admins can make their solutions discoverable to their internal enterprise users. Cloud admins can manage their solutions and ensure their users are always launching the latest versions.
         | 
| 6 6 |  | 
| @@ -37,7 +37,7 @@ request = ::Google::Cloud::PrivateCatalog::V1beta1::SearchCatalogsRequest.new # | |
| 37 37 | 
             
            response = client.search_catalogs request
         | 
| 38 38 | 
             
            ```
         | 
| 39 39 |  | 
| 40 | 
            -
            View the [Client Library Documentation](https:// | 
| 40 | 
            +
            View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-private_catalog-v1beta1/latest)
         | 
| 41 41 | 
             
            for class and method documentation.
         | 
| 42 42 |  | 
| 43 43 | 
             
            See also the [Product Documentation](https://cloud.google.com/private-catalog/)
         | 
| @@ -46,7 +46,7 @@ for general usage information. | |
| 46 46 | 
             
            ## Enabling Logging
         | 
| 47 47 |  | 
| 48 48 | 
             
            To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
         | 
| 49 | 
            -
            The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/ | 
| 49 | 
            +
            The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
         | 
| 50 50 | 
             
            or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
         | 
| 51 51 | 
             
            that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
         | 
| 52 52 | 
             
            and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
         | 
| @@ -69,16 +69,21 @@ module GRPC | |
| 69 69 | 
             
            end
         | 
| 70 70 | 
             
            ```
         | 
| 71 71 |  | 
| 72 | 
            +
             | 
| 73 | 
            +
            ## Google Cloud Samples
         | 
| 74 | 
            +
             | 
| 75 | 
            +
            To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
         | 
| 76 | 
            +
             | 
| 72 77 | 
             
            ## Supported Ruby Versions
         | 
| 73 78 |  | 
| 74 | 
            -
            This library is supported on Ruby 2. | 
| 79 | 
            +
            This library is supported on Ruby 2.6+.
         | 
| 75 80 |  | 
| 76 81 | 
             
            Google provides official support for Ruby versions that are actively supported
         | 
| 77 82 | 
             
            by Ruby Core—that is, Ruby versions that are either in normal maintenance or
         | 
| 78 | 
            -
            in security maintenance, and not end of life.  | 
| 79 | 
            -
             | 
| 80 | 
            -
             | 
| 81 | 
            -
             | 
| 83 | 
            +
            in security maintenance, and not end of life. Older versions of Ruby _may_
         | 
| 84 | 
            +
            still work, but are unsupported and not recommended. See
         | 
| 85 | 
            +
            https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
         | 
| 86 | 
            +
            support schedule.
         | 
| 82 87 |  | 
| 83 88 | 
             
            ## Which client should I use?
         | 
| 84 89 |  | 
| @@ -217,13 +217,11 @@ module Google | |
| 217 217 | 
             
                        #   # Call the search_catalogs method.
         | 
| 218 218 | 
             
                        #   result = client.search_catalogs request
         | 
| 219 219 | 
             
                        #
         | 
| 220 | 
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         | 
| 221 | 
            -
                        #   #  | 
| 222 | 
            -
                        #    | 
| 223 | 
            -
                        #   # methods are also available for managing paging directly.
         | 
| 224 | 
            -
                        #   result.each do |response|
         | 
| 220 | 
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 221 | 
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 222 | 
            +
                        #   result.each do |item|
         | 
| 225 223 | 
             
                        #     # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Catalog.
         | 
| 226 | 
            -
                        #     p  | 
| 224 | 
            +
                        #     p item
         | 
| 227 225 | 
             
                        #   end
         | 
| 228 226 | 
             
                        #
         | 
| 229 227 | 
             
                        def search_catalogs request, options = nil
         | 
| @@ -324,13 +322,11 @@ module Google | |
| 324 322 | 
             
                        #   # Call the search_products method.
         | 
| 325 323 | 
             
                        #   result = client.search_products request
         | 
| 326 324 | 
             
                        #
         | 
| 327 | 
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         | 
| 328 | 
            -
                        #   #  | 
| 329 | 
            -
                        #    | 
| 330 | 
            -
                        #   # methods are also available for managing paging directly.
         | 
| 331 | 
            -
                        #   result.each do |response|
         | 
| 325 | 
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 326 | 
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 327 | 
            +
                        #   result.each do |item|
         | 
| 332 328 | 
             
                        #     # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Product.
         | 
| 333 | 
            -
                        #     p  | 
| 329 | 
            +
                        #     p item
         | 
| 334 330 | 
             
                        #   end
         | 
| 335 331 | 
             
                        #
         | 
| 336 332 | 
             
                        def search_products request, options = nil
         | 
| @@ -431,13 +427,11 @@ module Google | |
| 431 427 | 
             
                        #   # Call the search_versions method.
         | 
| 432 428 | 
             
                        #   result = client.search_versions request
         | 
| 433 429 | 
             
                        #
         | 
| 434 | 
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         | 
| 435 | 
            -
                        #   #  | 
| 436 | 
            -
                        #    | 
| 437 | 
            -
                        #   # methods are also available for managing paging directly.
         | 
| 438 | 
            -
                        #   result.each do |response|
         | 
| 430 | 
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 431 | 
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 432 | 
            +
                        #   result.each do |item|
         | 
| 439 433 | 
             
                        #     # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Version.
         | 
| 440 | 
            -
                        #     p  | 
| 434 | 
            +
                        #     p item
         | 
| 441 435 | 
             
                        #   end
         | 
| 442 436 | 
             
                        #
         | 
| 443 437 | 
             
                        def search_versions request, options = nil
         |