google-cloud-service_control-v1 0.10.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/service_control/v1/quota_controller/client.rb +5 -1
- data/lib/google/cloud/service_control/v1/quota_controller/rest/client.rb +5 -1
- data/lib/google/cloud/service_control/v1/service_controller/client.rb +7 -2
- data/lib/google/cloud/service_control/v1/service_controller/rest/client.rb +7 -2
- data/lib/google/cloud/service_control/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91b1ef8ddf2993594a9d1c49d83b2d8759a7f64760a8c5500689a8f8635ff32d
|
4
|
+
data.tar.gz: 54500d30d3fd749b522252991ce9a3b9b2830e80022ba4f0855f2d7a929f0984
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2ac678bd0515c58f5c97a66ce7e2c3998a03339c33fc3e2f5b89cfbaccd879452ddb4eca306b21b9098cc2d820f564aedb207d4732d3a0d796d3ed2620a4b4a
|
7
|
+
data.tar.gz: 813f2a7715fc3a21f4ae4aa6459f446dfc2ac194d7dd19eca949266bcdae0d1e944436dc493b09968875ef6a19ce2e801fec8afbf08667773aef583fd31982b9
|
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.
|
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
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService).
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "servicecontrol.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -235,10 +238,11 @@ module Google
|
|
235
238
|
# Customize the options with defaults
|
236
239
|
metadata = @config.rpcs.allocate_quota.metadata.to_h
|
237
240
|
|
238
|
-
# Set x-goog-api-client
|
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::ServiceControl::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 = {}
|
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService).
|
36
36
|
#
|
37
37
|
class Client
|
38
|
+
# @private
|
39
|
+
API_VERSION = ""
|
40
|
+
|
38
41
|
# @private
|
39
42
|
DEFAULT_ENDPOINT_TEMPLATE = "servicecontrol.$UNIVERSE_DOMAIN$"
|
40
43
|
|
@@ -227,12 +230,13 @@ module Google
|
|
227
230
|
# Customize the options with defaults
|
228
231
|
call_metadata = @config.rpcs.allocate_quota.metadata.to_h
|
229
232
|
|
230
|
-
# Set x-goog-api-client
|
233
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
231
234
|
call_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::ServiceControl::V1::VERSION,
|
234
237
|
transports_version_send: [:rest]
|
235
238
|
|
239
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
236
240
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
237
241
|
|
238
242
|
options.apply_defaults timeout: @config.rpcs.allocate_quota.timeout,
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService).
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "servicecontrol.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -252,10 +255,11 @@ module Google
|
|
252
255
|
# Customize the options with defaults
|
253
256
|
metadata = @config.rpcs.check.metadata.to_h
|
254
257
|
|
255
|
-
# Set x-goog-api-client
|
258
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
256
259
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
257
260
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
258
261
|
gapic_version: ::Google::Cloud::ServiceControl::V1::VERSION
|
262
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
259
263
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
260
264
|
|
261
265
|
header_params = {}
|
@@ -374,10 +378,11 @@ module Google
|
|
374
378
|
# Customize the options with defaults
|
375
379
|
metadata = @config.rpcs.report.metadata.to_h
|
376
380
|
|
377
|
-
# Set x-goog-api-client
|
381
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
378
382
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
379
383
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
380
384
|
gapic_version: ::Google::Cloud::ServiceControl::V1::VERSION
|
385
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
381
386
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
382
387
|
|
383
388
|
header_params = {}
|
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService).
|
36
36
|
#
|
37
37
|
class Client
|
38
|
+
# @private
|
39
|
+
API_VERSION = ""
|
40
|
+
|
38
41
|
# @private
|
39
42
|
DEFAULT_ENDPOINT_TEMPLATE = "servicecontrol.$UNIVERSE_DOMAIN$"
|
40
43
|
|
@@ -244,12 +247,13 @@ module Google
|
|
244
247
|
# Customize the options with defaults
|
245
248
|
call_metadata = @config.rpcs.check.metadata.to_h
|
246
249
|
|
247
|
-
# Set x-goog-api-client
|
250
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
248
251
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
249
252
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
250
253
|
gapic_version: ::Google::Cloud::ServiceControl::V1::VERSION,
|
251
254
|
transports_version_send: [:rest]
|
252
255
|
|
256
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
253
257
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
254
258
|
|
255
259
|
options.apply_defaults timeout: @config.rpcs.check.timeout,
|
@@ -359,12 +363,13 @@ module Google
|
|
359
363
|
# Customize the options with defaults
|
360
364
|
call_metadata = @config.rpcs.report.metadata.to_h
|
361
365
|
|
362
|
-
# Set x-goog-api-client
|
366
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
363
367
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
364
368
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
365
369
|
gapic_version: ::Google::Cloud::ServiceControl::V1::VERSION,
|
366
370
|
transports_version_send: [:rest]
|
367
371
|
|
372
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
368
373
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
369
374
|
|
370
375
|
options.apply_defaults timeout: @config.rpcs.report.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_control-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,118 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: google-style
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.3
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.3
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '5.16'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5.16'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest-focus
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.1'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.1'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-rg
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '5.2'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rake
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '13.0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '13.0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: redcarpet
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '3.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: simplecov
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0.18'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '0.18'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: yard
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.9'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.9'
|
159
47
|
description: The Service Control API provides control plane functionality to managed
|
160
48
|
services, such as logging, monitoring, and status checks. Note that google-cloud-service_control-v1
|
161
49
|
is a version-specific client library. For most uses, we recommend installing the
|
@@ -227,14 +115,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
227
115
|
requirements:
|
228
116
|
- - ">="
|
229
117
|
- !ruby/object:Gem::Version
|
230
|
-
version: '2.
|
118
|
+
version: '2.7'
|
231
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
120
|
requirements:
|
233
121
|
- - ">="
|
234
122
|
- !ruby/object:Gem::Version
|
235
123
|
version: '0'
|
236
124
|
requirements: []
|
237
|
-
rubygems_version: 3.5.
|
125
|
+
rubygems_version: 3.5.6
|
238
126
|
signing_key:
|
239
127
|
specification_version: 4
|
240
128
|
summary: Provides admission control and telemetry reporting for services integrated
|