google-cloud-gke_connect-gateway-v1beta1 0.1.1 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/lib/google/cloud/gke_connect/gateway/v1beta1/gateway_service/client.rb +119 -41
- data/lib/google/cloud/gke_connect/gateway/v1beta1/version.rb +1 -1
- data/lib/google/cloud/gkeconnect/gateway/v1beta1/gateway_pb.rb +2 -2
- data/lib/google/cloud/gkeconnect/gateway/v1beta1/gateway_services_pb.rb +1 -1
- data/proto_docs/google/api/httpbody.rb +7 -3
- data/proto_docs/google/api/resource.rb +10 -71
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36bb0a3179080f254acd0145416dd3fa3f76dbae78c369466ac64502dbe169b6
|
4
|
+
data.tar.gz: 7b70035c70ef777511300f8ae69de3b5457ea6aa58c3cb353fd9965fac1a7d59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '079d309768e88f80ad446e1f2ecf32c35b878edb0fa9a61132d03e7b533af536c51bffaf67bd7f67daa20de8e21a1208781c3d5abb651a9a60d542bf08347fe3'
|
7
|
+
data.tar.gz: 12333373fb8891de9d304997c687e896c2e529bf5be0d3cd3b0bc9c5ea1dbc791e17e696c9afcf0f019f90b97d766339ada782f72c052fe683f3a647322e700a
|
data/.yardopts
CHANGED
data/AUTHENTICATION.md
CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
121
121
|
*should* only be used during development.
|
122
122
|
|
123
|
-
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
|
124
|
-
[dev-console]: https://console.cloud.google.com/project
|
125
|
-
|
126
|
-
[enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
|
127
|
-
|
128
|
-
[create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
|
129
|
-
[create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
|
130
|
-
[reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
|
131
|
-
|
132
123
|
## Creating a Service Account
|
133
124
|
|
134
125
|
Google Cloud requires **Service Account Credentials** to
|
@@ -139,31 +130,22 @@ If you are not running this client within
|
|
139
130
|
[Google Cloud Platform environments](#google-cloud-platform-environments), you
|
140
131
|
need a Google Developers service account.
|
141
132
|
|
142
|
-
1. Visit the [Google
|
133
|
+
1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
|
143
134
|
2. Create a new project or click on an existing project.
|
144
|
-
3. Activate the
|
135
|
+
3. Activate the menu in the upper left and select **APIs & Services**. From
|
145
136
|
here, you will enable the APIs that your application requires.
|
146
137
|
|
147
|
-
![Enable the APIs that your application requires][enable-apis]
|
148
|
-
|
149
138
|
*Note: You may need to enable billing in order to use these services.*
|
150
139
|
|
151
140
|
4. Select **Credentials** from the side navigation.
|
152
141
|
|
153
|
-
|
154
|
-
|
155
|
-
![Create a new service account][create-new-service-account]
|
156
|
-
|
157
|
-
![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
|
158
|
-
|
159
|
-
Find the "Add credentials" drop down and select "Service account" to be
|
160
|
-
guided through downloading a new JSON key file.
|
142
|
+
Find the "Create credentials" drop down near the top of the page, and select
|
143
|
+
"Service account" to be guided through downloading a new JSON key file.
|
161
144
|
|
162
145
|
If you want to re-use an existing service account, you can easily generate a
|
163
|
-
new key file. Just select the account you wish to re-use,
|
164
|
-
|
165
|
-
|
166
|
-
![Re-use an existing service account][reuse-service-account]
|
146
|
+
new key file. Just select the account you wish to re-use, click the pencil
|
147
|
+
tool on the right side to edit the service account, select the **Keys** tab,
|
148
|
+
and then select **Add Key**.
|
167
149
|
|
168
150
|
The key file you download will be used by this library to authenticate API
|
169
151
|
requests and should be stored in a secure location.
|
@@ -44,13 +44,12 @@ module Google
|
|
44
44
|
# See {::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client::Configuration}
|
45
45
|
# for a description of the configuration fields.
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# @example
|
48
48
|
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
# end
|
49
|
+
# # Modify the configuration for all GatewayService clients
|
50
|
+
# ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.configure do |config|
|
51
|
+
# config.timeout = 10.0
|
52
|
+
# end
|
54
53
|
#
|
55
54
|
# @yield [config] Configure the Client client.
|
56
55
|
# @yieldparam config [Client::Configuration]
|
@@ -97,19 +96,15 @@ module Google
|
|
97
96
|
##
|
98
97
|
# Create a new GatewayService client object.
|
99
98
|
#
|
100
|
-
#
|
101
|
-
#
|
102
|
-
# To create a new GatewayService client with the default
|
103
|
-
# configuration:
|
104
|
-
#
|
105
|
-
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new
|
99
|
+
# @example
|
106
100
|
#
|
107
|
-
#
|
108
|
-
#
|
101
|
+
# # Create a client using the default configuration
|
102
|
+
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new
|
109
103
|
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
104
|
+
# # Create a client using a custom configuration
|
105
|
+
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new do |config|
|
106
|
+
# config.timeout = 10.0
|
107
|
+
# end
|
113
108
|
#
|
114
109
|
# @yield [config] Configure the GatewayService client.
|
115
110
|
# @yieldparam config [Client::Configuration]
|
@@ -129,10 +124,9 @@ module Google
|
|
129
124
|
|
130
125
|
# Create credentials
|
131
126
|
credentials = @config.credentials
|
132
|
-
# Use self-signed JWT if the
|
127
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
133
128
|
# but only if the default endpoint does not have a region prefix.
|
134
|
-
enable_self_signed_jwt = @config.
|
135
|
-
@config.endpoint == Client.configure.endpoint &&
|
129
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
136
130
|
!@config.endpoint.split(".").first.include?("-")
|
137
131
|
credentials ||= Credentials.default scope: @config.scope,
|
138
132
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -187,6 +181,21 @@ module Google
|
|
187
181
|
#
|
188
182
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
189
183
|
#
|
184
|
+
# @example Basic example
|
185
|
+
# require "google/cloud/gke_connect/gateway/v1beta1"
|
186
|
+
#
|
187
|
+
# # Create a client object. The client can be reused for multiple calls.
|
188
|
+
# client = Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new
|
189
|
+
#
|
190
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
191
|
+
# request = Google::Api::HttpBody.new
|
192
|
+
#
|
193
|
+
# # Call the get_resource method.
|
194
|
+
# result = client.get_resource request
|
195
|
+
#
|
196
|
+
# # The returned object is of type Google::Api::HttpBody.
|
197
|
+
# p result
|
198
|
+
#
|
190
199
|
def get_resource request, options = nil
|
191
200
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
192
201
|
|
@@ -207,7 +216,9 @@ module Google
|
|
207
216
|
options.apply_defaults timeout: @config.rpcs.get_resource.timeout,
|
208
217
|
metadata: metadata,
|
209
218
|
retry_policy: @config.rpcs.get_resource.retry_policy
|
210
|
-
|
219
|
+
|
220
|
+
options.apply_defaults timeout: @config.timeout,
|
221
|
+
metadata: @config.metadata,
|
211
222
|
retry_policy: @config.retry_policy
|
212
223
|
|
213
224
|
@gateway_service_stub.call_rpc :get_resource, request, options: options do |response, operation|
|
@@ -252,6 +263,21 @@ module Google
|
|
252
263
|
#
|
253
264
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
254
265
|
#
|
266
|
+
# @example Basic example
|
267
|
+
# require "google/cloud/gke_connect/gateway/v1beta1"
|
268
|
+
#
|
269
|
+
# # Create a client object. The client can be reused for multiple calls.
|
270
|
+
# client = Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new
|
271
|
+
#
|
272
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
273
|
+
# request = Google::Api::HttpBody.new
|
274
|
+
#
|
275
|
+
# # Call the post_resource method.
|
276
|
+
# result = client.post_resource request
|
277
|
+
#
|
278
|
+
# # The returned object is of type Google::Api::HttpBody.
|
279
|
+
# p result
|
280
|
+
#
|
255
281
|
def post_resource request, options = nil
|
256
282
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
257
283
|
|
@@ -272,7 +298,9 @@ module Google
|
|
272
298
|
options.apply_defaults timeout: @config.rpcs.post_resource.timeout,
|
273
299
|
metadata: metadata,
|
274
300
|
retry_policy: @config.rpcs.post_resource.retry_policy
|
275
|
-
|
301
|
+
|
302
|
+
options.apply_defaults timeout: @config.timeout,
|
303
|
+
metadata: @config.metadata,
|
276
304
|
retry_policy: @config.retry_policy
|
277
305
|
|
278
306
|
@gateway_service_stub.call_rpc :post_resource, request, options: options do |response, operation|
|
@@ -317,6 +345,21 @@ module Google
|
|
317
345
|
#
|
318
346
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
319
347
|
#
|
348
|
+
# @example Basic example
|
349
|
+
# require "google/cloud/gke_connect/gateway/v1beta1"
|
350
|
+
#
|
351
|
+
# # Create a client object. The client can be reused for multiple calls.
|
352
|
+
# client = Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new
|
353
|
+
#
|
354
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
355
|
+
# request = Google::Api::HttpBody.new
|
356
|
+
#
|
357
|
+
# # Call the delete_resource method.
|
358
|
+
# result = client.delete_resource request
|
359
|
+
#
|
360
|
+
# # The returned object is of type Google::Api::HttpBody.
|
361
|
+
# p result
|
362
|
+
#
|
320
363
|
def delete_resource request, options = nil
|
321
364
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
322
365
|
|
@@ -337,7 +380,9 @@ module Google
|
|
337
380
|
options.apply_defaults timeout: @config.rpcs.delete_resource.timeout,
|
338
381
|
metadata: metadata,
|
339
382
|
retry_policy: @config.rpcs.delete_resource.retry_policy
|
340
|
-
|
383
|
+
|
384
|
+
options.apply_defaults timeout: @config.timeout,
|
385
|
+
metadata: @config.metadata,
|
341
386
|
retry_policy: @config.retry_policy
|
342
387
|
|
343
388
|
@gateway_service_stub.call_rpc :delete_resource, request, options: options do |response, operation|
|
@@ -382,6 +427,21 @@ module Google
|
|
382
427
|
#
|
383
428
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
384
429
|
#
|
430
|
+
# @example Basic example
|
431
|
+
# require "google/cloud/gke_connect/gateway/v1beta1"
|
432
|
+
#
|
433
|
+
# # Create a client object. The client can be reused for multiple calls.
|
434
|
+
# client = Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new
|
435
|
+
#
|
436
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
437
|
+
# request = Google::Api::HttpBody.new
|
438
|
+
#
|
439
|
+
# # Call the put_resource method.
|
440
|
+
# result = client.put_resource request
|
441
|
+
#
|
442
|
+
# # The returned object is of type Google::Api::HttpBody.
|
443
|
+
# p result
|
444
|
+
#
|
385
445
|
def put_resource request, options = nil
|
386
446
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
387
447
|
|
@@ -402,7 +462,9 @@ module Google
|
|
402
462
|
options.apply_defaults timeout: @config.rpcs.put_resource.timeout,
|
403
463
|
metadata: metadata,
|
404
464
|
retry_policy: @config.rpcs.put_resource.retry_policy
|
405
|
-
|
465
|
+
|
466
|
+
options.apply_defaults timeout: @config.timeout,
|
467
|
+
metadata: @config.metadata,
|
406
468
|
retry_policy: @config.retry_policy
|
407
469
|
|
408
470
|
@gateway_service_stub.call_rpc :put_resource, request, options: options do |response, operation|
|
@@ -447,6 +509,21 @@ module Google
|
|
447
509
|
#
|
448
510
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
449
511
|
#
|
512
|
+
# @example Basic example
|
513
|
+
# require "google/cloud/gke_connect/gateway/v1beta1"
|
514
|
+
#
|
515
|
+
# # Create a client object. The client can be reused for multiple calls.
|
516
|
+
# client = Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new
|
517
|
+
#
|
518
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
519
|
+
# request = Google::Api::HttpBody.new
|
520
|
+
#
|
521
|
+
# # Call the patch_resource method.
|
522
|
+
# result = client.patch_resource request
|
523
|
+
#
|
524
|
+
# # The returned object is of type Google::Api::HttpBody.
|
525
|
+
# p result
|
526
|
+
#
|
450
527
|
def patch_resource request, options = nil
|
451
528
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
452
529
|
|
@@ -467,7 +544,9 @@ module Google
|
|
467
544
|
options.apply_defaults timeout: @config.rpcs.patch_resource.timeout,
|
468
545
|
metadata: metadata,
|
469
546
|
retry_policy: @config.rpcs.patch_resource.retry_policy
|
470
|
-
|
547
|
+
|
548
|
+
options.apply_defaults timeout: @config.timeout,
|
549
|
+
metadata: @config.metadata,
|
471
550
|
retry_policy: @config.retry_policy
|
472
551
|
|
473
552
|
@gateway_service_stub.call_rpc :patch_resource, request, options: options do |response, operation|
|
@@ -491,22 +570,21 @@ module Google
|
|
491
570
|
# Configuration can be applied globally to all clients, or to a single client
|
492
571
|
# on construction.
|
493
572
|
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
# to 20 seconds,
|
498
|
-
#
|
499
|
-
#
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
503
|
-
#
|
504
|
-
#
|
505
|
-
#
|
506
|
-
#
|
507
|
-
#
|
508
|
-
#
|
509
|
-
# end
|
573
|
+
# @example
|
574
|
+
#
|
575
|
+
# # Modify the global config, setting the timeout for
|
576
|
+
# # get_resource to 20 seconds,
|
577
|
+
# # and all remaining timeouts to 10 seconds.
|
578
|
+
# ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.configure do |config|
|
579
|
+
# config.timeout = 10.0
|
580
|
+
# config.rpcs.get_resource.timeout = 20.0
|
581
|
+
# end
|
582
|
+
#
|
583
|
+
# # Apply the above configuration only to a new client.
|
584
|
+
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new do |config|
|
585
|
+
# config.timeout = 10.0
|
586
|
+
# config.rpcs.get_resource.timeout = 20.0
|
587
|
+
# end
|
510
588
|
#
|
511
589
|
# @!attribute [rw] endpoint
|
512
590
|
# The hostname or hostname:port of the service endpoint.
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/gkeconnect/gateway/v1beta1/gateway.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/httpbody_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/gkeconnect/gateway/v1beta1/gateway.proto", :syntax => :proto3) do
|
11
11
|
end
|
@@ -39,12 +39,15 @@ module Google
|
|
39
39
|
#
|
40
40
|
# // The raw HTTP body is bound to this field.
|
41
41
|
# google.api.HttpBody http_body = 2;
|
42
|
+
#
|
42
43
|
# }
|
43
44
|
#
|
44
45
|
# service ResourceService {
|
45
|
-
# rpc GetResource(GetResourceRequest)
|
46
|
-
#
|
47
|
-
# (google.
|
46
|
+
# rpc GetResource(GetResourceRequest)
|
47
|
+
# returns (google.api.HttpBody);
|
48
|
+
# rpc UpdateResource(google.api.HttpBody)
|
49
|
+
# returns (google.protobuf.Empty);
|
50
|
+
#
|
48
51
|
# }
|
49
52
|
#
|
50
53
|
# Example with streaming methods:
|
@@ -54,6 +57,7 @@ module Google
|
|
54
57
|
# returns (stream google.api.HttpBody);
|
55
58
|
# rpc UpdateCalendar(stream google.api.HttpBody)
|
56
59
|
# returns (stream google.api.HttpBody);
|
60
|
+
#
|
57
61
|
# }
|
58
62
|
#
|
59
63
|
# Use of this type only changes how the request and response bodies are
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-gke_connect-gateway-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-11 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.7'
|
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.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
203
|
- !ruby/object:Gem::Version
|
204
204
|
version: '0'
|
205
205
|
requirements: []
|
206
|
-
rubygems_version: 3.
|
206
|
+
rubygems_version: 3.3.4
|
207
207
|
signing_key:
|
208
208
|
specification_version: 4
|
209
209
|
summary: API Client library for the Connect Gateway V1beta1 API
|