google-area120-tables-v1alpha1 0.2.5 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b44c7675451cadcd4af1fc3ab6ee52c6b73f20837961af4e3af7e65bef5c0bbf
4
- data.tar.gz: d8c10ebe6ffb39ee3a4039c94960cea456dd456ee9c3ac8d946411befcbd70be
3
+ metadata.gz: 4dd9cca834435c4231bfc37f0ab38d54efbff46ef110a7458072fa9841be4da5
4
+ data.tar.gz: 5144122847f8555d4360493bc9c686682aded1d03d05de4c4ed1599de3229e9e
5
5
  SHA512:
6
- metadata.gz: a2dce45d575bd45836c78ff610f0f8d3c98f09c3580870401dfa476ce7f33bbd170c66cf3a4e087f8e990ab44d7f735f62bb7c576b11059bd3ed91e1d591d8c4
7
- data.tar.gz: 9aa2f9411aafbc162ec554a7279118b233056d26a0e7403257c5cc2f0579c18d36edef8867db183f8fe19e4f4620ec96c1f6d139b701c7fb0a1bb97d450b18ff
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/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
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.5+.
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. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
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
 
@@ -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
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/area120/tables/v1alpha1/tables.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
8
10
  require 'google/protobuf/empty_pb'
9
11
  require 'google/protobuf/field_mask_pb'
10
12
  require 'google/protobuf/struct_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/area120/tables/v1alpha1/tables.proto", :syntax => :proto3) do
@@ -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
- # # iterate over all elements by calling #each, and the enumerable
326
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
506
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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
- # # iterate over all elements by calling #each, and the enumerable
699
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
697
+ # p item
704
698
  # end
705
699
  #
706
700
  def list_rows request, options = nil