google-cloud-resource_settings-v1 0.7.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/lib/google/cloud/resource_settings/v1/resource_settings_service/client.rb +20 -7
- data/lib/google/cloud/resource_settings/v1/resource_settings_service/rest/client.rb +19 -7
- data/lib/google/cloud/resource_settings/v1/resource_settings_service/rest/service_stub.rb +1 -0
- data/lib/google/cloud/resource_settings/v1/resource_settings_service/rest.rb +3 -0
- data/lib/google/cloud/resource_settings/v1/resource_settings_service.rb +5 -0
- data/lib/google/cloud/resource_settings/v1/version.rb +1 -1
- data/lib/google/cloud/resourcesettings/v1/resource_settings_pb.rb +1 -1
- data/lib/google/cloud/resourcesettings/v1/resource_settings_services_pb.rb +3 -0
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/resourcesettings/v1/resource_settings.rb +39 -23
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df559c48eb8f366a1d48792692e8371c6a3b1fb68274671bd7ddcc1b685683ee
|
4
|
+
data.tar.gz: 387fd993cc147ff06cafae9ed72176816bc625c5f7b86f5f3bfd72e3745250d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bf96dd068776b1d1d5098ede4dbc85e4e562e9c13e95df436f0b17a971154d12215047eaf7d84437127d352d1be6441342d94d4f935fb0a370ce01fccb97e8a
|
7
|
+
data.tar.gz: 0b008de9eb076637fec589a9516df13fb1dfa4cdea16f2ed7fef5ed0da73a696f859bf5cda9fc8dce4b83a345ec22f5e6f8be3438aefc393e276c218f8b4a645
|
@@ -39,8 +39,14 @@ module Google
|
|
39
39
|
# resource is not in a Cloud Organization.
|
40
40
|
# For all requests, returns a `google.rpc.Status` with
|
41
41
|
# `google.rpc.Code.INVALID_ARGUMENT` if the request is malformed.
|
42
|
+
# (== deprecation_description Resource Settings is deprecated. As of November
|
43
|
+
# 7, 2023, no organizations will be onboarded for any of the enabled settings,
|
44
|
+
# and the service will be shut down on October 1, 2024. ==)
|
42
45
|
#
|
43
46
|
class Client
|
47
|
+
# @private
|
48
|
+
API_VERSION = ""
|
49
|
+
|
44
50
|
# @private
|
45
51
|
DEFAULT_ENDPOINT_TEMPLATE = "resourcesettings.$UNIVERSE_DOMAIN$"
|
46
52
|
|
@@ -55,6 +61,8 @@ module Google
|
|
55
61
|
# See {::Google::Cloud::ResourceSettings::V1::ResourceSettingsService::Client::Configuration}
|
56
62
|
# for a description of the configuration fields.
|
57
63
|
#
|
64
|
+
# @deprecated This service is deprecated and may be removed in the next major version update.
|
65
|
+
#
|
58
66
|
# @example
|
59
67
|
#
|
60
68
|
# # Modify the configuration for all ResourceSettingsService clients
|
@@ -205,8 +213,8 @@ module Google
|
|
205
213
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
206
214
|
#
|
207
215
|
# @param parent [::String]
|
208
|
-
# Required. The Cloud resource that parents the setting. Must be in one of
|
209
|
-
# following forms:
|
216
|
+
# Required. The Cloud resource that parents the setting. Must be in one of
|
217
|
+
# the following forms:
|
210
218
|
#
|
211
219
|
# * `projects/{project_number}`
|
212
220
|
# * `projects/{project_id}`
|
@@ -257,10 +265,11 @@ module Google
|
|
257
265
|
# Customize the options with defaults
|
258
266
|
metadata = @config.rpcs.list_settings.metadata.to_h
|
259
267
|
|
260
|
-
# Set x-goog-api-client
|
268
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
261
269
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
262
270
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
263
271
|
gapic_version: ::Google::Cloud::ResourceSettings::V1::VERSION
|
272
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
264
273
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
265
274
|
|
266
275
|
header_params = {}
|
@@ -310,7 +319,8 @@ module Google
|
|
310
319
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
311
320
|
#
|
312
321
|
# @param name [::String]
|
313
|
-
# Required. The name of the setting to get. See
|
322
|
+
# Required. The name of the setting to get. See
|
323
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting Setting} for naming
|
314
324
|
# requirements.
|
315
325
|
# @param view [::Google::Cloud::ResourceSettings::V1::SettingView]
|
316
326
|
# The SettingView for this request.
|
@@ -349,10 +359,11 @@ module Google
|
|
349
359
|
# Customize the options with defaults
|
350
360
|
metadata = @config.rpcs.get_setting.metadata.to_h
|
351
361
|
|
352
|
-
# Set x-goog-api-client
|
362
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
353
363
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
354
364
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
355
365
|
gapic_version: ::Google::Cloud::ResourceSettings::V1::VERSION
|
366
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
356
367
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
357
368
|
|
358
369
|
header_params = {}
|
@@ -413,7 +424,8 @@ module Google
|
|
413
424
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
414
425
|
#
|
415
426
|
# @param setting [::Google::Cloud::ResourceSettings::V1::Setting, ::Hash]
|
416
|
-
# Required. The setting to update. See
|
427
|
+
# Required. The setting to update. See
|
428
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting Setting} for field requirements.
|
417
429
|
#
|
418
430
|
# @yield [response, operation] Access the result along with the RPC operation
|
419
431
|
# @yieldparam response [::Google::Cloud::ResourceSettings::V1::Setting]
|
@@ -449,10 +461,11 @@ module Google
|
|
449
461
|
# Customize the options with defaults
|
450
462
|
metadata = @config.rpcs.update_setting.metadata.to_h
|
451
463
|
|
452
|
-
# Set x-goog-api-client
|
464
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
453
465
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
454
466
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
455
467
|
gapic_version: ::Google::Cloud::ResourceSettings::V1::VERSION
|
468
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
456
469
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
457
470
|
|
458
471
|
header_params = {}
|
@@ -41,8 +41,14 @@ module Google
|
|
41
41
|
# resource is not in a Cloud Organization.
|
42
42
|
# For all requests, returns a `google.rpc.Status` with
|
43
43
|
# `google.rpc.Code.INVALID_ARGUMENT` if the request is malformed.
|
44
|
+
# (== deprecation_description Resource Settings is deprecated. As of November
|
45
|
+
# 7, 2023, no organizations will be onboarded for any of the enabled settings,
|
46
|
+
# and the service will be shut down on October 1, 2024. ==)
|
44
47
|
#
|
45
48
|
class Client
|
49
|
+
# @private
|
50
|
+
API_VERSION = ""
|
51
|
+
|
46
52
|
# @private
|
47
53
|
DEFAULT_ENDPOINT_TEMPLATE = "resourcesettings.$UNIVERSE_DOMAIN$"
|
48
54
|
|
@@ -56,6 +62,7 @@ module Google
|
|
56
62
|
#
|
57
63
|
# See {::Google::Cloud::ResourceSettings::V1::ResourceSettingsService::Rest::Client::Configuration}
|
58
64
|
# for a description of the configuration fields.
|
65
|
+
# @deprecated This service is deprecated and may be removed in the next major version update.
|
59
66
|
#
|
60
67
|
# @example
|
61
68
|
#
|
@@ -198,8 +205,8 @@ module Google
|
|
198
205
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
199
206
|
#
|
200
207
|
# @param parent [::String]
|
201
|
-
# Required. The Cloud resource that parents the setting. Must be in one of
|
202
|
-
# following forms:
|
208
|
+
# Required. The Cloud resource that parents the setting. Must be in one of
|
209
|
+
# the following forms:
|
203
210
|
#
|
204
211
|
# * `projects/{project_number}`
|
205
212
|
# * `projects/{project_id}`
|
@@ -249,12 +256,13 @@ module Google
|
|
249
256
|
# Customize the options with defaults
|
250
257
|
call_metadata = @config.rpcs.list_settings.metadata.to_h
|
251
258
|
|
252
|
-
# Set x-goog-api-client
|
259
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
253
260
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
254
261
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
255
262
|
gapic_version: ::Google::Cloud::ResourceSettings::V1::VERSION,
|
256
263
|
transports_version_send: [:rest]
|
257
264
|
|
265
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
258
266
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
259
267
|
|
260
268
|
options.apply_defaults timeout: @config.rpcs.list_settings.timeout,
|
@@ -296,7 +304,8 @@ module Google
|
|
296
304
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
297
305
|
#
|
298
306
|
# @param name [::String]
|
299
|
-
# Required. The name of the setting to get. See
|
307
|
+
# Required. The name of the setting to get. See
|
308
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting Setting} for naming
|
300
309
|
# requirements.
|
301
310
|
# @param view [::Google::Cloud::ResourceSettings::V1::SettingView]
|
302
311
|
# The SettingView for this request.
|
@@ -334,12 +343,13 @@ module Google
|
|
334
343
|
# Customize the options with defaults
|
335
344
|
call_metadata = @config.rpcs.get_setting.metadata.to_h
|
336
345
|
|
337
|
-
# Set x-goog-api-client
|
346
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
338
347
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
339
348
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
340
349
|
gapic_version: ::Google::Cloud::ResourceSettings::V1::VERSION,
|
341
350
|
transports_version_send: [:rest]
|
342
351
|
|
352
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
343
353
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
344
354
|
|
345
355
|
options.apply_defaults timeout: @config.rpcs.get_setting.timeout,
|
@@ -392,7 +402,8 @@ module Google
|
|
392
402
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
393
403
|
#
|
394
404
|
# @param setting [::Google::Cloud::ResourceSettings::V1::Setting, ::Hash]
|
395
|
-
# Required. The setting to update. See
|
405
|
+
# Required. The setting to update. See
|
406
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting Setting} for field requirements.
|
396
407
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
397
408
|
# @yieldparam result [::Google::Cloud::ResourceSettings::V1::Setting]
|
398
409
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -427,12 +438,13 @@ module Google
|
|
427
438
|
# Customize the options with defaults
|
428
439
|
call_metadata = @config.rpcs.update_setting.metadata.to_h
|
429
440
|
|
430
|
-
# Set x-goog-api-client
|
441
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
431
442
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
432
443
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
433
444
|
gapic_version: ::Google::Cloud::ResourceSettings::V1::VERSION,
|
434
445
|
transports_version_send: [:rest]
|
435
446
|
|
447
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
436
448
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
437
449
|
|
438
450
|
options.apply_defaults timeout: @config.rpcs.update_setting.timeout,
|
@@ -29,6 +29,7 @@ module Google
|
|
29
29
|
# Service stub contains baseline method implementations
|
30
30
|
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
|
+
# @deprecated This service is deprecated and may be removed in the next major version update.
|
32
33
|
class ServiceStub
|
33
34
|
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
|
34
35
|
# These require statements are intentionally placed here to initialize
|
@@ -43,6 +43,9 @@ module Google
|
|
43
43
|
# resource is not in a Cloud Organization.
|
44
44
|
# For all requests, returns a `google.rpc.Status` with
|
45
45
|
# `google.rpc.Code.INVALID_ARGUMENT` if the request is malformed.
|
46
|
+
# (== deprecation_description Resource Settings is deprecated. As of November
|
47
|
+
# 7, 2023, no organizations will be onboarded for any of the enabled settings,
|
48
|
+
# and the service will be shut down on October 1, 2024. ==)
|
46
49
|
#
|
47
50
|
# To load this service and instantiate a REST client:
|
48
51
|
#
|
@@ -44,6 +44,11 @@ module Google
|
|
44
44
|
# resource is not in a Cloud Organization.
|
45
45
|
# For all requests, returns a `google.rpc.Status` with
|
46
46
|
# `google.rpc.Code.INVALID_ARGUMENT` if the request is malformed.
|
47
|
+
# (== deprecation_description Resource Settings is deprecated. As of November
|
48
|
+
# 7, 2023, no organizations will be onboarded for any of the enabled settings,
|
49
|
+
# and the service will be shut down on October 1, 2024. ==)
|
50
|
+
#
|
51
|
+
# @deprecated This service is deprecated and may be removed in the next major version update.
|
47
52
|
#
|
48
53
|
# @example Load this service and instantiate a gRPC client
|
49
54
|
#
|
@@ -10,7 +10,7 @@ require 'google/api/field_behavior_pb'
|
|
10
10
|
require 'google/api/resource_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n8google/cloud/resourcesettings/v1/resource_settings.proto\x12 google.cloud.resourcesettings.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xb7\x03\n\x07Setting\x12\x0c\n\x04name\x18\x01 \x01(\t\x12H\n\x08metadata\x18\x07 \x01(\x0b\x32\x31.google.cloud.resourcesettings.v1.SettingMetadataB\x03\xe0\x41\x03\x12<\n\x0blocal_value\x18\x08 \x01(\x0b\x32\'.google.cloud.resourcesettings.v1.Value\x12\x45\n\x0f\x65\x66\x66\x65\x63tive_value\x18\t \x01(\x0b\x32\'.google.cloud.resourcesettings.v1.ValueB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\n \x01(\t:\xc0\x01\xea\x41\xbc\x01\n\'resourcesettings.googleapis.com/Setting\x12\x31projects/{project_number}/settings/{setting_name}\x12(folders/{folder}/settings/{setting_name}\x12\x34organizations/{organization}/settings/{setting_name}\"\xbe\x02\n\x0fSettingMetadata\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\x12M\n\tdata_type\x18\x04 \x01(\x0e\x32:.google.cloud.resourcesettings.v1.SettingMetadata.DataType\x12>\n\rdefault_value\x18\x05 \x01(\x0b\x32\'.google.cloud.resourcesettings.v1.Value\"^\n\x08\x44\x61taType\x12\x19\n\x15\x44\x41TA_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x42OOLEAN\x10\x01\x12\n\n\x06STRING\x10\x02\x12\x0e\n\nSTRING_SET\x10\x03\x12\x0e\n\nENUM_VALUE\x10\x04\"\x92\x02\n\x05Value\x12\x17\n\rboolean_value\x18\x01 \x01(\x08H\x00\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12M\n\x10string_set_value\x18\x03 \x01(\x0b\x32\x31.google.cloud.resourcesettings.v1.Value.StringSetH\x00\x12G\n\nenum_value\x18\x04 \x01(\x0b\x32\x31.google.cloud.resourcesettings.v1.Value.EnumValueH\x00\x1a\x1b\n\tStringSet\x12\x0e\n\x06values\x18\x01 \x03(\t\x1a\x1a\n\tEnumValue\x12\r\n\x05value\x18\x01 \x01(\tB\x07\n\x05value\"\x94\x01\n\x13ListSettingsRequest\x12\x19\n\x06parent\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12;\n\x04view\x18\x04 \x01(\x0e\x32-.google.cloud.resourcesettings.v1.SettingView\"l\n\x14ListSettingsResponse\x12;\n\x08settings\x18\x01 \x03(\x0b\x32).google.cloud.resourcesettings.v1.Setting\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8f\x01\n\x11GetSettingRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'resourcesettings.googleapis.com/Setting\x12;\n\x04view\x18\x02 \x01(\x0e\x32-.google.cloud.resourcesettings.v1.SettingView\"W\n\x14UpdateSettingRequest\x12?\n\x07setting\x18\x01 \x01(\x0b\x32).google.cloud.resourcesettings.v1.SettingB\x03\xe0\x41\x02*\x83\x01\n\x0bSettingView\x12\x1c\n\x18SETTING_VIEW_UNSPECIFIED\x10\x00\x12\x16\n\x12SETTING_VIEW_BASIC\x10\x01\x12 \n\x1cSETTING_VIEW_EFFECTIVE_VALUE\x10\x02\x12\x1c\n\x18SETTING_VIEW_LOCAL_VALUE\x10\x03\x32\
|
13
|
+
descriptor_data = "\n8google/cloud/resourcesettings/v1/resource_settings.proto\x12 google.cloud.resourcesettings.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xb7\x03\n\x07Setting\x12\x0c\n\x04name\x18\x01 \x01(\t\x12H\n\x08metadata\x18\x07 \x01(\x0b\x32\x31.google.cloud.resourcesettings.v1.SettingMetadataB\x03\xe0\x41\x03\x12<\n\x0blocal_value\x18\x08 \x01(\x0b\x32\'.google.cloud.resourcesettings.v1.Value\x12\x45\n\x0f\x65\x66\x66\x65\x63tive_value\x18\t \x01(\x0b\x32\'.google.cloud.resourcesettings.v1.ValueB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\n \x01(\t:\xc0\x01\xea\x41\xbc\x01\n\'resourcesettings.googleapis.com/Setting\x12\x31projects/{project_number}/settings/{setting_name}\x12(folders/{folder}/settings/{setting_name}\x12\x34organizations/{organization}/settings/{setting_name}\"\xbe\x02\n\x0fSettingMetadata\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\x12M\n\tdata_type\x18\x04 \x01(\x0e\x32:.google.cloud.resourcesettings.v1.SettingMetadata.DataType\x12>\n\rdefault_value\x18\x05 \x01(\x0b\x32\'.google.cloud.resourcesettings.v1.Value\"^\n\x08\x44\x61taType\x12\x19\n\x15\x44\x41TA_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x42OOLEAN\x10\x01\x12\n\n\x06STRING\x10\x02\x12\x0e\n\nSTRING_SET\x10\x03\x12\x0e\n\nENUM_VALUE\x10\x04\"\x92\x02\n\x05Value\x12\x17\n\rboolean_value\x18\x01 \x01(\x08H\x00\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12M\n\x10string_set_value\x18\x03 \x01(\x0b\x32\x31.google.cloud.resourcesettings.v1.Value.StringSetH\x00\x12G\n\nenum_value\x18\x04 \x01(\x0b\x32\x31.google.cloud.resourcesettings.v1.Value.EnumValueH\x00\x1a\x1b\n\tStringSet\x12\x0e\n\x06values\x18\x01 \x03(\t\x1a\x1a\n\tEnumValue\x12\r\n\x05value\x18\x01 \x01(\tB\x07\n\x05value\"\x94\x01\n\x13ListSettingsRequest\x12\x19\n\x06parent\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12;\n\x04view\x18\x04 \x01(\x0e\x32-.google.cloud.resourcesettings.v1.SettingView\"l\n\x14ListSettingsResponse\x12;\n\x08settings\x18\x01 \x03(\x0b\x32).google.cloud.resourcesettings.v1.Setting\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8f\x01\n\x11GetSettingRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'resourcesettings.googleapis.com/Setting\x12;\n\x04view\x18\x02 \x01(\x0e\x32-.google.cloud.resourcesettings.v1.SettingView\"W\n\x14UpdateSettingRequest\x12?\n\x07setting\x18\x01 \x01(\x0b\x32).google.cloud.resourcesettings.v1.SettingB\x03\xe0\x41\x02*\x83\x01\n\x0bSettingView\x12\x1c\n\x18SETTING_VIEW_UNSPECIFIED\x10\x00\x12\x16\n\x12SETTING_VIEW_BASIC\x10\x01\x12 \n\x1cSETTING_VIEW_EFFECTIVE_VALUE\x10\x02\x12\x1c\n\x18SETTING_VIEW_LOCAL_VALUE\x10\x03\x32\xfc\x06\n\x17ResourceSettingsService\x12\xfc\x01\n\x0cListSettings\x12\x35.google.cloud.resourcesettings.v1.ListSettingsRequest\x1a\x36.google.cloud.resourcesettings.v1.ListSettingsResponse\"}\xda\x41\x06parent\x82\xd3\xe4\x93\x02n\x12%/v1/{parent=organizations/*}/settingsZ!\x12\x1f/v1/{parent=folders/*}/settingsZ\"\x12 /v1/{parent=projects/*}/settings\x12\xe9\x01\n\nGetSetting\x12\x33.google.cloud.resourcesettings.v1.GetSettingRequest\x1a).google.cloud.resourcesettings.v1.Setting\"{\xda\x41\x04name\x82\xd3\xe4\x93\x02n\x12%/v1/{name=organizations/*/settings/*}Z!\x12\x1f/v1/{name=folders/*/settings/*}Z\"\x12 /v1/{name=projects/*/settings/*}\x12\x9d\x02\n\rUpdateSetting\x12\x36.google.cloud.resourcesettings.v1.UpdateSettingRequest\x1a).google.cloud.resourcesettings.v1.Setting\"\xa8\x01\x82\xd3\xe4\x93\x02\xa1\x01\x32-/v1/{setting.name=organizations/*/settings/*}:\x07settingZ22\'/v1/{setting.name=folders/*/settings/*}:\x07settingZ32(/v1/{setting.name=projects/*/settings/*}:\x07setting\x1aV\x88\x02\x01\xca\x41\x1fresourcesettings.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x80\x02\n$com.google.cloud.resourcesettings.v1B\x15ResourceSettingsProtoP\x01ZPcloud.google.com/go/resourcesettings/apiv1/resourcesettingspb;resourcesettingspb\xf8\x01\x01\xaa\x02 Google.Cloud.ResourceSettings.V1\xca\x02 Google\\Cloud\\ResourceSettings\\V1\xea\x02#Google::Cloud::ResourceSettings::V1b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# resource is not in a Cloud Organization.
|
37
37
|
# For all requests, returns a `google.rpc.Status` with
|
38
38
|
# `google.rpc.Code.INVALID_ARGUMENT` if the request is malformed.
|
39
|
+
# (== deprecation_description Resource Settings is deprecated. As of November
|
40
|
+
# 7, 2023, no organizations will be onboarded for any of the enabled settings,
|
41
|
+
# and the service will be shut down on October 1, 2024. ==)
|
39
42
|
class Service
|
40
43
|
|
41
44
|
include ::GRPC::GenericService
|
@@ -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
|
@@ -33,33 +33,39 @@ module Google
|
|
33
33
|
# For example, "/projects/123/settings/gcp-enableMyFeature"
|
34
34
|
# @!attribute [r] metadata
|
35
35
|
# @return [::Google::Cloud::ResourceSettings::V1::SettingMetadata]
|
36
|
-
# Output only. Metadata about a setting which is not editable by the end
|
36
|
+
# Output only. Metadata about a setting which is not editable by the end
|
37
|
+
# user.
|
37
38
|
# @!attribute [rw] local_value
|
38
39
|
# @return [::Google::Cloud::ResourceSettings::V1::Value]
|
39
40
|
# The configured value of the setting at the given parent resource (ignoring
|
40
|
-
# the resource hierarchy). The data type of
|
41
|
-
#
|
41
|
+
# the resource hierarchy). The data type of
|
42
|
+
# {::Google::Cloud::ResourceSettings::V1::Value Value} must always be consistent
|
43
|
+
# with the data type defined in
|
44
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting#metadata Setting.metadata}.
|
42
45
|
# @!attribute [r] effective_value
|
43
46
|
# @return [::Google::Cloud::ResourceSettings::V1::Value]
|
44
|
-
# Output only. The computed effective value of the setting at the given
|
45
|
-
# (based on the resource hierarchy).
|
47
|
+
# Output only. The computed effective value of the setting at the given
|
48
|
+
# parent resource (based on the resource hierarchy).
|
46
49
|
#
|
47
50
|
# The effective value evaluates to one of the following options in the given
|
48
51
|
# order (the next option is used if the previous one does not exist):
|
49
52
|
#
|
50
|
-
# 1. the local setting value on the given resource:
|
53
|
+
# 1. the local setting value on the given resource:
|
54
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting#local_value Setting.local_value}
|
51
55
|
# 2. if one of the given resource's ancestors have a local setting value,
|
52
56
|
# the local value at the nearest such ancestor
|
53
|
-
# 3. the setting's default value:
|
57
|
+
# 3. the setting's default value:
|
58
|
+
# {::Google::Cloud::ResourceSettings::V1::SettingMetadata#default_value SettingMetadata.default_value}
|
54
59
|
# 4. an empty value (defined as a `Value` with all fields unset)
|
55
60
|
#
|
56
|
-
# The data type of {::Google::Cloud::ResourceSettings::V1::Value Value} must
|
57
|
-
# consistent with the data type defined in
|
61
|
+
# The data type of {::Google::Cloud::ResourceSettings::V1::Value Value} must
|
62
|
+
# always be consistent with the data type defined in
|
63
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting#metadata Setting.metadata}.
|
58
64
|
# @!attribute [rw] etag
|
59
65
|
# @return [::String]
|
60
66
|
# A fingerprint used for optimistic concurrency. See
|
61
|
-
# {::Google::Cloud::ResourceSettings::V1::ResourceSettingsService::Client#update_setting UpdateSetting}
|
62
|
-
# details.
|
67
|
+
# {::Google::Cloud::ResourceSettings::V1::ResourceSettingsService::Client#update_setting UpdateSetting}
|
68
|
+
# for more details.
|
63
69
|
class Setting
|
64
70
|
include ::Google::Protobuf::MessageExts
|
65
71
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -81,16 +87,18 @@ module Google
|
|
81
87
|
# The data type for this setting.
|
82
88
|
# @!attribute [rw] default_value
|
83
89
|
# @return [::Google::Cloud::ResourceSettings::V1::Value]
|
84
|
-
# The value provided by
|
85
|
-
#
|
90
|
+
# The value provided by
|
91
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting#effective_value Setting.effective_value}
|
92
|
+
# if no setting value is explicitly set.
|
86
93
|
#
|
87
94
|
# Note: not all settings have a default value.
|
88
95
|
class SettingMetadata
|
89
96
|
include ::Google::Protobuf::MessageExts
|
90
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
91
98
|
|
92
|
-
# The data type for setting values of this setting. See
|
93
|
-
# details on the
|
99
|
+
# The data type for setting values of this setting. See
|
100
|
+
# {::Google::Cloud::ResourceSettings::V1::Value Value} for more details on the
|
101
|
+
# available data types.
|
94
102
|
module DataType
|
95
103
|
# Unspecified data type.
|
96
104
|
DATA_TYPE_UNSPECIFIED = 0
|
@@ -152,8 +160,8 @@ module Google
|
|
152
160
|
# The request for ListSettings.
|
153
161
|
# @!attribute [rw] parent
|
154
162
|
# @return [::String]
|
155
|
-
# Required. The Cloud resource that parents the setting. Must be in one of
|
156
|
-
# following forms:
|
163
|
+
# Required. The Cloud resource that parents the setting. Must be in one of
|
164
|
+
# the following forms:
|
157
165
|
#
|
158
166
|
# * `projects/{project_number}`
|
159
167
|
# * `projects/{project_id}`
|
@@ -188,7 +196,8 @@ module Google
|
|
188
196
|
# The request for GetSetting.
|
189
197
|
# @!attribute [rw] name
|
190
198
|
# @return [::String]
|
191
|
-
# Required. The name of the setting to get. See
|
199
|
+
# Required. The name of the setting to get. See
|
200
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting Setting} for naming
|
192
201
|
# requirements.
|
193
202
|
# @!attribute [rw] view
|
194
203
|
# @return [::Google::Cloud::ResourceSettings::V1::SettingView]
|
@@ -201,7 +210,8 @@ module Google
|
|
201
210
|
# The request for UpdateSetting.
|
202
211
|
# @!attribute [rw] setting
|
203
212
|
# @return [::Google::Cloud::ResourceSettings::V1::Setting]
|
204
|
-
# Required. The setting to update. See
|
213
|
+
# Required. The setting to update. See
|
214
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting Setting} for field requirements.
|
205
215
|
class UpdateSettingRequest
|
206
216
|
include ::Google::Protobuf::MessageExts
|
207
217
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -213,14 +223,20 @@ module Google
|
|
213
223
|
# The API will default to the SETTING_VIEW_BASIC view.
|
214
224
|
SETTING_VIEW_UNSPECIFIED = 0
|
215
225
|
|
216
|
-
# Include
|
217
|
-
#
|
226
|
+
# Include
|
227
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting#metadata Setting.metadata}, but
|
228
|
+
# nothing else. This is the default value (for both ListSettings and
|
229
|
+
# GetSetting).
|
218
230
|
SETTING_VIEW_BASIC = 1
|
219
231
|
|
220
|
-
# Include
|
232
|
+
# Include
|
233
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting#effective_value Setting.effective_value},
|
234
|
+
# but nothing else.
|
221
235
|
SETTING_VIEW_EFFECTIVE_VALUE = 2
|
222
236
|
|
223
|
-
# Include
|
237
|
+
# Include
|
238
|
+
# {::Google::Cloud::ResourceSettings::V1::Setting#local_value Setting.local_value},
|
239
|
+
# but nothing else.
|
224
240
|
SETTING_VIEW_LOCAL_VALUE = 3
|
225
241
|
end
|
226
242
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-resource_settings-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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|