google-area120-tables-v1alpha1 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/area120/tables/v1alpha1/tables_pb.rb +26 -106
- data/lib/google/area120/tables/v1alpha1/tables_service/client.rb +16 -5
- data/lib/google/area120/tables/v1alpha1/tables_service/rest/client.rb +210 -4
- data/lib/google/area120/tables/v1alpha1/tables_service/rest/service_stub.rb +12 -12
- data/lib/google/area120/tables/v1alpha1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/protobuf/struct.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d89f4b7b4ff8f3ede1a8ed477fb8afa261935749eb7abf4b85590ed11f1045e3
|
4
|
+
data.tar.gz: d747aabc73ce85224530d470e2a9ca327969be1d75b92efa0549d23397c5c117
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8101c0347f943325dd67b81070eff9e8729fb7eaf878b9fc70fd6421fcbc70bf753436561e79f183759defce966596dc25a3e17ad355352fe6d3ea7448e50b09
|
7
|
+
data.tar.gz: 1dc30eb7c83c018d40b84a0744b47a0f11ec4c304e8b7804ad3b5b77af3dc68ecae7f82fd345ef94670e496f2f8b98b8ef6437ad7944a4f262726fb02dbd2a17
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Area120::Tables::V1alpha1::GetTableRequest.new # (request fi
|
|
37
37
|
response = client.get_table request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://rubydoc.info/gems/google-area120-tables-v1alpha1)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://tables.area120.google.com/u/0/about#/)
|
@@ -47,7 +47,7 @@ for general usage information.
|
|
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
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
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/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.
|
53
53
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/area120/tables/v1alpha1/tables.proto
|
3
4
|
|
@@ -11,114 +12,33 @@ require 'google/protobuf/empty_pb'
|
|
11
12
|
require 'google/protobuf/field_mask_pb'
|
12
13
|
require 'google/protobuf/struct_pb'
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
end
|
38
|
-
add_message "google.area120.tables.v1alpha1.GetRowRequest" do
|
39
|
-
optional :name, :string, 1
|
40
|
-
optional :view, :enum, 2, "google.area120.tables.v1alpha1.View"
|
41
|
-
end
|
42
|
-
add_message "google.area120.tables.v1alpha1.ListRowsRequest" do
|
43
|
-
optional :parent, :string, 1
|
44
|
-
optional :page_size, :int32, 2
|
45
|
-
optional :page_token, :string, 3
|
46
|
-
optional :view, :enum, 4, "google.area120.tables.v1alpha1.View"
|
47
|
-
optional :filter, :string, 5
|
48
|
-
end
|
49
|
-
add_message "google.area120.tables.v1alpha1.ListRowsResponse" do
|
50
|
-
repeated :rows, :message, 1, "google.area120.tables.v1alpha1.Row"
|
51
|
-
optional :next_page_token, :string, 2
|
52
|
-
end
|
53
|
-
add_message "google.area120.tables.v1alpha1.CreateRowRequest" do
|
54
|
-
optional :parent, :string, 1
|
55
|
-
optional :row, :message, 2, "google.area120.tables.v1alpha1.Row"
|
56
|
-
optional :view, :enum, 3, "google.area120.tables.v1alpha1.View"
|
57
|
-
end
|
58
|
-
add_message "google.area120.tables.v1alpha1.BatchCreateRowsRequest" do
|
59
|
-
optional :parent, :string, 1
|
60
|
-
repeated :requests, :message, 2, "google.area120.tables.v1alpha1.CreateRowRequest"
|
61
|
-
end
|
62
|
-
add_message "google.area120.tables.v1alpha1.BatchCreateRowsResponse" do
|
63
|
-
repeated :rows, :message, 1, "google.area120.tables.v1alpha1.Row"
|
64
|
-
end
|
65
|
-
add_message "google.area120.tables.v1alpha1.UpdateRowRequest" do
|
66
|
-
optional :row, :message, 1, "google.area120.tables.v1alpha1.Row"
|
67
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
68
|
-
optional :view, :enum, 3, "google.area120.tables.v1alpha1.View"
|
69
|
-
end
|
70
|
-
add_message "google.area120.tables.v1alpha1.BatchUpdateRowsRequest" do
|
71
|
-
optional :parent, :string, 1
|
72
|
-
repeated :requests, :message, 2, "google.area120.tables.v1alpha1.UpdateRowRequest"
|
73
|
-
end
|
74
|
-
add_message "google.area120.tables.v1alpha1.BatchUpdateRowsResponse" do
|
75
|
-
repeated :rows, :message, 1, "google.area120.tables.v1alpha1.Row"
|
76
|
-
end
|
77
|
-
add_message "google.area120.tables.v1alpha1.DeleteRowRequest" do
|
78
|
-
optional :name, :string, 1
|
79
|
-
end
|
80
|
-
add_message "google.area120.tables.v1alpha1.BatchDeleteRowsRequest" do
|
81
|
-
optional :parent, :string, 1
|
82
|
-
repeated :names, :string, 2
|
83
|
-
end
|
84
|
-
add_message "google.area120.tables.v1alpha1.Table" do
|
85
|
-
optional :name, :string, 1
|
86
|
-
optional :display_name, :string, 2
|
87
|
-
repeated :columns, :message, 3, "google.area120.tables.v1alpha1.ColumnDescription"
|
88
|
-
end
|
89
|
-
add_message "google.area120.tables.v1alpha1.ColumnDescription" do
|
90
|
-
optional :name, :string, 1
|
91
|
-
optional :data_type, :string, 2
|
92
|
-
optional :id, :string, 3
|
93
|
-
repeated :labels, :message, 4, "google.area120.tables.v1alpha1.LabeledItem"
|
94
|
-
optional :relationship_details, :message, 5, "google.area120.tables.v1alpha1.RelationshipDetails"
|
95
|
-
optional :lookup_details, :message, 6, "google.area120.tables.v1alpha1.LookupDetails"
|
96
|
-
end
|
97
|
-
add_message "google.area120.tables.v1alpha1.LabeledItem" do
|
98
|
-
optional :name, :string, 1
|
99
|
-
optional :id, :string, 2
|
100
|
-
end
|
101
|
-
add_message "google.area120.tables.v1alpha1.RelationshipDetails" do
|
102
|
-
optional :linked_table, :string, 1
|
103
|
-
end
|
104
|
-
add_message "google.area120.tables.v1alpha1.LookupDetails" do
|
105
|
-
optional :relationship_column, :string, 1
|
106
|
-
optional :relationship_column_id, :string, 2
|
107
|
-
end
|
108
|
-
add_message "google.area120.tables.v1alpha1.Row" do
|
109
|
-
optional :name, :string, 1
|
110
|
-
map :values, :string, :message, 2, "google.protobuf.Value"
|
111
|
-
end
|
112
|
-
add_message "google.area120.tables.v1alpha1.Workspace" do
|
113
|
-
optional :name, :string, 1
|
114
|
-
optional :display_name, :string, 2
|
115
|
-
repeated :tables, :message, 3, "google.area120.tables.v1alpha1.Table"
|
116
|
-
end
|
117
|
-
add_enum "google.area120.tables.v1alpha1.View" do
|
118
|
-
value :VIEW_UNSPECIFIED, 0
|
119
|
-
value :COLUMN_ID_VIEW, 1
|
15
|
+
|
16
|
+
descriptor_data = "\n+google/area120/tables/v1alpha1/tables.proto\x12\x1egoogle.area120.tables.v1alpha1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\"K\n\x0fGetTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"area120tables.googleapis.com/Table\":\n\x11ListTablesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"d\n\x12ListTablesResponse\x12\x35\n\x06tables\x18\x01 \x03(\x0b\x32%.google.area120.tables.v1alpha1.Table\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x13GetWorkspaceRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&area120tables.googleapis.com/Workspace\">\n\x15ListWorkspacesRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"p\n\x16ListWorkspacesResponse\x12=\n\nworkspaces\x18\x01 \x03(\x0b\x32).google.area120.tables.v1alpha1.Workspace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x80\x01\n\rGetRowRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n area120tables.googleapis.com/Row\x12\x37\n\x04view\x18\x02 \x01(\x0e\x32$.google.area120.tables.v1alpha1.ViewB\x03\xe0\x41\x01\"\x9b\x01\n\x0fListRowsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x37\n\x04view\x18\x04 \x01(\x0e\x32$.google.area120.tables.v1alpha1.ViewB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"^\n\x10ListRowsResponse\x12\x31\n\x04rows\x18\x01 \x03(\x0b\x32#.google.area120.tables.v1alpha1.Row\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x97\x01\n\x10\x43reateRowRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x03row\x18\x02 \x01(\x0b\x32#.google.area120.tables.v1alpha1.RowB\x03\xe0\x41\x02\x12\x37\n\x04view\x18\x03 \x01(\x0e\x32$.google.area120.tables.v1alpha1.ViewB\x03\xe0\x41\x01\"v\n\x16\x42\x61tchCreateRowsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12G\n\x08requests\x18\x02 \x03(\x0b\x32\x30.google.area120.tables.v1alpha1.CreateRowRequestB\x03\xe0\x41\x02\"L\n\x17\x42\x61tchCreateRowsResponse\x12\x31\n\x04rows\x18\x01 \x03(\x0b\x32#.google.area120.tables.v1alpha1.Row\"\xb3\x01\n\x10UpdateRowRequest\x12\x35\n\x03row\x18\x01 \x01(\x0b\x32#.google.area120.tables.v1alpha1.RowB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x37\n\x04view\x18\x03 \x01(\x0e\x32$.google.area120.tables.v1alpha1.ViewB\x03\xe0\x41\x01\"v\n\x16\x42\x61tchUpdateRowsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12G\n\x08requests\x18\x02 \x03(\x0b\x32\x30.google.area120.tables.v1alpha1.UpdateRowRequestB\x03\xe0\x41\x02\"L\n\x17\x42\x61tchUpdateRowsResponse\x12\x31\n\x04rows\x18\x01 \x03(\x0b\x32#.google.area120.tables.v1alpha1.Row\"J\n\x10\x44\x65leteRowRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n area120tables.googleapis.com/Row\"\x8d\x01\n\x16\x42\x61tchDeleteRowsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"area120tables.googleapis.com/Table\x12\x37\n\x05names\x18\x02 \x03(\tB(\xe0\x41\x02\xfa\x41\"\n area120tables.googleapis.com/Row\"\xa8\x01\n\x05Table\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x42\n\x07\x63olumns\x18\x03 \x03(\x0b\x32\x31.google.area120.tables.v1alpha1.ColumnDescription:7\xea\x41\x34\n\"area120tables.googleapis.com/Table\x12\x0etables/{table}\"\xa6\x02\n\x11\x43olumnDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\t\x12@\n\x06labels\x18\x04 \x03(\x0b\x32+.google.area120.tables.v1alpha1.LabeledItemB\x03\xe0\x41\x01\x12V\n\x14relationship_details\x18\x05 \x01(\x0b\x32\x33.google.area120.tables.v1alpha1.RelationshipDetailsB\x03\xe0\x41\x01\x12J\n\x0elookup_details\x18\x06 \x01(\x0b\x32-.google.area120.tables.v1alpha1.LookupDetailsB\x03\xe0\x41\x01\"\'\n\x0bLabeledItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"+\n\x13RelationshipDetails\x12\x14\n\x0clinked_table\x18\x01 \x01(\t\"L\n\rLookupDetails\x12\x1b\n\x13relationship_column\x18\x01 \x01(\t\x12\x1e\n\x16relationship_column_id\x18\x02 \x01(\t\"\xdd\x01\n\x03Row\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06values\x18\x02 \x03(\x0b\x32/.google.area120.tables.v1alpha1.Row.ValuesEntry\x1a\x45\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01:@\xea\x41=\n area120tables.googleapis.com/Row\x12\x19tables/{table}/rows/{row}\"\xab\x01\n\tWorkspace\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x35\n\x06tables\x18\x03 \x03(\x0b\x32%.google.area120.tables.v1alpha1.Table:C\xea\x41@\n&area120tables.googleapis.com/Workspace\x12\x16workspaces/{workspace}*0\n\x04View\x12\x14\n\x10VIEW_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x43OLUMN_ID_VIEW\x10\x01\x32\xbc\x11\n\rTablesService\x12\x8c\x01\n\x08GetTable\x12/.google.area120.tables.v1alpha1.GetTableRequest\x1a%.google.area120.tables.v1alpha1.Table\"(\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1alpha1/{name=tables/*}\xda\x41\x04name\x12\x8d\x01\n\nListTables\x12\x31.google.area120.tables.v1alpha1.ListTablesRequest\x1a\x32.google.area120.tables.v1alpha1.ListTablesResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/v1alpha1/tables\x12\x9c\x01\n\x0cGetWorkspace\x12\x33.google.area120.tables.v1alpha1.GetWorkspaceRequest\x1a).google.area120.tables.v1alpha1.Workspace\",\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1alpha1/{name=workspaces/*}\xda\x41\x04name\x12\x9d\x01\n\x0eListWorkspaces\x12\x35.google.area120.tables.v1alpha1.ListWorkspacesRequest\x1a\x36.google.area120.tables.v1alpha1.ListWorkspacesResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1alpha1/workspaces\x12\x8d\x01\n\x06GetRow\x12-.google.area120.tables.v1alpha1.GetRowRequest\x1a#.google.area120.tables.v1alpha1.Row\"/\x82\xd3\xe4\x93\x02\"\x12 /v1alpha1/{name=tables/*/rows/*}\xda\x41\x04name\x12\xa0\x01\n\x08ListRows\x12/.google.area120.tables.v1alpha1.ListRowsRequest\x1a\x30.google.area120.tables.v1alpha1.ListRowsResponse\"1\x82\xd3\xe4\x93\x02\"\x12 /v1alpha1/{parent=tables/*}/rows\xda\x41\x06parent\x12\x9e\x01\n\tCreateRow\x12\x30.google.area120.tables.v1alpha1.CreateRowRequest\x1a#.google.area120.tables.v1alpha1.Row\":\x82\xd3\xe4\x93\x02\'\" /v1alpha1/{parent=tables/*}/rows:\x03row\xda\x41\nparent,row\x12\xbb\x01\n\x0f\x42\x61tchCreateRows\x12\x36.google.area120.tables.v1alpha1.BatchCreateRowsRequest\x1a\x37.google.area120.tables.v1alpha1.BatchCreateRowsResponse\"7\x82\xd3\xe4\x93\x02\x31\",/v1alpha1/{parent=tables/*}/rows:batchCreate:\x01*\x12\xa7\x01\n\tUpdateRow\x12\x30.google.area120.tables.v1alpha1.UpdateRowRequest\x1a#.google.area120.tables.v1alpha1.Row\"C\x82\xd3\xe4\x93\x02+2$/v1alpha1/{row.name=tables/*/rows/*}:\x03row\xda\x41\x0frow,update_mask\x12\xbb\x01\n\x0f\x42\x61tchUpdateRows\x12\x36.google.area120.tables.v1alpha1.BatchUpdateRowsRequest\x1a\x37.google.area120.tables.v1alpha1.BatchUpdateRowsResponse\"7\x82\xd3\xe4\x93\x02\x31\",/v1alpha1/{parent=tables/*}/rows:batchUpdate:\x01*\x12\x86\x01\n\tDeleteRow\x12\x30.google.area120.tables.v1alpha1.DeleteRowRequest\x1a\x16.google.protobuf.Empty\"/\x82\xd3\xe4\x93\x02\"* /v1alpha1/{name=tables/*/rows/*}\xda\x41\x04name\x12\x9a\x01\n\x0f\x42\x61tchDeleteRows\x12\x36.google.area120.tables.v1alpha1.BatchDeleteRowsRequest\x1a\x16.google.protobuf.Empty\"7\x82\xd3\xe4\x93\x02\x31\",/v1alpha1/{parent=tables/*}/rows:batchDelete:\x01*\x1a\xac\x02\xca\x41\x1c\x61rea120tables.googleapis.com\xd2\x41\x89\x02https://www.googleapis.com/auth/drive,https://www.googleapis.com/auth/drive.file,https://www.googleapis.com/auth/drive.readonly,https://www.googleapis.com/auth/spreadsheets,https://www.googleapis.com/auth/spreadsheets.readonly,https://www.googleapis.com/auth/tablesBu\n\"com.google.area120.tables.v1alpha1B\x0bTablesProtoP\x01Z@cloud.google.com/go/area120/tables/apiv1alpha1/tablespb;tablespbb\x06proto3"
|
17
|
+
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
+
|
20
|
+
begin
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
22
|
+
rescue TypeError => e
|
23
|
+
# Compatibility code: will be removed in the next major version.
|
24
|
+
require 'google/protobuf/descriptor_pb'
|
25
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
26
|
+
parsed.clear_dependency
|
27
|
+
serialized = parsed.class.encode(parsed)
|
28
|
+
file = pool.add_serialized_file(serialized)
|
29
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
30
|
+
imports = [
|
31
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
32
|
+
["google.protobuf.Value", "google/protobuf/struct.proto"],
|
33
|
+
]
|
34
|
+
imports.each do |type_name, expected_filename|
|
35
|
+
import_file = pool.lookup(type_name).file_descriptor
|
36
|
+
if import_file.name != expected_filename
|
37
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
120
38
|
end
|
121
39
|
end
|
40
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
41
|
+
warn "This will become an error in the next major version."
|
122
42
|
end
|
123
43
|
|
124
44
|
module Google
|
@@ -163,7 +163,7 @@ module Google
|
|
163
163
|
credentials = @config.credentials
|
164
164
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
165
165
|
# but only if the default endpoint does not have a region prefix.
|
166
|
-
enable_self_signed_jwt = @config.endpoint ==
|
166
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
167
167
|
!@config.endpoint.split(".").first.include?("-")
|
168
168
|
credentials ||= Credentials.default scope: @config.scope,
|
169
169
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -178,7 +178,8 @@ module Google
|
|
178
178
|
credentials: credentials,
|
179
179
|
endpoint: @config.endpoint,
|
180
180
|
channel_args: @config.channel_args,
|
181
|
-
interceptors: @config.interceptors
|
181
|
+
interceptors: @config.interceptors,
|
182
|
+
channel_pool_config: @config.channel_pool
|
182
183
|
)
|
183
184
|
end
|
184
185
|
|
@@ -1315,9 +1316,9 @@ module Google
|
|
1315
1316
|
# * (`String`) The path to a service account key file in JSON format
|
1316
1317
|
# * (`Hash`) A service account key as a Hash
|
1317
1318
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1318
|
-
# (see the [googleauth docs](https://
|
1319
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1319
1320
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1320
|
-
# (see the [signet docs](https://
|
1321
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1321
1322
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1322
1323
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1323
1324
|
# * (`nil`) indicating no credentials
|
@@ -1359,7 +1360,9 @@ module Google
|
|
1359
1360
|
class Configuration
|
1360
1361
|
extend ::Gapic::Config
|
1361
1362
|
|
1362
|
-
|
1363
|
+
DEFAULT_ENDPOINT = "area120tables.googleapis.com"
|
1364
|
+
|
1365
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1363
1366
|
config_attr :credentials, nil do |value|
|
1364
1367
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1365
1368
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -1394,6 +1397,14 @@ module Google
|
|
1394
1397
|
end
|
1395
1398
|
end
|
1396
1399
|
|
1400
|
+
##
|
1401
|
+
# Configuration for the channel pool
|
1402
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1403
|
+
#
|
1404
|
+
def channel_pool
|
1405
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1406
|
+
end
|
1407
|
+
|
1397
1408
|
##
|
1398
1409
|
# Configuration RPC class for the TablesService API.
|
1399
1410
|
#
|
@@ -159,7 +159,7 @@ module Google
|
|
159
159
|
credentials = @config.credentials
|
160
160
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
161
161
|
# but only if the default endpoint does not have a region prefix.
|
162
|
-
enable_self_signed_jwt = @config.endpoint ==
|
162
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
163
163
|
!@config.endpoint.split(".").first.include?("-")
|
164
164
|
credentials ||= Credentials.default scope: @config.scope,
|
165
165
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -203,6 +203,22 @@ module Google
|
|
203
203
|
# @return [::Google::Area120::Tables::V1alpha1::Table]
|
204
204
|
#
|
205
205
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
206
|
+
#
|
207
|
+
# @example Basic example
|
208
|
+
# require "google/area120/tables/v1alpha1"
|
209
|
+
#
|
210
|
+
# # Create a client object. The client can be reused for multiple calls.
|
211
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
212
|
+
#
|
213
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
214
|
+
# request = Google::Area120::Tables::V1alpha1::GetTableRequest.new
|
215
|
+
#
|
216
|
+
# # Call the get_table method.
|
217
|
+
# result = client.get_table request
|
218
|
+
#
|
219
|
+
# # The returned object is of type Google::Area120::Tables::V1alpha1::Table.
|
220
|
+
# p result
|
221
|
+
#
|
206
222
|
def get_table request, options = nil
|
207
223
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
208
224
|
|
@@ -275,6 +291,26 @@ module Google
|
|
275
291
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Table>]
|
276
292
|
#
|
277
293
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
294
|
+
#
|
295
|
+
# @example Basic example
|
296
|
+
# require "google/area120/tables/v1alpha1"
|
297
|
+
#
|
298
|
+
# # Create a client object. The client can be reused for multiple calls.
|
299
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
300
|
+
#
|
301
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
302
|
+
# request = Google::Area120::Tables::V1alpha1::ListTablesRequest.new
|
303
|
+
#
|
304
|
+
# # Call the list_tables method.
|
305
|
+
# result = client.list_tables request
|
306
|
+
#
|
307
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
308
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
309
|
+
# result.each do |item|
|
310
|
+
# # Each element is of type ::Google::Area120::Tables::V1alpha1::Table.
|
311
|
+
# p item
|
312
|
+
# end
|
313
|
+
#
|
278
314
|
def list_tables request, options = nil
|
279
315
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
280
316
|
|
@@ -339,6 +375,22 @@ module Google
|
|
339
375
|
# @return [::Google::Area120::Tables::V1alpha1::Workspace]
|
340
376
|
#
|
341
377
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
378
|
+
#
|
379
|
+
# @example Basic example
|
380
|
+
# require "google/area120/tables/v1alpha1"
|
381
|
+
#
|
382
|
+
# # Create a client object. The client can be reused for multiple calls.
|
383
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
384
|
+
#
|
385
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
386
|
+
# request = Google::Area120::Tables::V1alpha1::GetWorkspaceRequest.new
|
387
|
+
#
|
388
|
+
# # Call the get_workspace method.
|
389
|
+
# result = client.get_workspace request
|
390
|
+
#
|
391
|
+
# # The returned object is of type Google::Area120::Tables::V1alpha1::Workspace.
|
392
|
+
# p result
|
393
|
+
#
|
342
394
|
def get_workspace request, options = nil
|
343
395
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
344
396
|
|
@@ -411,6 +463,26 @@ module Google
|
|
411
463
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Workspace>]
|
412
464
|
#
|
413
465
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
466
|
+
#
|
467
|
+
# @example Basic example
|
468
|
+
# require "google/area120/tables/v1alpha1"
|
469
|
+
#
|
470
|
+
# # Create a client object. The client can be reused for multiple calls.
|
471
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
472
|
+
#
|
473
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
474
|
+
# request = Google::Area120::Tables::V1alpha1::ListWorkspacesRequest.new
|
475
|
+
#
|
476
|
+
# # Call the list_workspaces method.
|
477
|
+
# result = client.list_workspaces request
|
478
|
+
#
|
479
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
480
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
481
|
+
# result.each do |item|
|
482
|
+
# # Each element is of type ::Google::Area120::Tables::V1alpha1::Workspace.
|
483
|
+
# p item
|
484
|
+
# end
|
485
|
+
#
|
414
486
|
def list_workspaces request, options = nil
|
415
487
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
416
488
|
|
@@ -478,6 +550,22 @@ module Google
|
|
478
550
|
# @return [::Google::Area120::Tables::V1alpha1::Row]
|
479
551
|
#
|
480
552
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
553
|
+
#
|
554
|
+
# @example Basic example
|
555
|
+
# require "google/area120/tables/v1alpha1"
|
556
|
+
#
|
557
|
+
# # Create a client object. The client can be reused for multiple calls.
|
558
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
559
|
+
#
|
560
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
561
|
+
# request = Google::Area120::Tables::V1alpha1::GetRowRequest.new
|
562
|
+
#
|
563
|
+
# # Call the get_row method.
|
564
|
+
# result = client.get_row request
|
565
|
+
#
|
566
|
+
# # The returned object is of type Google::Area120::Tables::V1alpha1::Row.
|
567
|
+
# p result
|
568
|
+
#
|
481
569
|
def get_row request, options = nil
|
482
570
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
483
571
|
|
@@ -560,6 +648,26 @@ module Google
|
|
560
648
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Area120::Tables::V1alpha1::Row>]
|
561
649
|
#
|
562
650
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
651
|
+
#
|
652
|
+
# @example Basic example
|
653
|
+
# require "google/area120/tables/v1alpha1"
|
654
|
+
#
|
655
|
+
# # Create a client object. The client can be reused for multiple calls.
|
656
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
657
|
+
#
|
658
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
659
|
+
# request = Google::Area120::Tables::V1alpha1::ListRowsRequest.new
|
660
|
+
#
|
661
|
+
# # Call the list_rows method.
|
662
|
+
# result = client.list_rows request
|
663
|
+
#
|
664
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
665
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
666
|
+
# result.each do |item|
|
667
|
+
# # Each element is of type ::Google::Area120::Tables::V1alpha1::Row.
|
668
|
+
# p item
|
669
|
+
# end
|
670
|
+
#
|
563
671
|
def list_rows request, options = nil
|
564
672
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
565
673
|
|
@@ -629,6 +737,22 @@ module Google
|
|
629
737
|
# @return [::Google::Area120::Tables::V1alpha1::Row]
|
630
738
|
#
|
631
739
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
740
|
+
#
|
741
|
+
# @example Basic example
|
742
|
+
# require "google/area120/tables/v1alpha1"
|
743
|
+
#
|
744
|
+
# # Create a client object. The client can be reused for multiple calls.
|
745
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
746
|
+
#
|
747
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
748
|
+
# request = Google::Area120::Tables::V1alpha1::CreateRowRequest.new
|
749
|
+
#
|
750
|
+
# # Call the create_row method.
|
751
|
+
# result = client.create_row request
|
752
|
+
#
|
753
|
+
# # The returned object is of type Google::Area120::Tables::V1alpha1::Row.
|
754
|
+
# p result
|
755
|
+
#
|
632
756
|
def create_row request, options = nil
|
633
757
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
634
758
|
|
@@ -696,6 +820,22 @@ module Google
|
|
696
820
|
# @return [::Google::Area120::Tables::V1alpha1::BatchCreateRowsResponse]
|
697
821
|
#
|
698
822
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
823
|
+
#
|
824
|
+
# @example Basic example
|
825
|
+
# require "google/area120/tables/v1alpha1"
|
826
|
+
#
|
827
|
+
# # Create a client object. The client can be reused for multiple calls.
|
828
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
829
|
+
#
|
830
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
831
|
+
# request = Google::Area120::Tables::V1alpha1::BatchCreateRowsRequest.new
|
832
|
+
#
|
833
|
+
# # Call the batch_create_rows method.
|
834
|
+
# result = client.batch_create_rows request
|
835
|
+
#
|
836
|
+
# # The returned object is of type Google::Area120::Tables::V1alpha1::BatchCreateRowsResponse.
|
837
|
+
# p result
|
838
|
+
#
|
699
839
|
def batch_create_rows request, options = nil
|
700
840
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
701
841
|
|
@@ -763,6 +903,22 @@ module Google
|
|
763
903
|
# @return [::Google::Area120::Tables::V1alpha1::Row]
|
764
904
|
#
|
765
905
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
906
|
+
#
|
907
|
+
# @example Basic example
|
908
|
+
# require "google/area120/tables/v1alpha1"
|
909
|
+
#
|
910
|
+
# # Create a client object. The client can be reused for multiple calls.
|
911
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
912
|
+
#
|
913
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
914
|
+
# request = Google::Area120::Tables::V1alpha1::UpdateRowRequest.new
|
915
|
+
#
|
916
|
+
# # Call the update_row method.
|
917
|
+
# result = client.update_row request
|
918
|
+
#
|
919
|
+
# # The returned object is of type Google::Area120::Tables::V1alpha1::Row.
|
920
|
+
# p result
|
921
|
+
#
|
766
922
|
def update_row request, options = nil
|
767
923
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
768
924
|
|
@@ -830,6 +986,22 @@ module Google
|
|
830
986
|
# @return [::Google::Area120::Tables::V1alpha1::BatchUpdateRowsResponse]
|
831
987
|
#
|
832
988
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
989
|
+
#
|
990
|
+
# @example Basic example
|
991
|
+
# require "google/area120/tables/v1alpha1"
|
992
|
+
#
|
993
|
+
# # Create a client object. The client can be reused for multiple calls.
|
994
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
995
|
+
#
|
996
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
997
|
+
# request = Google::Area120::Tables::V1alpha1::BatchUpdateRowsRequest.new
|
998
|
+
#
|
999
|
+
# # Call the batch_update_rows method.
|
1000
|
+
# result = client.batch_update_rows request
|
1001
|
+
#
|
1002
|
+
# # The returned object is of type Google::Area120::Tables::V1alpha1::BatchUpdateRowsResponse.
|
1003
|
+
# p result
|
1004
|
+
#
|
833
1005
|
def batch_update_rows request, options = nil
|
834
1006
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
835
1007
|
|
@@ -893,6 +1065,22 @@ module Google
|
|
893
1065
|
# @return [::Google::Protobuf::Empty]
|
894
1066
|
#
|
895
1067
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1068
|
+
#
|
1069
|
+
# @example Basic example
|
1070
|
+
# require "google/area120/tables/v1alpha1"
|
1071
|
+
#
|
1072
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1073
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
1074
|
+
#
|
1075
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1076
|
+
# request = Google::Area120::Tables::V1alpha1::DeleteRowRequest.new
|
1077
|
+
#
|
1078
|
+
# # Call the delete_row method.
|
1079
|
+
# result = client.delete_row request
|
1080
|
+
#
|
1081
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
1082
|
+
# p result
|
1083
|
+
#
|
896
1084
|
def delete_row request, options = nil
|
897
1085
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
898
1086
|
|
@@ -961,6 +1149,22 @@ module Google
|
|
961
1149
|
# @return [::Google::Protobuf::Empty]
|
962
1150
|
#
|
963
1151
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1152
|
+
#
|
1153
|
+
# @example Basic example
|
1154
|
+
# require "google/area120/tables/v1alpha1"
|
1155
|
+
#
|
1156
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1157
|
+
# client = Google::Area120::Tables::V1alpha1::TablesService::Rest::Client.new
|
1158
|
+
#
|
1159
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1160
|
+
# request = Google::Area120::Tables::V1alpha1::BatchDeleteRowsRequest.new
|
1161
|
+
#
|
1162
|
+
# # Call the batch_delete_rows method.
|
1163
|
+
# result = client.batch_delete_rows request
|
1164
|
+
#
|
1165
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
1166
|
+
# p result
|
1167
|
+
#
|
964
1168
|
def batch_delete_rows request, options = nil
|
965
1169
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
966
1170
|
|
@@ -1034,9 +1238,9 @@ module Google
|
|
1034
1238
|
# * (`String`) The path to a service account key file in JSON format
|
1035
1239
|
# * (`Hash`) A service account key as a Hash
|
1036
1240
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1037
|
-
# (see the [googleauth docs](https://
|
1241
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1038
1242
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1039
|
-
# (see the [signet docs](https://
|
1243
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1040
1244
|
# * (`nil`) indicating no credentials
|
1041
1245
|
# @return [::Object]
|
1042
1246
|
# @!attribute [rw] scope
|
@@ -1069,7 +1273,9 @@ module Google
|
|
1069
1273
|
class Configuration
|
1070
1274
|
extend ::Gapic::Config
|
1071
1275
|
|
1072
|
-
|
1276
|
+
DEFAULT_ENDPOINT = "area120tables.googleapis.com"
|
1277
|
+
|
1278
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1073
1279
|
config_attr :credentials, nil do |value|
|
1074
1280
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1075
1281
|
allowed.any? { |klass| klass === value }
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_table_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
63
63
|
else
|
64
64
|
{}
|
65
65
|
end
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_tables_request request_pb
|
99
99
|
query_string_params = if query_string_params.any?
|
100
|
-
query_string_params.to_h { |p| p.split
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
101
101
|
else
|
102
102
|
{}
|
103
103
|
end
|
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
|
136
136
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_workspace_request request_pb
|
137
137
|
query_string_params = if query_string_params.any?
|
138
|
-
query_string_params.to_h { |p| p.split
|
138
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
139
139
|
else
|
140
140
|
{}
|
141
141
|
end
|
@@ -173,7 +173,7 @@ module Google
|
|
173
173
|
|
174
174
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_workspaces_request request_pb
|
175
175
|
query_string_params = if query_string_params.any?
|
176
|
-
query_string_params.to_h { |p| p.split
|
176
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
177
177
|
else
|
178
178
|
{}
|
179
179
|
end
|
@@ -211,7 +211,7 @@ module Google
|
|
211
211
|
|
212
212
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_row_request request_pb
|
213
213
|
query_string_params = if query_string_params.any?
|
214
|
-
query_string_params.to_h { |p| p.split
|
214
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
215
215
|
else
|
216
216
|
{}
|
217
217
|
end
|
@@ -249,7 +249,7 @@ module Google
|
|
249
249
|
|
250
250
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_rows_request request_pb
|
251
251
|
query_string_params = if query_string_params.any?
|
252
|
-
query_string_params.to_h { |p| p.split
|
252
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
253
253
|
else
|
254
254
|
{}
|
255
255
|
end
|
@@ -287,7 +287,7 @@ module Google
|
|
287
287
|
|
288
288
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_row_request request_pb
|
289
289
|
query_string_params = if query_string_params.any?
|
290
|
-
query_string_params.to_h { |p| p.split
|
290
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
291
291
|
else
|
292
292
|
{}
|
293
293
|
end
|
@@ -325,7 +325,7 @@ module Google
|
|
325
325
|
|
326
326
|
verb, uri, query_string_params, body = ServiceStub.transcode_batch_create_rows_request request_pb
|
327
327
|
query_string_params = if query_string_params.any?
|
328
|
-
query_string_params.to_h { |p| p.split
|
328
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
329
329
|
else
|
330
330
|
{}
|
331
331
|
end
|
@@ -363,7 +363,7 @@ module Google
|
|
363
363
|
|
364
364
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_row_request request_pb
|
365
365
|
query_string_params = if query_string_params.any?
|
366
|
-
query_string_params.to_h { |p| p.split
|
366
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
367
367
|
else
|
368
368
|
{}
|
369
369
|
end
|
@@ -401,7 +401,7 @@ module Google
|
|
401
401
|
|
402
402
|
verb, uri, query_string_params, body = ServiceStub.transcode_batch_update_rows_request request_pb
|
403
403
|
query_string_params = if query_string_params.any?
|
404
|
-
query_string_params.to_h { |p| p.split
|
404
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
405
405
|
else
|
406
406
|
{}
|
407
407
|
end
|
@@ -439,7 +439,7 @@ module Google
|
|
439
439
|
|
440
440
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_row_request request_pb
|
441
441
|
query_string_params = if query_string_params.any?
|
442
|
-
query_string_params.to_h { |p| p.split
|
442
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
443
443
|
else
|
444
444
|
{}
|
445
445
|
end
|
@@ -477,7 +477,7 @@ module Google
|
|
477
477
|
|
478
478
|
verb, uri, query_string_params, body = ServiceStub.transcode_batch_delete_rows_request request_pb
|
479
479
|
query_string_params = if query_string_params.any?
|
480
|
-
query_string_params.to_h { |p| p.split
|
480
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
481
481
|
else
|
482
482
|
{}
|
483
483
|
end
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# `NullValue` is a singleton enumeration to represent the null value for the
|
88
88
|
# `Value` type union.
|
89
89
|
#
|
90
|
-
#
|
90
|
+
# The JSON representation for `NullValue` is JSON `null`.
|
91
91
|
module NullValue
|
92
92
|
# Null value.
|
93
93
|
NULL_VALUE = 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-area120-tables-v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.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.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
211
|
- !ruby/object:Gem::Version
|
212
212
|
version: '0'
|
213
213
|
requirements: []
|
214
|
-
rubygems_version: 3.4.
|
214
|
+
rubygems_version: 3.4.19
|
215
215
|
signing_key:
|
216
216
|
specification_version: 4
|
217
217
|
summary: API Client library for the Area 120 Tables V1alpha1 API
|