google-cloud-app_engine-v1 0.9.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/appengine/v1/instance_pb.rb +1 -1
  4. data/lib/google/appengine/v1/location_pb.rb +1 -1
  5. data/lib/google/cloud/app_engine/v1/applications/client.rb +11 -4
  6. data/lib/google/cloud/app_engine/v1/applications/operations.rb +13 -5
  7. data/lib/google/cloud/app_engine/v1/applications/rest/client.rb +11 -4
  8. data/lib/google/cloud/app_engine/v1/applications/rest/operations.rb +11 -4
  9. data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +13 -5
  10. data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/client.rb +13 -5
  11. data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +5 -1
  12. data/lib/google/cloud/app_engine/v1/authorized_domains/rest/client.rb +5 -1
  13. data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +13 -5
  14. data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +13 -5
  15. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/client.rb +13 -5
  16. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/operations.rb +11 -4
  17. data/lib/google/cloud/app_engine/v1/firewall/client.rb +15 -6
  18. data/lib/google/cloud/app_engine/v1/firewall/rest/client.rb +15 -6
  19. data/lib/google/cloud/app_engine/v1/instances/client.rb +11 -4
  20. data/lib/google/cloud/app_engine/v1/instances/operations.rb +13 -5
  21. data/lib/google/cloud/app_engine/v1/instances/rest/client.rb +11 -4
  22. data/lib/google/cloud/app_engine/v1/instances/rest/operations.rb +11 -4
  23. data/lib/google/cloud/app_engine/v1/services/client.rb +11 -4
  24. data/lib/google/cloud/app_engine/v1/services/operations.rb +13 -5
  25. data/lib/google/cloud/app_engine/v1/services/rest/client.rb +11 -4
  26. data/lib/google/cloud/app_engine/v1/services/rest/operations.rb +11 -4
  27. data/lib/google/cloud/app_engine/v1/version.rb +1 -1
  28. data/lib/google/cloud/app_engine/v1/versions/client.rb +13 -5
  29. data/lib/google/cloud/app_engine/v1/versions/operations.rb +13 -5
  30. data/lib/google/cloud/app_engine/v1/versions/rest/client.rb +13 -5
  31. data/lib/google/cloud/app_engine/v1/versions/rest/operations.rb +11 -4
  32. data/proto_docs/google/api/client.rb +4 -0
  33. metadata +4 -116
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c19823deb92b398ff3d5671a86774f1cfe45bf06d85e8eb13c1a118592cc5553
4
- data.tar.gz: f302cfea0ff0873c0b39b7ae9ab12ef3afc8df965e31454281fc9c6128ea86e6
3
+ metadata.gz: 133664deda46d67c02babe98911d9b0ff850aab85c884764dcc4d0bbe84a22b3
4
+ data.tar.gz: 8ef5023b160bc6b7305fe7b11349c3d8f5301ddc89e85677747805cca4f763f2
5
5
  SHA512:
