google-apps-meet-v2 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +30 -21
- data/lib/google/apps/meet/v2/conference_records_service/client.rb +60 -25
- data/lib/google/apps/meet/v2/conference_records_service/rest/client.rb +60 -25
- data/lib/google/apps/meet/v2/conference_records_service/rest/service_stub.rb +110 -74
- data/lib/google/apps/meet/v2/spaces_service/client.rb +38 -9
- data/lib/google/apps/meet/v2/spaces_service/rest/client.rb +38 -9
- data/lib/google/apps/meet/v2/spaces_service/rest/service_stub.rb +46 -26
- data/lib/google/apps/meet/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +74 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +5 -5
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# REST API for services dealing with spaces.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "meet.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -165,8 +168,28 @@ module Google
|
|
165
168
|
universe_domain: @config.universe_domain,
|
166
169
|
channel_args: @config.channel_args,
|
167
170
|
interceptors: @config.interceptors,
|
168
|
-
channel_pool_config: @config.channel_pool
|
171
|
+
channel_pool_config: @config.channel_pool,
|
172
|
+
logger: @config.logger
|
169
173
|
)
|
174
|
+
|
175
|
+
@spaces_service_stub.stub_logger&.info do |entry|
|
176
|
+
entry.set_system_name
|
177
|
+
entry.set_service
|
178
|
+
entry.message = "Created client for #{entry.service}"
|
179
|
+
entry.set_credentials_fields credentials
|
180
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
181
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
182
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
##
|
187
|
+
# The logger used for request/response debug logging.
|
188
|
+
#
|
189
|
+
# @return [Logger]
|
190
|
+
#
|
191
|
+
def logger
|
192
|
+
@spaces_service_stub.logger
|
170
193
|
end
|
171
194
|
|
172
195
|
# Service calls
|
@@ -227,10 +250,11 @@ module Google
|
|
227
250
|
# Customize the options with defaults
|
228
251
|
metadata = @config.rpcs.create_space.metadata.to_h
|
229
252
|
|
230
|
-
# Set x-goog-api-client
|
253
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
231
254
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
232
255
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
233
256
|
gapic_version: ::Google::Apps::Meet::V2::VERSION
|
257
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
234
258
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
235
259
|
|
236
260
|
options.apply_defaults timeout: @config.rpcs.create_space.timeout,
|
@@ -243,7 +267,6 @@ module Google
|
|
243
267
|
|
244
268
|
@spaces_service_stub.call_rpc :create_space, request, options: options do |response, operation|
|
245
269
|
yield response, operation if block_given?
|
246
|
-
return response
|
247
270
|
end
|
248
271
|
rescue ::GRPC::BadStatus => e
|
249
272
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -304,10 +327,11 @@ module Google
|
|
304
327
|
# Customize the options with defaults
|
305
328
|
metadata = @config.rpcs.get_space.metadata.to_h
|
306
329
|
|
307
|
-
# Set x-goog-api-client
|
330
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
308
331
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
309
332
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
310
333
|
gapic_version: ::Google::Apps::Meet::V2::VERSION
|
334
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
311
335
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
312
336
|
|
313
337
|
header_params = {}
|
@@ -328,7 +352,6 @@ module Google
|
|
328
352
|
|
329
353
|
@spaces_service_stub.call_rpc :get_space, request, options: options do |response, operation|
|
330
354
|
yield response, operation if block_given?
|
331
|
-
return response
|
332
355
|
end
|
333
356
|
rescue ::GRPC::BadStatus => e
|
334
357
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -394,10 +417,11 @@ module Google
|
|
394
417
|
# Customize the options with defaults
|
395
418
|
metadata = @config.rpcs.update_space.metadata.to_h
|
396
419
|
|
397
|
-
# Set x-goog-api-client
|
420
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
398
421
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
399
422
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
400
423
|
gapic_version: ::Google::Apps::Meet::V2::VERSION
|
424
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
401
425
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
402
426
|
|
403
427
|
header_params = {}
|
@@ -418,7 +442,6 @@ module Google
|
|
418
442
|
|
419
443
|
@spaces_service_stub.call_rpc :update_space, request, options: options do |response, operation|
|
420
444
|
yield response, operation if block_given?
|
421
|
-
return response
|
422
445
|
end
|
423
446
|
rescue ::GRPC::BadStatus => e
|
424
447
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -479,10 +502,11 @@ module Google
|
|
479
502
|
# Customize the options with defaults
|
480
503
|
metadata = @config.rpcs.end_active_conference.metadata.to_h
|
481
504
|
|
482
|
-
# Set x-goog-api-client
|
505
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
483
506
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
484
507
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
485
508
|
gapic_version: ::Google::Apps::Meet::V2::VERSION
|
509
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
486
510
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
487
511
|
|
488
512
|
header_params = {}
|
@@ -503,7 +527,6 @@ module Google
|
|
503
527
|
|
504
528
|
@spaces_service_stub.call_rpc :end_active_conference, request, options: options do |response, operation|
|
505
529
|
yield response, operation if block_given?
|
506
|
-
return response
|
507
530
|
end
|
508
531
|
rescue ::GRPC::BadStatus => e
|
509
532
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -592,6 +615,11 @@ module Google
|
|
592
615
|
# default endpoint URL. The default value of nil uses the environment
|
593
616
|
# universe (usually the default "googleapis.com" universe).
|
594
617
|
# @return [::String,nil]
|
618
|
+
# @!attribute [rw] logger
|
619
|
+
# A custom logger to use for request/response debug logging, or the value
|
620
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
621
|
+
# explicitly disable logging.
|
622
|
+
# @return [::Logger,:default,nil]
|
595
623
|
#
|
596
624
|
class Configuration
|
597
625
|
extend ::Gapic::Config
|
@@ -616,6 +644,7 @@ module Google
|
|
616
644
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
617
645
|
config_attr :quota_project, nil, ::String, nil
|
618
646
|
config_attr :universe_domain, nil, ::String, nil
|
647
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
619
648
|
|
620
649
|
# @private
|
621
650
|
def initialize parent_config = nil
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# REST API for services dealing with spaces.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "meet.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -158,8 +161,28 @@ module Google
|
|
158
161
|
endpoint: @config.endpoint,
|
159
162
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
160
163
|
universe_domain: @config.universe_domain,
|
161
|
-
credentials: credentials
|
164
|
+
credentials: credentials,
|
165
|
+
logger: @config.logger
|
162
166
|
)
|
167
|
+
|
168
|
+
@spaces_service_stub.logger(stub: true)&.info do |entry|
|
169
|
+
entry.set_system_name
|
170
|
+
entry.set_service
|
171
|
+
entry.message = "Created client for #{entry.service}"
|
172
|
+
entry.set_credentials_fields credentials
|
173
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
174
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
175
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
##
|
180
|
+
# The logger used for request/response debug logging.
|
181
|
+
#
|
182
|
+
# @return [Logger]
|
183
|
+
#
|
184
|
+
def logger
|
185
|
+
@spaces_service_stub.logger
|
163
186
|
end
|
164
187
|
|
165
188
|
# Service calls
|
@@ -219,12 +242,13 @@ module Google
|
|
219
242
|
# Customize the options with defaults
|
220
243
|
call_metadata = @config.rpcs.create_space.metadata.to_h
|
221
244
|
|
222
|
-
# Set x-goog-api-client
|
245
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
223
246
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
224
247
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
225
248
|
gapic_version: ::Google::Apps::Meet::V2::VERSION,
|
226
249
|
transports_version_send: [:rest]
|
227
250
|
|
251
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
228
252
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
229
253
|
|
230
254
|
options.apply_defaults timeout: @config.rpcs.create_space.timeout,
|
@@ -237,7 +261,6 @@ module Google
|
|
237
261
|
|
238
262
|
@spaces_service_stub.create_space request, options do |result, operation|
|
239
263
|
yield result, operation if block_given?
|
240
|
-
return result
|
241
264
|
end
|
242
265
|
rescue ::Gapic::Rest::Error => e
|
243
266
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -297,12 +320,13 @@ module Google
|
|
297
320
|
# Customize the options with defaults
|
298
321
|
call_metadata = @config.rpcs.get_space.metadata.to_h
|
299
322
|
|
300
|
-
# Set x-goog-api-client
|
323
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
301
324
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
302
325
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
303
326
|
gapic_version: ::Google::Apps::Meet::V2::VERSION,
|
304
327
|
transports_version_send: [:rest]
|
305
328
|
|
329
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
306
330
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
307
331
|
|
308
332
|
options.apply_defaults timeout: @config.rpcs.get_space.timeout,
|
@@ -315,7 +339,6 @@ module Google
|
|
315
339
|
|
316
340
|
@spaces_service_stub.get_space request, options do |result, operation|
|
317
341
|
yield result, operation if block_given?
|
318
|
-
return result
|
319
342
|
end
|
320
343
|
rescue ::Gapic::Rest::Error => e
|
321
344
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -380,12 +403,13 @@ module Google
|
|
380
403
|
# Customize the options with defaults
|
381
404
|
call_metadata = @config.rpcs.update_space.metadata.to_h
|
382
405
|
|
383
|
-
# Set x-goog-api-client
|
406
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
384
407
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
385
408
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
386
409
|
gapic_version: ::Google::Apps::Meet::V2::VERSION,
|
387
410
|
transports_version_send: [:rest]
|
388
411
|
|
412
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
389
413
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
390
414
|
|
391
415
|
options.apply_defaults timeout: @config.rpcs.update_space.timeout,
|
@@ -398,7 +422,6 @@ module Google
|
|
398
422
|
|
399
423
|
@spaces_service_stub.update_space request, options do |result, operation|
|
400
424
|
yield result, operation if block_given?
|
401
|
-
return result
|
402
425
|
end
|
403
426
|
rescue ::Gapic::Rest::Error => e
|
404
427
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -458,12 +481,13 @@ module Google
|
|
458
481
|
# Customize the options with defaults
|
459
482
|
call_metadata = @config.rpcs.end_active_conference.metadata.to_h
|
460
483
|
|
461
|
-
# Set x-goog-api-client
|
484
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
462
485
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
463
486
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
464
487
|
gapic_version: ::Google::Apps::Meet::V2::VERSION,
|
465
488
|
transports_version_send: [:rest]
|
466
489
|
|
490
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
467
491
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
468
492
|
|
469
493
|
options.apply_defaults timeout: @config.rpcs.end_active_conference.timeout,
|
@@ -476,7 +500,6 @@ module Google
|
|
476
500
|
|
477
501
|
@spaces_service_stub.end_active_conference request, options do |result, operation|
|
478
502
|
yield result, operation if block_given?
|
479
|
-
return result
|
480
503
|
end
|
481
504
|
rescue ::Gapic::Rest::Error => e
|
482
505
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -556,6 +579,11 @@ module Google
|
|
556
579
|
# default endpoint URL. The default value of nil uses the environment
|
557
580
|
# universe (usually the default "googleapis.com" universe).
|
558
581
|
# @return [::String,nil]
|
582
|
+
# @!attribute [rw] logger
|
583
|
+
# A custom logger to use for request/response debug logging, or the value
|
584
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
585
|
+
# explicitly disable logging.
|
586
|
+
# @return [::Logger,:default,nil]
|
559
587
|
#
|
560
588
|
class Configuration
|
561
589
|
extend ::Gapic::Config
|
@@ -577,6 +605,7 @@ module Google
|
|
577
605
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
578
606
|
config_attr :quota_project, nil, ::String, nil
|
579
607
|
config_attr :universe_domain, nil, ::String, nil
|
608
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
580
609
|
|
581
610
|
# @private
|
582
611
|
def initialize parent_config = nil
|
@@ -30,7 +30,8 @@ module Google
|
|
30
30
|
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
|
-
|
33
|
+
# @private
|
34
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
|
34
35
|
# These require statements are intentionally placed here to initialize
|
35
36
|
# the REST modules only when it's required.
|
36
37
|
require "gapic/rest"
|
@@ -40,7 +41,9 @@ module Google
|
|
40
41
|
universe_domain: universe_domain,
|
41
42
|
credentials: credentials,
|
42
43
|
numeric_enums: true,
|
43
|
-
|
44
|
+
service_name: self.class,
|
45
|
+
raise_faraday_errors: false,
|
46
|
+
logger: logger
|
44
47
|
end
|
45
48
|
|
46
49
|
##
|
@@ -61,6 +64,15 @@ module Google
|
|
61
64
|
@client_stub.endpoint
|
62
65
|
end
|
63
66
|
|
67
|
+
##
|
68
|
+
# The logger used for request/response debug logging.
|
69
|
+
#
|
70
|
+
# @return [Logger]
|
71
|
+
#
|
72
|
+
def logger stub: false
|
73
|
+
stub ? @client_stub.stub_logger : @client_stub.logger
|
74
|
+
end
|
75
|
+
|
64
76
|
##
|
65
77
|
# Baseline implementation for the create_space REST call
|
66
78
|
#
|
@@ -87,16 +99,18 @@ module Google
|
|
87
99
|
|
88
100
|
response = @client_stub.make_http_request(
|
89
101
|
verb,
|
90
|
-
uri:
|
91
|
-
body:
|
92
|
-
params:
|
102
|
+
uri: uri,
|
103
|
+
body: body || "",
|
104
|
+
params: query_string_params,
|
105
|
+
method_name: "create_space",
|
93
106
|
options: options
|
94
107
|
)
|
95
108
|
operation = ::Gapic::Rest::TransportOperation.new response
|
96
109
|
result = ::Google::Apps::Meet::V2::Space.decode_json response.body, ignore_unknown_fields: true
|
97
|
-
|
98
|
-
|
99
|
-
|
110
|
+
catch :response do
|
111
|
+
yield result, operation if block_given?
|
112
|
+
result
|
113
|
+
end
|
100
114
|
end
|
101
115
|
|
102
116
|
##
|
@@ -125,16 +139,18 @@ module Google
|
|
125
139
|
|
126
140
|
response = @client_stub.make_http_request(
|
127
141
|
verb,
|
128
|
-
uri:
|
129
|
-
body:
|
130
|
-
params:
|
142
|
+
uri: uri,
|
143
|
+
body: body || "",
|
144
|
+
params: query_string_params,
|
145
|
+
method_name: "get_space",
|
131
146
|
options: options
|
132
147
|
)
|
133
148
|
operation = ::Gapic::Rest::TransportOperation.new response
|
134
149
|
result = ::Google::Apps::Meet::V2::Space.decode_json response.body, ignore_unknown_fields: true
|
135
|
-
|
136
|
-
|
137
|
-
|
150
|
+
catch :response do
|
151
|
+
yield result, operation if block_given?
|
152
|
+
result
|
153
|
+
end
|
138
154
|
end
|
139
155
|
|
140
156
|
##
|
@@ -163,16 +179,18 @@ module Google
|
|
163
179
|
|
164
180
|
response = @client_stub.make_http_request(
|
165
181
|
verb,
|
166
|
-
uri:
|
167
|
-
body:
|
168
|
-
params:
|
182
|
+
uri: uri,
|
183
|
+
body: body || "",
|
184
|
+
params: query_string_params,
|
185
|
+
method_name: "update_space",
|
169
186
|
options: options
|
170
187
|
)
|
171
188
|
operation = ::Gapic::Rest::TransportOperation.new response
|
172
189
|
result = ::Google::Apps::Meet::V2::Space.decode_json response.body, ignore_unknown_fields: true
|
173
|
-
|
174
|
-
|
175
|
-
|
190
|
+
catch :response do
|
191
|
+
yield result, operation if block_given?
|
192
|
+
result
|
193
|
+
end
|
176
194
|
end
|
177
195
|
|
178
196
|
##
|
@@ -201,16 +219,18 @@ module Google
|
|
201
219
|
|
202
220
|
response = @client_stub.make_http_request(
|
203
221
|
verb,
|
204
|
-
uri:
|
205
|
-
body:
|
206
|
-
params:
|
222
|
+
uri: uri,
|
223
|
+
body: body || "",
|
224
|
+
params: query_string_params,
|
225
|
+
method_name: "end_active_conference",
|
207
226
|
options: options
|
208
227
|
)
|
209
228
|
operation = ::Gapic::Rest::TransportOperation.new response
|
210
229
|
result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
|
211
|
-
|
212
|
-
|
213
|
-
|
230
|
+
catch :response do
|
231
|
+
yield result, operation if block_given?
|
232
|
+
result
|
233
|
+
end
|
214
234
|
end
|
215
235
|
|
216
236
|
##
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -118,6 +121,10 @@ module Google
|
|
118
121
|
# @return [::String]
|
119
122
|
# Optional link to proto reference documentation. Example:
|
120
123
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
124
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
125
|
+
# @return [::String]
|
126
|
+
# Optional link to REST reference documentation. Example:
|
127
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
128
|
class Publishing
|
122
129
|
include ::Google::Protobuf::MessageExts
|
123
130
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -192,9 +199,32 @@ module Google
|
|
192
199
|
# @!attribute [rw] common
|
193
200
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
201
|
# Some settings.
|
202
|
+
# @!attribute [rw] experimental_features
|
203
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
204
|
+
# Experimental features to be included during client library generation.
|
195
205
|
class PythonSettings
|
196
206
|
include ::Google::Protobuf::MessageExts
|
197
207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
|
209
|
+
# Experimental features to be included during client library generation.
|
210
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
211
|
+
# by default.
|
212
|
+
# @!attribute [rw] rest_async_io_enabled
|
213
|
+
# @return [::Boolean]
|
214
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
215
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
216
|
+
# This feature will be enabled by default 1 month after launching the
|
217
|
+
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
224
|
+
class ExperimentalFeatures
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
|
+
end
|
198
228
|
end
|
199
229
|
|
200
230
|
# Settings for Node client libraries.
|
@@ -276,9 +306,28 @@ module Google
|
|
276
306
|
# @!attribute [rw] common
|
277
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
278
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
279
319
|
class GoSettings
|
280
320
|
include ::Google::Protobuf::MessageExts
|
281
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
282
331
|
end
|
283
332
|
|
284
333
|
# Describes the generator configuration for a method.
|
@@ -286,6 +335,13 @@ module Google
|
|
286
335
|
# @return [::String]
|
287
336
|
# The fully qualified name of the method, for which the options below apply.
|
288
337
|
# This is used to find the method to apply the options.
|
338
|
+
#
|
339
|
+
# Example:
|
340
|
+
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
343
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
344
|
+
# # method settings for CreateFolder...
|
289
345
|
# @!attribute [rw] long_running
|
290
346
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
347
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +350,14 @@ module Google
|
|
294
350
|
#
|
295
351
|
# Example of a YAML configuration::
|
296
352
|
#
|
297
|
-
#
|
298
|
-
#
|
353
|
+
# publishing:
|
354
|
+
# method_settings:
|
299
355
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
356
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
357
|
+
# initial_poll_delay: 60s # 1 minute
|
303
358
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
359
|
+
# max_poll_delay: 360s # 6 minutes
|
360
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
361
|
# @!attribute [rw] auto_populated_fields
|
309
362
|
# @return [::Array<::String>]
|
310
363
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +366,8 @@ module Google
|
|
313
366
|
#
|
314
367
|
# Example of a YAML configuration:
|
315
368
|
#
|
316
|
-
#
|
317
|
-
#
|
369
|
+
# publishing:
|
370
|
+
# method_settings:
|
318
371
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
372
|
# auto_populated_fields:
|
320
373
|
# - request_id
|
@@ -350,6 +403,17 @@ module Google
|
|
350
403
|
end
|
351
404
|
end
|
352
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
353
417
|
# The organization for which the client libraries are being published.
|
354
418
|
# Affects the url where generated docs are published, etc.
|
355
419
|
module ClientLibraryOrganization
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apps-meet-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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: 2024-
|
11
|
+
date: 2024-12-10 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.24.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.24.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
|
-
rubygems_version: 3.5.
|
110
|
+
rubygems_version: 3.5.23
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: Create and manage meetings in Google Meet.
|