google-area120-tables-v1alpha1 0.3.0 → 0.4.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 +1 -1
- data/lib/google/area120/tables/v1alpha1/rest.rb +37 -0
- data/lib/google/area120/tables/v1alpha1/tables_service/client.rb +12 -18
- data/lib/google/area120/tables/v1alpha1/tables_service/rest/client.rb +1220 -0
- data/lib/google/area120/tables/v1alpha1/tables_service/rest/service_stub.rb +757 -0
- data/lib/google/area120/tables/v1alpha1/tables_service/rest.rb +63 -0
- data/lib/google/area120/tables/v1alpha1/tables_service.rb +7 -1
- data/lib/google/area120/tables/v1alpha1/version.rb +1 -1
- data/lib/google/area120/tables/v1alpha1.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +14 -7
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 4dd9cca834435c4231bfc37f0ab38d54efbff46ef110a7458072fa9841be4da5
         | 
| 4 | 
            +
              data.tar.gz: 5144122847f8555d4360493bc9c686682aded1d03d05de4c4ed1599de3229e9e
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: eab69e6a37d2410813f7ac236d838123c670fa58233f91f8d1bddac25822d7f5134f9d626a7a1a05a21d0b58838297f45be980888340dc94e35de25f874c9379
         | 
| 7 | 
            +
              data.tar.gz: 2604bad8ae9f7708f52f19d4a80a1d1394635059dea4bd4d75ea1258e0097d44755cd2dc0e261741ac77fc28f3cfdd60443088f73ceb805f9d534061dbf92f8f
         | 
    
        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
    
    | @@ -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.
         | 
| @@ -0,0 +1,37 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # Copyright 2023 Google LLC
         | 
| 4 | 
            +
            #
         | 
| 5 | 
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         | 
| 6 | 
            +
            # you may not use this file except in compliance with the License.
         | 
| 7 | 
            +
            # You may obtain a copy of the License at
         | 
| 8 | 
            +
            #
         | 
| 9 | 
            +
            #     https://www.apache.org/licenses/LICENSE-2.0
         | 
| 10 | 
            +
            #
         | 
| 11 | 
            +
            # Unless required by applicable law or agreed to in writing, software
         | 
| 12 | 
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         | 
| 13 | 
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         | 
| 14 | 
            +
            # See the License for the specific language governing permissions and
         | 
| 15 | 
            +
            # limitations under the License.
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            require "google/area120/tables/v1alpha1/tables_service/rest"
         | 
| 20 | 
            +
            require "google/area120/tables/v1alpha1/version"
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            module Google
         | 
| 23 | 
            +
              module Area120
         | 
| 24 | 
            +
                module Tables
         | 
| 25 | 
            +
                  ##
         | 
| 26 | 
            +
                  # To load just the REST part of this package, including all its services, and instantiate a REST client:
         | 
| 27 | 
            +
                  #
         | 
| 28 | 
            +
                  # @example
         | 
| 29 | 
            +
                  #
         | 
| 30 | 
            +
                  #     require "google/area120/tables/v1alpha1/rest"
         | 
| 31 | 
            +
                  #     client = ::Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
         | 
| 32 | 
            +
                  #
         | 
| 33 | 
            +
                  module V1alpha1
         | 
| 34 | 
            +
                  end
         | 
| 35 | 
            +
                end
         | 
| 36 | 
            +
              end
         | 
| 37 | 
            +
            end
         | 
| @@ -321,13 +321,11 @@ module Google | |
| 321 321 | 
             
                        #   # Call the list_tables method.
         | 
| 322 322 | 
             
                        #   result = client.list_tables request
         | 
| 323 323 | 
             
                        #
         | 
| 324 | 
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         | 
| 325 | 
            -
                        #   #  | 
| 326 | 
            -
                        #    | 
| 327 | 
            -
                        #   # methods are also available for managing paging directly.
         | 
| 328 | 
            -
                        #   result.each do |response|
         | 
| 324 | 
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 325 | 
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 326 | 
            +
                        #   result.each do |item|
         | 
| 329 327 | 
             
                        #     # Each element is of type ::Google::Area120::Tables::V1alpha1::Table.
         | 
| 330 | 
            -
                        #     p  | 
| 328 | 
            +
                        #     p item
         | 
| 331 329 | 
             
                        #   end
         | 
| 332 330 | 
             
                        #
         | 
| 333 331 | 
             
                        def list_tables request, options = nil
         | 
| @@ -501,13 +499,11 @@ module Google | |
| 501 499 | 
             
                        #   # Call the list_workspaces method.
         | 
| 502 500 | 
             
                        #   result = client.list_workspaces request
         | 
| 503 501 | 
             
                        #
         | 
| 504 | 
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         | 
| 505 | 
            -
                        #   #  | 
| 506 | 
            -
                        #    | 
| 507 | 
            -
                        #   # methods are also available for managing paging directly.
         | 
| 508 | 
            -
                        #   result.each do |response|
         | 
| 502 | 
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 503 | 
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 504 | 
            +
                        #   result.each do |item|
         | 
| 509 505 | 
             
                        #     # Each element is of type ::Google::Area120::Tables::V1alpha1::Workspace.
         | 
| 510 | 
            -
                        #     p  | 
| 506 | 
            +
                        #     p item
         | 
| 511 507 | 
             
                        #   end
         | 
| 512 508 | 
             
                        #
         | 
| 513 509 | 
             
                        def list_workspaces request, options = nil
         | 
| @@ -694,13 +690,11 @@ module Google | |
| 694 690 | 
             
                        #   # Call the list_rows method.
         | 
| 695 691 | 
             
                        #   result = client.list_rows request
         | 
| 696 692 | 
             
                        #
         | 
| 697 | 
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         | 
| 698 | 
            -
                        #   #  | 
| 699 | 
            -
                        #    | 
| 700 | 
            -
                        #   # methods are also available for managing paging directly.
         | 
| 701 | 
            -
                        #   result.each do |response|
         | 
| 693 | 
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 694 | 
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 695 | 
            +
                        #   result.each do |item|
         | 
| 702 696 | 
             
                        #     # Each element is of type ::Google::Area120::Tables::V1alpha1::Row.
         | 
| 703 | 
            -
                        #     p  | 
| 697 | 
            +
                        #     p item
         | 
| 704 698 | 
             
                        #   end
         | 
| 705 699 | 
             
                        #
         | 
| 706 700 | 
             
                        def list_rows request, options = nil
         |