6
- metadata.gz: 26c1a794fd378761407d97a55d15be97ae31be3f52f6f1c38068ac97ca766d54759e745fa71f5ba5bcb0663f6d2ccdd87e3ad7b64bd85ccc440d6854ffbfaf9e
7
- data.tar.gz: 7ddde7e20a874fc6b81390fbd0b84443fe1a2d8c3d2bbbe375f499b396347f6579cfe3fe2506d252f159e4acc9f3bdfb459c73c71c19d4cf6701eab33aec12ea
6
+ metadata.gz: 11314bee70238a216150d1b7d8afcdcfebefc1baf20be30dddde4f38bdf9bd9832db3b350eca208f433bddb174e85a7bea02b88aa8927029e55c8a61593d78f6
7
+ data.tar.gz: dce1a47906a7f6f7cfb2873aa60689b36eab614b89e945d59ab59a8f6e5381b3b76d7d416ec5d51b556ac108e5ecf15a19812a7f38221802b31095c12157fde7
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n\"google/appengine/v1/instance.proto\x12\x13google.appengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdf\x06\n\x08Instance\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x10\n\x02id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12 \n\x12\x61pp_engine_release\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x46\n\x0c\x61vailability\x18\x04 \x01(\x0e\x32*.google.appengine.v1.Instance.AvailabilityB\x04\xe2\x41\x01\x03\x12\x15\n\x07vm_name\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cvm_zone_name\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12\x13\n\x05vm_id\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x12\x34\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x16\n\x08requests\x18\t \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x14\n\x06\x65rrors\x18\n \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x11\n\x03qps\x18\x0b \x01(\x02\x42\x04\xe2\x41\x01\x03\x12\x1d\n\x0f\x61verage_latency\x18\x0c \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x1a\n\x0cmemory_usage\x18\r \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x17\n\tvm_status\x18\x0e \x01(\tB\x04\xe2\x41\x01\x03\x12\x1e\n\x10vm_debug_enabled\x18\x0f \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x13\n\x05vm_ip\x18\x10 \x01(\tB\x04\xe2\x41\x01\x03\x12O\n\x0bvm_liveness\x18\x11 \x01(\x0e\x32\x34.google.appengine.v1.Instance.Liveness.LivenessStateB\x04\xe2\x41\x01\x03\x1a\x7f\n\x08Liveness\"s\n\rLivenessState\x12\x1e\n\x1aLIVENESS_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07HEALTHY\x10\x02\x12\r\n\tUNHEALTHY\x10\x03\x12\x0c\n\x08\x44RAINING\x10\x04\x12\x0b\n\x07TIMEOUT\x10\x05\":\n\x0c\x41vailability\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0c\n\x08RESIDENT\x10\x01\x12\x0b\n\x07\x44YNAMIC\x10\x02:m\xea\x41j\n!appengine.googleapis.com/Instance\x12\x45\x61pps/{app}/services/{service}/versions/{version}/instances/{instance}B\xbe\x01\n\x17\x63om.google.appengine.v1B\rInstanceProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
12
+ descriptor_data = "\n\"google/appengine/v1/instance.proto\x12\x13google.appengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x06\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12\x61pp_engine_release\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x0c\x61vailability\x18\x04 \x01(\x0e\x32*.google.appengine.v1.Instance.AvailabilityB\x03\xe0\x41\x03\x12\x14\n\x07vm_name\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cvm_zone_name\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05vm_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x15\n\x08requests\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12\x13\n\x06\x65rrors\x18\n \x01(\x05\x42\x03\xe0\x41\x03\x12\x10\n\x03qps\x18\x0b \x01(\x02\x42\x03\xe0\x41\x03\x12\x1c\n\x0f\x61verage_latency\x18\x0c \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0cmemory_usage\x18\r \x01(\x03\x42\x03\xe0\x41\x03\x12\x16\n\tvm_status\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10vm_debug_enabled\x18\x0f \x01(\x08\x42\x03\xe0\x41\x03\x12\x12\n\x05vm_ip\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12N\n\x0bvm_liveness\x18\x11 \x01(\x0e\x32\x34.google.appengine.v1.Instance.Liveness.LivenessStateB\x03\xe0\x41\x03\x1a\x7f\n\x08Liveness\"s\n\rLivenessState\x12\x1e\n\x1aLIVENESS_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07HEALTHY\x10\x02\x12\r\n\tUNHEALTHY\x10\x03\x12\x0c\n\x08\x44RAINING\x10\x04\x12\x0b\n\x07TIMEOUT\x10\x05\":\n\x0c\x41vailability\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0c\n\x08RESIDENT\x10\x01\x12\x0b\n\x07\x44YNAMIC\x10\x02:m\xea\x41j\n!appengine.googleapis.com/Instance\x12\x45\x61pps/{app}/services/{service}/versions/{version}/instances/{instance}B\xbe\x01\n\x17\x63om.google.appengine.v1B\rInstanceProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\"google/appengine/v1/location.proto\x12\x13google.appengine.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x86\x01\n\x10LocationMetadata\x12&\n\x1estandard_environment_available\x18\x02 \x01(\x08\x12&\n\x1e\x66lexible_environment_available\x18\x04 \x01(\x08\x12\"\n\x14search_api_available\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x42\xbe\x01\n\x17\x63om.google.appengine.v1B\rLocationProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
10
+ descriptor_data = "\n\"google/appengine/v1/location.proto\x12\x13google.appengine.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x85\x01\n\x10LocationMetadata\x12&\n\x1estandard_environment_available\x18\x02 \x01(\x08\x12&\n\x1e\x66lexible_environment_available\x18\x04 \x01(\x08\x12!\n\x14search_api_available\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x42\xbe\x01\n\x17\x63om.google.appengine.v1B\rLocationProtoP\x01Z;cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb\xaa\x02\x19Google.Cloud.AppEngine.V1\xca\x02\x19Google\\Cloud\\AppEngine\\V1\xea\x02\x1cGoogle::Cloud::AppEngine::V1b\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
@@ -30,6 +30,9 @@ module Google
30
30
  # Manages App Engine applications.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
