google-cloud-service_management-v1 0.3.9 → 0.4.1
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/AUTHENTICATION.md +1 -1
- data/README.md +11 -6
- data/lib/google/api/servicemanagement/v1/resources_pb.rb +2 -1
- data/lib/google/api/servicemanagement/v1/servicemanager_pb.rb +2 -1
- data/lib/google/cloud/service_management/v1/service_manager/client.rb +41 -47
- data/lib/google/cloud/service_management/v1/service_manager/operations.rb +15 -22
- data/lib/google/cloud/service_management/v1/service_manager.rb +1 -1
- data/lib/google/cloud/service_management/v1/version.rb +1 -1
- data/lib/google/cloud/service_management/v1.rb +2 -2
- data/proto_docs/google/api/auth.rb +8 -4
- data/proto_docs/google/api/backend.rb +1 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/control.rb +9 -5
- data/proto_docs/google/api/documentation.rb +16 -10
- data/proto_docs/google/api/endpoint.rb +14 -9
- data/proto_docs/google/api/launch_stage.rb +3 -3
- data/proto_docs/google/api/monitored_resource.rb +9 -2
- data/proto_docs/google/api/quota.rb +6 -6
- data/proto_docs/google/api/service.rb +31 -14
- data/proto_docs/google/api/servicemanagement/v1/servicemanager.rb +9 -9
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/protobuf/struct.rb +2 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03f4dc2595c7118c2a16e8fa0e0f77f9f9cab355dc64c927909a78d94dc177e0
|
4
|
+
data.tar.gz: b842c89933411133dd53146805eedb0abd5b3296bb51555b11e9cf54ff86d54b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcc0d1145fda817cd74d0b78b79462da99f7766981d1a5f5676b874466c069a3268149dbce115402815c02491050a84386b502877d17deeccd563b15f30f161b
|
7
|
+
data.tar.gz: 7aee4154d0c7e9ab58d18519cd703fc09e144da3fb9bd45c0993acecd6dae337ec399a39dd6d74c32f19ed39137068b02d93c80fd4f22d623f649c2833d8f7fd
|
data/AUTHENTICATION.md
CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
|
|
114
114
|
To configure your system for this, simply:
|
115
115
|
|
116
116
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
117
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
117
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
118
118
|
3. Write code as if already authenticated.
|
119
119
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
data/README.md
CHANGED
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -1,10 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/api/servicemanagement/v1/resources.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/config_change_pb'
|
5
7
|
require 'google/api/field_behavior_pb'
|
6
8
|
require 'google/protobuf/timestamp_pb'
|
7
|
-
require 'google/protobuf'
|
8
9
|
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_file("google/api/servicemanagement/v1/resources.proto", :syntax => :proto3) do
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/api/servicemanagement/v1/servicemanager.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -8,7 +10,6 @@ require 'google/api/service_pb'
|
|
8
10
|
require 'google/api/servicemanagement/v1/resources_pb'
|
9
11
|
require 'google/longrunning/operations_pb'
|
10
12
|
require 'google/protobuf/any_pb'
|
11
|
-
require 'google/protobuf'
|
12
13
|
|
13
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
15
|
add_file("google/api/servicemanagement/v1/servicemanager.proto", :syntax => :proto3) do
|
@@ -215,13 +215,11 @@ module Google
|
|
215
215
|
# # Call the list_services method.
|
216
216
|
# result = client.list_services request
|
217
217
|
#
|
218
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
219
|
-
# #
|
220
|
-
#
|
221
|
-
# # methods are also available for managing paging directly.
|
222
|
-
# result.each do |response|
|
218
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
219
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
220
|
+
# result.each do |item|
|
223
221
|
# # Each element is of type ::Google::Cloud::ServiceManagement::V1::ManagedService.
|
224
|
-
# p
|
222
|
+
# p item
|
225
223
|
# end
|
226
224
|
#
|
227
225
|
def list_services request, options = nil
|
@@ -396,14 +394,14 @@ module Google
|
|
396
394
|
# # Call the create_service method.
|
397
395
|
# result = client.create_service request
|
398
396
|
#
|
399
|
-
# # The returned object is of type Gapic::Operation. You can use
|
400
|
-
# #
|
401
|
-
# #
|
397
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
398
|
+
# # check the status of an operation, cancel it, or wait for results.
|
399
|
+
# # Here is how to wait for a response.
|
402
400
|
# result.wait_until_done! timeout: 60
|
403
401
|
# if result.response?
|
404
402
|
# p result.response
|
405
403
|
# else
|
406
|
-
# puts "
|
404
|
+
# puts "No response received."
|
407
405
|
# end
|
408
406
|
#
|
409
407
|
def create_service request, options = nil
|
@@ -467,7 +465,7 @@ module Google
|
|
467
465
|
#
|
468
466
|
# @param service_name [::String]
|
469
467
|
# Required. The name of the service. See the
|
470
|
-
# [overview](/service-
|
468
|
+
# [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
|
471
469
|
# example: `example.googleapis.com`.
|
472
470
|
#
|
473
471
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -490,14 +488,14 @@ module Google
|
|
490
488
|
# # Call the delete_service method.
|
491
489
|
# result = client.delete_service request
|
492
490
|
#
|
493
|
-
# # The returned object is of type Gapic::Operation. You can use
|
494
|
-
# #
|
495
|
-
# #
|
491
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
492
|
+
# # check the status of an operation, cancel it, or wait for results.
|
493
|
+
# # Here is how to wait for a response.
|
496
494
|
# result.wait_until_done! timeout: 60
|
497
495
|
# if result.response?
|
498
496
|
# p result.response
|
499
497
|
# else
|
500
|
-
# puts "
|
498
|
+
# puts "No response received."
|
501
499
|
# end
|
502
500
|
#
|
503
501
|
def delete_service request, options = nil
|
@@ -567,7 +565,7 @@ module Google
|
|
567
565
|
#
|
568
566
|
# @param service_name [::String]
|
569
567
|
# Required. The name of the service. See the
|
570
|
-
# [overview](/service-
|
568
|
+
# [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
|
571
569
|
# example: `example.googleapis.com`.
|
572
570
|
#
|
573
571
|
# @yield [response, operation] Access the result along with the RPC operation
|
@@ -590,14 +588,14 @@ module Google
|
|
590
588
|
# # Call the undelete_service method.
|
591
589
|
# result = client.undelete_service request
|
592
590
|
#
|
593
|
-
# # The returned object is of type Gapic::Operation. You can use
|
594
|
-
# #
|
595
|
-
# #
|
591
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
592
|
+
# # check the status of an operation, cancel it, or wait for results.
|
593
|
+
# # Here is how to wait for a response.
|
596
594
|
# result.wait_until_done! timeout: 60
|
597
595
|
# if result.response?
|
598
596
|
# p result.response
|
599
597
|
# else
|
600
|
-
# puts "
|
598
|
+
# puts "No response received."
|
601
599
|
# end
|
602
600
|
#
|
603
601
|
def undelete_service request, options = nil
|
@@ -663,7 +661,7 @@ module Google
|
|
663
661
|
#
|
664
662
|
# @param service_name [::String]
|
665
663
|
# Required. The name of the service. See the
|
666
|
-
# [overview](/service-
|
664
|
+
# [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
|
667
665
|
# example: `example.googleapis.com`.
|
668
666
|
# @param page_token [::String]
|
669
667
|
# The token of the page to retrieve.
|
@@ -691,13 +689,11 @@ module Google
|
|
691
689
|
# # Call the list_service_configs method.
|
692
690
|
# result = client.list_service_configs request
|
693
691
|
#
|
694
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
695
|
-
# #
|
696
|
-
#
|
697
|
-
# # methods are also available for managing paging directly.
|
698
|
-
# result.each do |response|
|
692
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
693
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
694
|
+
# result.each do |item|
|
699
695
|
# # Each element is of type ::Google::Api::Service.
|
700
|
-
# p
|
696
|
+
# p item
|
701
697
|
# end
|
702
698
|
#
|
703
699
|
def list_service_configs request, options = nil
|
@@ -762,7 +758,7 @@ module Google
|
|
762
758
|
#
|
763
759
|
# @param service_name [::String]
|
764
760
|
# Required. The name of the service. See the
|
765
|
-
# [overview](/service-
|
761
|
+
# [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
|
766
762
|
# example: `example.googleapis.com`.
|
767
763
|
# @param config_id [::String]
|
768
764
|
# Required. The id of the service configuration resource.
|
@@ -867,7 +863,7 @@ module Google
|
|
867
863
|
#
|
868
864
|
# @param service_name [::String]
|
869
865
|
# Required. The name of the service. See the
|
870
|
-
# [overview](/service-
|
866
|
+
# [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
|
871
867
|
# example: `example.googleapis.com`.
|
872
868
|
# @param service_config [::Google::Api::Service, ::Hash]
|
873
869
|
# Required. The service configuration resource.
|
@@ -969,7 +965,7 @@ module Google
|
|
969
965
|
#
|
970
966
|
# @param service_name [::String]
|
971
967
|
# Required. The name of the service. See the
|
972
|
-
# [overview](/service-
|
968
|
+
# [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
|
973
969
|
# example: `example.googleapis.com`.
|
974
970
|
# @param config_source [::Google::Cloud::ServiceManagement::V1::ConfigSource, ::Hash]
|
975
971
|
# Required. The source configuration for the service.
|
@@ -998,14 +994,14 @@ module Google
|
|
998
994
|
# # Call the submit_config_source method.
|
999
995
|
# result = client.submit_config_source request
|
1000
996
|
#
|
1001
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1002
|
-
# #
|
1003
|
-
# #
|
997
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
998
|
+
# # check the status of an operation, cancel it, or wait for results.
|
999
|
+
# # Here is how to wait for a response.
|
1004
1000
|
# result.wait_until_done! timeout: 60
|
1005
1001
|
# if result.response?
|
1006
1002
|
# p result.response
|
1007
1003
|
# else
|
1008
|
-
# puts "
|
1004
|
+
# puts "No response received."
|
1009
1005
|
# end
|
1010
1006
|
#
|
1011
1007
|
def submit_config_source request, options = nil
|
@@ -1071,7 +1067,7 @@ module Google
|
|
1071
1067
|
#
|
1072
1068
|
# @param service_name [::String]
|
1073
1069
|
# Required. The name of the service. See the
|
1074
|
-
# [overview](/service-
|
1070
|
+
# [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
|
1075
1071
|
# example: `example.googleapis.com`.
|
1076
1072
|
# @param page_token [::String]
|
1077
1073
|
# The token of the page to retrieve.
|
@@ -1108,13 +1104,11 @@ module Google
|
|
1108
1104
|
# # Call the list_service_rollouts method.
|
1109
1105
|
# result = client.list_service_rollouts request
|
1110
1106
|
#
|
1111
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1112
|
-
# #
|
1113
|
-
#
|
1114
|
-
# # methods are also available for managing paging directly.
|
1115
|
-
# result.each do |response|
|
1107
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1108
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1109
|
+
# result.each do |item|
|
1116
1110
|
# # Each element is of type ::Google::Cloud::ServiceManagement::V1::Rollout.
|
1117
|
-
# p
|
1111
|
+
# p item
|
1118
1112
|
# end
|
1119
1113
|
#
|
1120
1114
|
def list_service_rollouts request, options = nil
|
@@ -1180,7 +1174,7 @@ module Google
|
|
1180
1174
|
#
|
1181
1175
|
# @param service_name [::String]
|
1182
1176
|
# Required. The name of the service. See the
|
1183
|
-
# [overview](/service-
|
1177
|
+
# [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
|
1184
1178
|
# example: `example.googleapis.com`.
|
1185
1179
|
# @param rollout_id [::String]
|
1186
1180
|
# Required. The id of the rollout resource.
|
@@ -1285,7 +1279,7 @@ module Google
|
|
1285
1279
|
#
|
1286
1280
|
# @param service_name [::String]
|
1287
1281
|
# Required. The name of the service. See the
|
1288
|
-
# [overview](/service-
|
1282
|
+
# [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
|
1289
1283
|
# example: `example.googleapis.com`.
|
1290
1284
|
# @param rollout [::Google::Cloud::ServiceManagement::V1::Rollout, ::Hash]
|
1291
1285
|
# Required. The rollout resource. The `service_name` field is output only.
|
@@ -1310,14 +1304,14 @@ module Google
|
|
1310
1304
|
# # Call the create_service_rollout method.
|
1311
1305
|
# result = client.create_service_rollout request
|
1312
1306
|
#
|
1313
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1314
|
-
# #
|
1315
|
-
# #
|
1307
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1308
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1309
|
+
# # Here is how to wait for a response.
|
1316
1310
|
# result.wait_until_done! timeout: 60
|
1317
1311
|
# if result.response?
|
1318
1312
|
# p result.response
|
1319
1313
|
# else
|
1320
|
-
# puts "
|
1314
|
+
# puts "No response received."
|
1321
1315
|
# end
|
1322
1316
|
#
|
1323
1317
|
def create_service_rollout request, options = nil
|
@@ -95,6 +95,9 @@ module Google
|
|
95
95
|
channel_args: @config.channel_args,
|
96
96
|
interceptors: @config.interceptors
|
97
97
|
)
|
98
|
+
|
99
|
+
# Used by an LRO wrapper for some methods of this service
|
100
|
+
@operations_client = self
|
98
101
|
end
|
99
102
|
|
100
103
|
# Service calls
|
@@ -155,13 +158,11 @@ module Google
|
|
155
158
|
# # Call the list_operations method.
|
156
159
|
# result = client.list_operations request
|
157
160
|
#
|
158
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
159
|
-
# #
|
160
|
-
#
|
161
|
-
# # methods are also available for managing paging directly.
|
162
|
-
# result.each do |response|
|
161
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
162
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
163
|
+
# result.each do |item|
|
163
164
|
# # Each element is of type ::Google::Longrunning::Operation.
|
164
|
-
# p
|
165
|
+
# p item
|
165
166
|
# end
|
166
167
|
#
|
167
168
|
def list_operations request, options = nil
|
@@ -181,14 +182,6 @@ module Google
|
|
181
182
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
182
183
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
183
184
|
|
184
|
-
header_params = {}
|
185
|
-
if request.name
|
186
|
-
header_params["name"] = request.name
|
187
|
-
end
|
188
|
-
|
189
|
-
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
190
|
-
metadata[:"x-goog-request-params"] ||= request_params_header
|
191
|
-
|
192
185
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
193
186
|
metadata: metadata,
|
194
187
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
@@ -250,14 +243,14 @@ module Google
|
|
250
243
|
# # Call the get_operation method.
|
251
244
|
# result = client.get_operation request
|
252
245
|
#
|
253
|
-
# # The returned object is of type Gapic::Operation. You can use
|
254
|
-
# #
|
255
|
-
# #
|
246
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
247
|
+
# # check the status of an operation, cancel it, or wait for results.
|
248
|
+
# # Here is how to wait for a response.
|
256
249
|
# result.wait_until_done! timeout: 60
|
257
250
|
# if result.response?
|
258
251
|
# p result.response
|
259
252
|
# else
|
260
|
-
# puts "
|
253
|
+
# puts "No response received."
|
261
254
|
# end
|
262
255
|
#
|
263
256
|
def get_operation request, options = nil
|
@@ -537,14 +530,14 @@ module Google
|
|
537
530
|
# # Call the wait_operation method.
|
538
531
|
# result = client.wait_operation request
|
539
532
|
#
|
540
|
-
# # The returned object is of type Gapic::Operation. You can use
|
541
|
-
# #
|
542
|
-
# #
|
533
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
534
|
+
# # check the status of an operation, cancel it, or wait for results.
|
535
|
+
# # Here is how to wait for a response.
|
543
536
|
# result.wait_until_done! timeout: 60
|
544
537
|
# if result.response?
|
545
538
|
# p result.response
|
546
539
|
# else
|
547
|
-
# puts "
|
540
|
+
# puts "No response received."
|
548
541
|
# end
|
549
542
|
#
|
550
543
|
def wait_operation request, options = nil
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
# [Google Service Management
|
35
35
|
# API](https://cloud.google.com/service-infrastructure/docs/overview)
|
36
36
|
#
|
37
|
-
#
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
38
38
|
#
|
39
39
|
# require "google/cloud/service_management/v1/service_manager"
|
40
40
|
# client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new
|
@@ -23,9 +23,9 @@ module Google
|
|
23
23
|
module Cloud
|
24
24
|
module ServiceManagement
|
25
25
|
##
|
26
|
-
#
|
26
|
+
# API client module.
|
27
27
|
#
|
28
|
-
# @example
|
28
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
29
29
|
#
|
30
30
|
# require "google/cloud/service_management/v1"
|
31
31
|
# client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new
|
@@ -86,6 +86,9 @@ module Google
|
|
86
86
|
# @!attribute [rw] query
|
87
87
|
# @return [::String]
|
88
88
|
# Specifies URL query parameter name to extract JWT token.
|
89
|
+
# @!attribute [rw] cookie
|
90
|
+
# @return [::String]
|
91
|
+
# Specifies cookie name to extract JWT token.
|
89
92
|
# @!attribute [rw] value_prefix
|
90
93
|
# @return [::String]
|
91
94
|
# The value prefix. The value format is "value_prefix\\{token}"
|
@@ -157,11 +160,12 @@ module Google
|
|
157
160
|
# Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
158
161
|
# @!attribute [rw] jwt_locations
|
159
162
|
# @return [::Array<::Google::Api::JwtLocation>]
|
160
|
-
# Defines the locations to extract the JWT.
|
163
|
+
# Defines the locations to extract the JWT. For now it is only used by the
|
164
|
+
# Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
|
165
|
+
# (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
|
161
166
|
#
|
162
|
-
# JWT locations can be
|
163
|
-
# The rule is that the first match wins.
|
164
|
-
# all headers first, then URL query parameters.
|
167
|
+
# JWT locations can be one of HTTP headers, URL query parameters or
|
168
|
+
# cookies. The rule is that the first match wins.
|
165
169
|
#
|
166
170
|
# If not specified, default to use following 3 locations:
|
167
171
|
# 1) Authorization: Bearer
|
@@ -64,8 +64,7 @@ module Google
|
|
64
64
|
# varies based on the request protocol and deployment environment.
|
65
65
|
# @!attribute [rw] min_deadline
|
66
66
|
# @return [::Float]
|
67
|
-
#
|
68
|
-
# value lower than this will be rejected.
|
67
|
+
# Deprecated, do not use.
|
69
68
|
# @!attribute [rw] operation_deadline
|
70
69
|
# @return [::Float]
|
71
70
|
# The number of seconds to wait for the completion of a long running
|