google-area120-tables-v1alpha1 0.4.0 → 0.5.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 +6 -4
- data/lib/google/area120/tables/v1alpha1/tables_service/rest/client.rb +6 -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/protobuf/struct.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da143511e140976cc57750e644ecd601d7fd9e5000c16fdef94f4e46e450ecda
|
4
|
+
data.tar.gz: 355af39a794457f49d1e6d1fa03f071015ab201cb9993179ca3a4c09681a21d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2f8da1354426053091235678f5e8c53dc0fd24599698981781f3004d5836204dcb3bb5a0f57acaddf2c736ca4d5d68dc3acbf04bcb554501f235eec1ad7f270
|
7
|
+
data.tar.gz: c1e37f4905c1e3da09822b9640fa866203d154f245c5a711b69fc0cf30918bd96837c9052a82cb5d03b9f4b413b302f8395b86b8cd332212aa805d3d07df9e18
|
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
|
@@ -1315,9 +1315,9 @@ module Google
|
|
1315
1315
|
# * (`String`) The path to a service account key file in JSON format
|
1316
1316
|
# * (`Hash`) A service account key as a Hash
|
1317
1317
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1318
|
-
# (see the [googleauth docs](https://
|
1318
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1319
1319
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1320
|
-
# (see the [signet docs](https://
|
1320
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1321
1321
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1322
1322
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1323
1323
|
# * (`nil`) indicating no credentials
|
@@ -1359,7 +1359,9 @@ module Google
|
|
1359
1359
|
class Configuration
|
1360
1360
|
extend ::Gapic::Config
|
1361
1361
|
|
1362
|
-
|
1362
|
+
DEFAULT_ENDPOINT = "area120tables.googleapis.com"
|
1363
|
+
|
1364
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1363
1365
|
config_attr :credentials, nil do |value|
|
1364
1366
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1365
1367
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -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
|
@@ -1034,9 +1034,9 @@ module Google
|
|
1034
1034
|
# * (`String`) The path to a service account key file in JSON format
|
1035
1035
|
# * (`Hash`) A service account key as a Hash
|
1036
1036
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1037
|
-
# (see the [googleauth docs](https://
|
1037
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1038
1038
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1039
|
-
# (see the [signet docs](https://
|
1039
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1040
1040
|
# * (`nil`) indicating no credentials
|
1041
1041
|
# @return [::Object]
|
1042
1042
|
# @!attribute [rw] scope
|
@@ -1069,7 +1069,9 @@ module Google
|
|
1069
1069
|
class Configuration
|
1070
1070
|
extend ::Gapic::Config
|
1071
1071
|
|
1072
|
-
|
1072
|
+
DEFAULT_ENDPOINT = "area120tables.googleapis.com"
|
1073
|
+
|
1074
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1073
1075
|
config_attr :credentials, nil do |value|
|
1074
1076
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1075
1077
|
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?
|
@@ -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.5.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-06-06 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.19.1
|
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.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|