35
38
 
@@ -227,10 +230,11 @@ module Google
227
230
  # Customize the options with defaults
228
231
  metadata = @config.rpcs.get_application.metadata.to_h
229
232
 
230
- # Set x-goog-api-client and x-goog-user-project headers
233
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
231
234
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
232
235
  lib_name: @config.lib_name, lib_version: @config.lib_version,
233
236
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
237
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
234
238
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
235
239
 
236
240
  header_params = {}
@@ -325,10 +329,11 @@ module Google
325
329
  # Customize the options with defaults
326
330
  metadata = @config.rpcs.create_application.metadata.to_h
327
331
 
328
- # Set x-goog-api-client and x-goog-user-project headers
332
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
329
333
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
330
334
  lib_name: @config.lib_name, lib_version: @config.lib_version,
331
335
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
336
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
332
337
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
333
338
 
334
339
  options.apply_defaults timeout: @config.rpcs.create_application.timeout,
@@ -419,10 +424,11 @@ module Google
419
424
  # Customize the options with defaults
420
425
  metadata = @config.rpcs.update_application.metadata.to_h
421
426
 
422
- # Set x-goog-api-client and x-goog-user-project headers
427
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
423
428
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
424
429
  lib_name: @config.lib_name, lib_version: @config.lib_version,
425
430
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
431
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
426
432
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
427
433
 
428
434
  header_params = {}
@@ -521,10 +527,11 @@ module Google
521
527
  # Customize the options with defaults
522
528
  metadata = @config.rpcs.repair_application.metadata.to_h
523
529
 
524
- # Set x-goog-api-client and x-goog-user-project headers
530
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
525
531
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
526
532
  lib_name: @config.lib_name, lib_version: @config.lib_version,
527
533
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
534
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
528
535
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
529
536
 
530
537
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module Applications
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -32,6 +32,9 @@ module Google
32
32
  # Manages App Engine applications.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
37
40
 
@@ -219,12 +222,13 @@ module Google
219
222
  # Customize the options with defaults
220
223
  call_metadata = @config.rpcs.get_application.metadata.to_h
221
224
 
222
- # Set x-goog-api-client and x-goog-user-project headers
225
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
223
226
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
224
227
  lib_name: @config.lib_name, lib_version: @config.lib_version,
225
228
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
226
229
  transports_version_send: [:rest]
227
230
 
231
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
228
232
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
229
233
 
230
234
  options.apply_defaults timeout: @config.rpcs.get_application.timeout,
@@ -310,12 +314,13 @@ module Google
310
314
  # Customize the options with defaults
311
315
  call_metadata = @config.rpcs.create_application.metadata.to_h
312
316
 
313
- # Set x-goog-api-client and x-goog-user-project headers
317
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
314
318
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
315
319
  lib_name: @config.lib_name, lib_version: @config.lib_version,
316
320
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
317
321
  transports_version_send: [:rest]
318
322
 
323
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
319
324
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
320
325
 
321
326
  options.apply_defaults timeout: @config.rpcs.create_application.timeout,
@@ -405,12 +410,13 @@ module Google
405
410
  # Customize the options with defaults
406
411
  call_metadata = @config.rpcs.update_application.metadata.to_h
407
412
 
408
- # Set x-goog-api-client and x-goog-user-project headers
413
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
409
414
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
410
415
  lib_name: @config.lib_name, lib_version: @config.lib_version,
411
416
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
412
417
  transports_version_send: [:rest]
413
418
 
419
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
414
420
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
415
421
 
416
422
  options.apply_defaults timeout: @config.rpcs.update_application.timeout,
@@ -500,12 +506,13 @@ module Google
500
506
  # Customize the options with defaults
501
507
  call_metadata = @config.rpcs.repair_application.metadata.to_h
502
508
 
503
- # Set x-goog-api-client and x-goog-user-project headers
509
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
504
510
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
505
511
  lib_name: @config.lib_name, lib_version: @config.lib_version,
506
512
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
507
513
  transports_version_send: [:rest]
508
514
 
515
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
509
516
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
510
517
 
511
518
  options.apply_defaults timeout: @config.rpcs.repair_application.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -31,6 +31,9 @@ module Google
31
31
  # administer any SSL certificates applicable to their authorized domains.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
36
39
 
@@ -224,10 +227,11 @@ module Google
224
227
  # Customize the options with defaults
225
228
  metadata = @config.rpcs.list_authorized_certificates.metadata.to_h
226
229
 
227
- # Set x-goog-api-client and x-goog-user-project headers
230
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
228
231
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
229
232
  lib_name: @config.lib_name, lib_version: @config.lib_version,
230
233
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
234
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
231
235
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
232
236
 
233
237
  header_params = {}
@@ -313,10 +317,11 @@ module Google
313
317
  # Customize the options with defaults
314
318
  metadata = @config.rpcs.get_authorized_certificate.metadata.to_h
315
319
 
316
- # Set x-goog-api-client and x-goog-user-project headers
320
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
317
321
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
318
322
  lib_name: @config.lib_name, lib_version: @config.lib_version,
319
323
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
324
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
320
325
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
321
326
 
322
327
  header_params = {}
@@ -400,10 +405,11 @@ module Google
400
405
  # Customize the options with defaults
401
406
  metadata = @config.rpcs.create_authorized_certificate.metadata.to_h
402
407
 
403
- # Set x-goog-api-client and x-goog-user-project headers
408
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
404
409
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
405
410
  lib_name: @config.lib_name, lib_version: @config.lib_version,
406
411
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
412
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
407
413
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
408
414
 
409
415
  header_params = {}
@@ -496,10 +502,11 @@ module Google
496
502
  # Customize the options with defaults
497
503
  metadata = @config.rpcs.update_authorized_certificate.metadata.to_h
498
504
 
499
- # Set x-goog-api-client and x-goog-user-project headers
505
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
500
506
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
501
507
  lib_name: @config.lib_name, lib_version: @config.lib_version,
502
508
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
509
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
503
510
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
504
511
 
505
512
  header_params = {}
@@ -582,10 +589,11 @@ module Google
582
589
  # Customize the options with defaults
583
590
  metadata = @config.rpcs.delete_authorized_certificate.metadata.to_h
584
591
 
585
- # Set x-goog-api-client and x-goog-user-project headers
592
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
586
593
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
587
594
  lib_name: @config.lib_name, lib_version: @config.lib_version,
588
595
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
596
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
589
597
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
590
598
 
591
599
  header_params = {}
@@ -33,6 +33,9 @@ module Google
33
33
  # administer any SSL certificates applicable to their authorized domains.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
38
41
 
@@ -216,12 +219,13 @@ module Google
216
219
  # Customize the options with defaults
217
220
  call_metadata = @config.rpcs.list_authorized_certificates.metadata.to_h
218
221
 
219
- # Set x-goog-api-client and x-goog-user-project headers
222
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
220
223
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
221
224
  lib_name: @config.lib_name, lib_version: @config.lib_version,
222
225
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
223
226
  transports_version_send: [:rest]
224
227
 
228
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
225
229
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
226
230
 
227
231
  options.apply_defaults timeout: @config.rpcs.list_authorized_certificates.timeout,
@@ -298,12 +302,13 @@ module Google
298
302
  # Customize the options with defaults
299
303
  call_metadata = @config.rpcs.get_authorized_certificate.metadata.to_h
300
304
 
301
- # Set x-goog-api-client and x-goog-user-project headers
305
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
302
306
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
303
307
  lib_name: @config.lib_name, lib_version: @config.lib_version,
304
308
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
305
309
  transports_version_send: [:rest]
306
310
 
311
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
307
312
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
308
313
 
309
314
  options.apply_defaults timeout: @config.rpcs.get_authorized_certificate.timeout,
@@ -378,12 +383,13 @@ module Google
378
383
  # Customize the options with defaults
379
384
  call_metadata = @config.rpcs.create_authorized_certificate.metadata.to_h
380
385
 
381
- # Set x-goog-api-client and x-goog-user-project headers
386
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
382
387
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
383
388
  lib_name: @config.lib_name, lib_version: @config.lib_version,
384
389
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
385
390
  transports_version_send: [:rest]
386
391
 
392
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
387
393
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
388
394
 
389
395
  options.apply_defaults timeout: @config.rpcs.create_authorized_certificate.timeout,
@@ -467,12 +473,13 @@ module Google
467
473
  # Customize the options with defaults
468
474
  call_metadata = @config.rpcs.update_authorized_certificate.metadata.to_h
469
475
 
470
- # Set x-goog-api-client and x-goog-user-project headers
476
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
471
477
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
472
478
  lib_name: @config.lib_name, lib_version: @config.lib_version,
473
479
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
474
480
  transports_version_send: [:rest]
475
481
 
482
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
476
483
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
477
484
 
478
485
  options.apply_defaults timeout: @config.rpcs.update_authorized_certificate.timeout,
@@ -546,12 +553,13 @@ module Google
546
553
  # Customize the options with defaults
547
554
  call_metadata = @config.rpcs.delete_authorized_certificate.metadata.to_h
548
555
 
549
- # Set x-goog-api-client and x-goog-user-project headers
556
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
550
557
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
551
558
  lib_name: @config.lib_name, lib_version: @config.lib_version,
552
559
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
553
560
  transports_version_send: [:rest]
554
561
 
562
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
555
563
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
556
564
 
557
565
  options.apply_defaults timeout: @config.rpcs.delete_authorized_certificate.timeout,
@@ -32,6 +32,9 @@ module Google
32
32
  # [Webmaster Central](https://www.google.com/webmasters/verification/home).
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
37
40
 
@@ -223,10 +226,11 @@ module Google
223
226
  # Customize the options with defaults
224
227
  metadata = @config.rpcs.list_authorized_domains.metadata.to_h
225
228
 
226
- # Set x-goog-api-client and x-goog-user-project headers
229
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
227
230
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
228
231
  lib_name: @config.lib_name, lib_version: @config.lib_version,
229
232
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
233
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
230
234
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
231
235
 
232
236
  header_params = {}
@@ -34,6 +34,9 @@ module Google
34
34
  # [Webmaster Central](https://www.google.com/webmasters/verification/home).
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
39
42
 
@@ -215,12 +218,13 @@ module Google
215
218
  # Customize the options with defaults
216
219
  call_metadata = @config.rpcs.list_authorized_domains.metadata.to_h
217
220
 
218
- # Set x-goog-api-client and x-goog-user-project headers
221
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
219
222
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
220
223
  lib_name: @config.lib_name, lib_version: @config.lib_version,
221
224
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION,
222
225
  transports_version_send: [:rest]
223
226
 
227
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
224
228
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
225
229
 
226
230
  options.apply_defaults timeout: @config.rpcs.list_authorized_domains.timeout,
@@ -30,6 +30,9 @@ module Google
30
30
  # Manages domains serving an application.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
35
38
 
@@ -235,10 +238,11 @@ module Google
235
238
  # Customize the options with defaults
236
239
  metadata = @config.rpcs.list_domain_mappings.metadata.to_h
237
240
 
238
- # Set x-goog-api-client and x-goog-user-project headers
241
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
239
242
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
240
243
  lib_name: @config.lib_name, lib_version: @config.lib_version,
241
244
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
245
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
242
246
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
243
247
 
244
248
  header_params = {}
@@ -322,10 +326,11 @@ module Google
322
326
  # Customize the options with defaults
323
327
  metadata = @config.rpcs.get_domain_mapping.metadata.to_h
324
328
 
325
- # Set x-goog-api-client and x-goog-user-project headers
329
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
326
330
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
327
331
  lib_name: @config.lib_name, lib_version: @config.lib_version,
328
332
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
333
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
329
334
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
330
335
 
331
336
  header_params = {}
@@ -421,10 +426,11 @@ module Google
421
426
  # Customize the options with defaults
422
427
  metadata = @config.rpcs.create_domain_mapping.metadata.to_h
423
428
 
424
- # Set x-goog-api-client and x-goog-user-project headers
429
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
425
430
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
426
431
  lib_name: @config.lib_name, lib_version: @config.lib_version,
427
432
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
433
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
428
434
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
429
435
 
430
436
  header_params = {}
@@ -523,10 +529,11 @@ module Google
523
529
  # Customize the options with defaults
524
530
  metadata = @config.rpcs.update_domain_mapping.metadata.to_h
525
531
 
526
- # Set x-goog-api-client and x-goog-user-project headers
532
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
527
533
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
528
534
  lib_name: @config.lib_name, lib_version: @config.lib_version,
529
535
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
536
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
530
537
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
531
538
 
532
539
  header_params = {}
@@ -619,10 +626,11 @@ module Google
619
626
  # Customize the options with defaults
620
627
  metadata = @config.rpcs.delete_domain_mapping.metadata.to_h
621
628
 
622
- # Set x-goog-api-client and x-goog-user-project headers
629
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
623
630
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
624
631
  lib_name: @config.lib_name, lib_version: @config.lib_version,
625
632
  gapic_version: ::Google::Cloud::AppEngine::V1::VERSION
633
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
626
634
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
627
635
 
628
636
  header_params = {}