google-cloud-secure_source_manager-v1 0.3.0 → 0.4.0
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/lib/google/cloud/secure_source_manager/v1/secure_source_manager/client.rb +25 -11
- data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/operations.rb +13 -5
- data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/paths.rb +38 -0
- data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/rest/client.rb +25 -11
- data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/rest/operations.rb +11 -4
- data/lib/google/cloud/secure_source_manager/v1/version.rb +1 -1
- data/lib/google/cloud/securesourcemanager/v1/secure_source_manager_pb.rb +2 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb +31 -2
- 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: 6ea16affab037aea3db2f8c2af55f437c12ca74e401a293af8abb698c7d5e9d6
|
|
4
|
+
data.tar.gz: 92c13f07cf86478fd4c62dae3cf43161a423cbbb8e74e8092ea0f91a26793861
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb45073dc44231b38c236c0620359a78f1a469b22f59e4118104ec225dc4c8c66afee0fcaf03940d20486bec9a588bd833fa295aa77e05992b82b8de34d01ca6
|
|
7
|
+
data.tar.gz: d45e13836bfcfe1c1b13273941a187e42fcbec9f108cf0cc9d69fc9df4fbbe0d1c31b69e6f7f5383b9253fa4cb2278d1e647e87aa05bec585c79a27654316fda
|
|
@@ -51,6 +51,9 @@ module Google
|
|
|
51
51
|
# `securcesourcemanager.googleapis.com`.
|
|
52
52
|
#
|
|
53
53
|
class Client
|
|
54
|
+
# @private
|
|
55
|
+
API_VERSION = ""
|
|
56
|
+
|
|
54
57
|
# @private
|
|
55
58
|
DEFAULT_ENDPOINT_TEMPLATE = "securesourcemanager.$UNIVERSE_DOMAIN$"
|
|
56
59
|
|
|
@@ -316,10 +319,11 @@ module Google
|
|
|
316
319
|
# Customize the options with defaults
|
|
317
320
|
metadata = @config.rpcs.list_instances.metadata.to_h
|
|
318
321
|
|
|
319
|
-
# Set x-goog-api-client
|
|
322
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
320
323
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
321
324
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
322
325
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
326
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
323
327
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
324
328
|
|
|
325
329
|
header_params = {}
|
|
@@ -402,10 +406,11 @@ module Google
|
|
|
402
406
|
# Customize the options with defaults
|
|
403
407
|
metadata = @config.rpcs.get_instance.metadata.to_h
|
|
404
408
|
|
|
405
|
-
# Set x-goog-api-client
|
|
409
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
406
410
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
407
411
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
408
412
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
413
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
409
414
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
410
415
|
|
|
411
416
|
header_params = {}
|
|
@@ -512,10 +517,11 @@ module Google
|
|
|
512
517
|
# Customize the options with defaults
|
|
513
518
|
metadata = @config.rpcs.create_instance.metadata.to_h
|
|
514
519
|
|
|
515
|
-
# Set x-goog-api-client
|
|
520
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
516
521
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
517
522
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
518
523
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
524
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
519
525
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
520
526
|
|
|
521
527
|
header_params = {}
|
|
@@ -619,10 +625,11 @@ module Google
|
|
|
619
625
|
# Customize the options with defaults
|
|
620
626
|
metadata = @config.rpcs.delete_instance.metadata.to_h
|
|
621
627
|
|
|
622
|
-
# Set x-goog-api-client
|
|
628
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
623
629
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
624
630
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
625
631
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
632
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
626
633
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
627
634
|
|
|
628
635
|
header_params = {}
|
|
@@ -718,10 +725,11 @@ module Google
|
|
|
718
725
|
# Customize the options with defaults
|
|
719
726
|
metadata = @config.rpcs.list_repositories.metadata.to_h
|
|
720
727
|
|
|
721
|
-
# Set x-goog-api-client
|
|
728
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
722
729
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
723
730
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
724
731
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
732
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
725
733
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
726
734
|
|
|
727
735
|
header_params = {}
|
|
@@ -808,10 +816,11 @@ module Google
|
|
|
808
816
|
# Customize the options with defaults
|
|
809
817
|
metadata = @config.rpcs.get_repository.metadata.to_h
|
|
810
818
|
|
|
811
|
-
# Set x-goog-api-client
|
|
819
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
812
820
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
813
821
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
814
822
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
823
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
815
824
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
816
825
|
|
|
817
826
|
header_params = {}
|
|
@@ -909,10 +918,11 @@ module Google
|
|
|
909
918
|
# Customize the options with defaults
|
|
910
919
|
metadata = @config.rpcs.create_repository.metadata.to_h
|
|
911
920
|
|
|
912
|
-
# Set x-goog-api-client
|
|
921
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
913
922
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
914
923
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
915
924
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
925
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
916
926
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
917
927
|
|
|
918
928
|
header_params = {}
|
|
@@ -1009,10 +1019,11 @@ module Google
|
|
|
1009
1019
|
# Customize the options with defaults
|
|
1010
1020
|
metadata = @config.rpcs.delete_repository.metadata.to_h
|
|
1011
1021
|
|
|
1012
|
-
# Set x-goog-api-client
|
|
1022
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1013
1023
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1014
1024
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1015
1025
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
1026
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1016
1027
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1017
1028
|
|
|
1018
1029
|
header_params = {}
|
|
@@ -1099,10 +1110,11 @@ module Google
|
|
|
1099
1110
|
# Customize the options with defaults
|
|
1100
1111
|
metadata = @config.rpcs.get_iam_policy_repo.metadata.to_h
|
|
1101
1112
|
|
|
1102
|
-
# Set x-goog-api-client
|
|
1113
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1103
1114
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1104
1115
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1105
1116
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
1117
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1106
1118
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1107
1119
|
|
|
1108
1120
|
header_params = {}
|
|
@@ -1196,10 +1208,11 @@ module Google
|
|
|
1196
1208
|
# Customize the options with defaults
|
|
1197
1209
|
metadata = @config.rpcs.set_iam_policy_repo.metadata.to_h
|
|
1198
1210
|
|
|
1199
|
-
# Set x-goog-api-client
|
|
1211
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1200
1212
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1201
1213
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1202
1214
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
1215
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1203
1216
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1204
1217
|
|
|
1205
1218
|
header_params = {}
|
|
@@ -1288,10 +1301,11 @@ module Google
|
|
|
1288
1301
|
# Customize the options with defaults
|
|
1289
1302
|
metadata = @config.rpcs.test_iam_permissions_repo.metadata.to_h
|
|
1290
1303
|
|
|
1291
|
-
# Set x-goog-api-client
|
|
1304
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1292
1305
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1293
1306
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1294
1307
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION
|
|
1308
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1295
1309
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1296
1310
|
|
|
1297
1311
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module SecureSourceManager
|
|
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 = "securesourcemanager.$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
|
|
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::SecureSourceManager::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
|
|
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::SecureSourceManager::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
|
|
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::SecureSourceManager::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
|
|
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::SecureSourceManager::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
|
|
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::SecureSourceManager::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,
|
|
@@ -24,6 +24,25 @@ module Google
|
|
|
24
24
|
module SecureSourceManager
|
|
25
25
|
# Path helper methods for the SecureSourceManager API.
|
|
26
26
|
module Paths
|
|
27
|
+
##
|
|
28
|
+
# Create a fully-qualified CaPool resource string.
|
|
29
|
+
#
|
|
30
|
+
# The resource will be in the following format:
|
|
31
|
+
#
|
|
32
|
+
# `projects/{project}/locations/{location}/caPools/{ca_pool}`
|
|
33
|
+
#
|
|
34
|
+
# @param project [String]
|
|
35
|
+
# @param location [String]
|
|
36
|
+
# @param ca_pool [String]
|
|
37
|
+
#
|
|
38
|
+
# @return [::String]
|
|
39
|
+
def ca_pool_path project:, location:, ca_pool:
|
|
40
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
41
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
42
|
+
|
|
43
|
+
"projects/#{project}/locations/#{location}/caPools/#{ca_pool}"
|
|
44
|
+
end
|
|
45
|
+
|
|
27
46
|
##
|
|
28
47
|
# Create a fully-qualified CryptoKey resource string.
|
|
29
48
|
#
|
|
@@ -100,6 +119,25 @@ module Google
|
|
|
100
119
|
"projects/#{project}/locations/#{location}/repositories/#{repository}"
|
|
101
120
|
end
|
|
102
121
|
|
|
122
|
+
##
|
|
123
|
+
# Create a fully-qualified ServiceAttachment resource string.
|
|
124
|
+
#
|
|
125
|
+
# The resource will be in the following format:
|
|
126
|
+
#
|
|
127
|
+
# `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`
|
|
128
|
+
#
|
|
129
|
+
# @param project [String]
|
|
130
|
+
# @param region [String]
|
|
131
|
+
# @param service_attachment [String]
|
|
132
|
+
#
|
|
133
|
+
# @return [::String]
|
|
134
|
+
def service_attachment_path project:, region:, service_attachment:
|
|
135
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
136
|
+
raise ::ArgumentError, "region cannot contain /" if region.to_s.include? "/"
|
|
137
|
+
|
|
138
|
+
"projects/#{project}/regions/#{region}/serviceAttachments/#{service_attachment}"
|
|
139
|
+
end
|
|
140
|
+
|
|
103
141
|
extend self
|
|
104
142
|
end
|
|
105
143
|
end
|
|
@@ -53,6 +53,9 @@ module Google
|
|
|
53
53
|
# `securcesourcemanager.googleapis.com`.
|
|
54
54
|
#
|
|
55
55
|
class Client
|
|
56
|
+
# @private
|
|
57
|
+
API_VERSION = ""
|
|
58
|
+
|
|
56
59
|
# @private
|
|
57
60
|
DEFAULT_ENDPOINT_TEMPLATE = "securesourcemanager.$UNIVERSE_DOMAIN$"
|
|
58
61
|
|
|
@@ -310,12 +313,13 @@ module Google
|
|
|
310
313
|
# Customize the options with defaults
|
|
311
314
|
call_metadata = @config.rpcs.list_instances.metadata.to_h
|
|
312
315
|
|
|
313
|
-
# Set x-goog-api-client
|
|
316
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
314
317
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
315
318
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
316
319
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
317
320
|
transports_version_send: [:rest]
|
|
318
321
|
|
|
322
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
319
323
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
320
324
|
|
|
321
325
|
options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
|
|
@@ -388,12 +392,13 @@ module Google
|
|
|
388
392
|
# Customize the options with defaults
|
|
389
393
|
call_metadata = @config.rpcs.get_instance.metadata.to_h
|
|
390
394
|
|
|
391
|
-
# Set x-goog-api-client
|
|
395
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
392
396
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
393
397
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
394
398
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
395
399
|
transports_version_send: [:rest]
|
|
396
400
|
|
|
401
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
397
402
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
398
403
|
|
|
399
404
|
options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
|
|
@@ -491,12 +496,13 @@ module Google
|
|
|
491
496
|
# Customize the options with defaults
|
|
492
497
|
call_metadata = @config.rpcs.create_instance.metadata.to_h
|
|
493
498
|
|
|
494
|
-
# Set x-goog-api-client
|
|
499
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
495
500
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
496
501
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
497
502
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
498
503
|
transports_version_send: [:rest]
|
|
499
504
|
|
|
505
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
500
506
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
501
507
|
|
|
502
508
|
options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
|
|
@@ -591,12 +597,13 @@ module Google
|
|
|
591
597
|
# Customize the options with defaults
|
|
592
598
|
call_metadata = @config.rpcs.delete_instance.metadata.to_h
|
|
593
599
|
|
|
594
|
-
# Set x-goog-api-client
|
|
600
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
595
601
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
596
602
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
597
603
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
598
604
|
transports_version_send: [:rest]
|
|
599
605
|
|
|
606
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
600
607
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
601
608
|
|
|
602
609
|
options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
|
|
@@ -683,12 +690,13 @@ module Google
|
|
|
683
690
|
# Customize the options with defaults
|
|
684
691
|
call_metadata = @config.rpcs.list_repositories.metadata.to_h
|
|
685
692
|
|
|
686
|
-
# Set x-goog-api-client
|
|
693
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
687
694
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
688
695
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
689
696
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
690
697
|
transports_version_send: [:rest]
|
|
691
698
|
|
|
699
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
692
700
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
693
701
|
|
|
694
702
|
options.apply_defaults timeout: @config.rpcs.list_repositories.timeout,
|
|
@@ -766,12 +774,13 @@ module Google
|
|
|
766
774
|
# Customize the options with defaults
|
|
767
775
|
call_metadata = @config.rpcs.get_repository.metadata.to_h
|
|
768
776
|
|
|
769
|
-
# Set x-goog-api-client
|
|
777
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
770
778
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
771
779
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
772
780
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
773
781
|
transports_version_send: [:rest]
|
|
774
782
|
|
|
783
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
775
784
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
776
785
|
|
|
777
786
|
options.apply_defaults timeout: @config.rpcs.get_repository.timeout,
|
|
@@ -860,12 +869,13 @@ module Google
|
|
|
860
869
|
# Customize the options with defaults
|
|
861
870
|
call_metadata = @config.rpcs.create_repository.metadata.to_h
|
|
862
871
|
|
|
863
|
-
# Set x-goog-api-client
|
|
872
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
864
873
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
865
874
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
866
875
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
867
876
|
transports_version_send: [:rest]
|
|
868
877
|
|
|
878
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
869
879
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
870
880
|
|
|
871
881
|
options.apply_defaults timeout: @config.rpcs.create_repository.timeout,
|
|
@@ -953,12 +963,13 @@ module Google
|
|
|
953
963
|
# Customize the options with defaults
|
|
954
964
|
call_metadata = @config.rpcs.delete_repository.metadata.to_h
|
|
955
965
|
|
|
956
|
-
# Set x-goog-api-client
|
|
966
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
957
967
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
958
968
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
959
969
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
960
970
|
transports_version_send: [:rest]
|
|
961
971
|
|
|
972
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
962
973
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
963
974
|
|
|
964
975
|
options.apply_defaults timeout: @config.rpcs.delete_repository.timeout,
|
|
@@ -1036,12 +1047,13 @@ module Google
|
|
|
1036
1047
|
# Customize the options with defaults
|
|
1037
1048
|
call_metadata = @config.rpcs.get_iam_policy_repo.metadata.to_h
|
|
1038
1049
|
|
|
1039
|
-
# Set x-goog-api-client
|
|
1050
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1040
1051
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1041
1052
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1042
1053
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
1043
1054
|
transports_version_send: [:rest]
|
|
1044
1055
|
|
|
1056
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1045
1057
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1046
1058
|
|
|
1047
1059
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy_repo.timeout,
|
|
@@ -1126,12 +1138,13 @@ module Google
|
|
|
1126
1138
|
# Customize the options with defaults
|
|
1127
1139
|
call_metadata = @config.rpcs.set_iam_policy_repo.metadata.to_h
|
|
1128
1140
|
|
|
1129
|
-
# Set x-goog-api-client
|
|
1141
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1130
1142
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1131
1143
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1132
1144
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
1133
1145
|
transports_version_send: [:rest]
|
|
1134
1146
|
|
|
1147
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1135
1148
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1136
1149
|
|
|
1137
1150
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy_repo.timeout,
|
|
@@ -1211,12 +1224,13 @@ module Google
|
|
|
1211
1224
|
# Customize the options with defaults
|
|
1212
1225
|
call_metadata = @config.rpcs.test_iam_permissions_repo.metadata.to_h
|
|
1213
1226
|
|
|
1214
|
-
# Set x-goog-api-client
|
|
1227
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1215
1228
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1216
1229
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1217
1230
|
gapic_version: ::Google::Cloud::SecureSourceManager::V1::VERSION,
|
|
1218
1231
|
transports_version_send: [:rest]
|
|
1219
1232
|
|
|
1233
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1220
1234
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1221
1235
|
|
|
1222
1236
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions_repo.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 = "securesourcemanager.$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
|
|
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::SecureSourceManager::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
|
|
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::SecureSourceManager::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
|
|
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::SecureSourceManager::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
|
|
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::SecureSourceManager::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,
|
|
@@ -15,7 +15,7 @@ require 'google/protobuf/empty_pb'
|
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
descriptor_data = "\n?google/cloud/securesourcemanager/v1/secure_source_manager.proto\x12#google.cloud.securesourcemanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbb\x07\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12N\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.cloud.securesourcemanager.v1.Instance.LabelsEntryB\x03\xe0\x41\x01\x12G\n\x05state\x18\x05 \x01(\x0e\x32\x33.google.cloud.securesourcemanager.v1.Instance.StateB\x03\xe0\x41\x03\x12P\n\nstate_note\x18\n \x01(\x0e\x32\x37.google.cloud.securesourcemanager.v1.Instance.StateNoteB\x03\xe0\x41\x03\x12:\n\x07kms_key\x18\x0b \x01(\tB)\xe0\x41\x05\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12R\n\x0bhost_config\x18\t \x01(\x0b\x32\x38.google.cloud.securesourcemanager.v1.Instance.HostConfigB\x03\xe0\x41\x03\x1a^\n\nHostConfig\x12\x11\n\x04html\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03\x61pi\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08git_http\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07git_ssh\x18\x04 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"R\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\n\n\x06PAUSED\x10\x04\"_\n\tStateNote\x12\x1a\n\x16STATE_NOTE_UNSPECIFIED\x10\x00\x12\x1b\n\x17PAUSED_CMEK_UNAVAILABLE\x10\x01\x12\x19\n\x11INSTANCE_RESUMING\x10\x02\x1a\x02\x08\x01:q\xea\x41n\n+securesourcemanager.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}R\x01\x01\"\xa0\x05\n\nRepository\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08instance\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12G\n\x04uris\x18\t \x01(\x0b\x32\x34.google.cloud.securesourcemanager.v1.Repository.URIsB\x03\xe0\x41\x03\x12Z\n\x0einitial_config\x18\n \x01(\x0b\x32=.google.cloud.securesourcemanager.v1.Repository.InitialConfigB\x03\xe0\x41\x04\x1a\x43\n\x04URIs\x12\x11\n\x04html\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tgit_https\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03\x61pi\x18\x03 \x01(\tB\x03\xe0\x41\x03\x1a\\\n\rInitialConfig\x12\x16\n\x0e\x64\x65\x66\x61ult_branch\x18\x01 \x01(\t\x12\x12\n\ngitignores\x18\x02 \x03(\t\x12\x0f\n\x07license\x18\x03 \x01(\t\x12\x0e\n\x06readme\x18\x04 \x01(\t:u\xea\x41r\n-securesourcemanager.googleapis.com/Repository\x12\x41projects/{project}/locations/{location}/repositories/{repository}\"\xa4\x01\n\x14ListInstancesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+securesourcemanager.googleapis.com/Instance\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x87\x01\n\x15ListInstancesResponse\x12@\n\tinstances\x18\x01 \x03(\x0b\x32-.google.cloud.securesourcemanager.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"W\n\x12GetInstanceRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+securesourcemanager.googleapis.com/Instance\"\xd5\x01\n\x15\x43reateInstanceRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+securesourcemanager.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x08instance\x18\x03 \x01(\x0b\x32-.google.cloud.securesourcemanager.v1.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"s\n\x15\x44\x65leteInstanceRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+securesourcemanager.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xa1\x01\n\x17ListRepositoriesRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-securesourcemanager.googleapis.com/Repository\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"z\n\x18ListRepositoriesResponse\x12\x45\n\x0crepositories\x18\x01 \x03(\x0b\x32/.google.cloud.securesourcemanager.v1.Repository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"[\n\x14GetRepositoryRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-securesourcemanager.googleapis.com/Repository\"\xc6\x01\n\x17\x43reateRepositoryRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-securesourcemanager.googleapis.com/Repository\x12H\n\nrepository\x18\x02 \x01(\x0b\x32/.google.cloud.securesourcemanager.v1.RepositoryB\x03\xe0\x41\x02\x12\x1a\n\rrepository_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"z\n\x17\x44\x65leteRepositoryRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-securesourcemanager.googleapis.com/Repository\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x32\xc1\x12\n\x13SecureSourceManager\x12\xc6\x01\n\rListInstances\x12\x39.google.cloud.securesourcemanager.v1.ListInstancesRequest\x1a:.google.cloud.securesourcemanager.v1.ListInstancesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\xb3\x01\n\x0bGetInstance\x12\x37.google.cloud.securesourcemanager.v1.GetInstanceRequest\x1a-.google.cloud.securesourcemanager.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xea\x01\n\x0e\x43reateInstance\x12:.google.cloud.securesourcemanager.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xd6\x01\n\x0e\x44\x65leteInstance\x12:.google.cloud.securesourcemanager.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xd2\x01\n\x10ListRepositories\x12<.google.cloud.securesourcemanager.v1.ListRepositoriesRequest\x1a=.google.cloud.securesourcemanager.v1.ListRepositoriesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/repositories\x12\xbc\x01\n\rGetRepository\x12\x39.google.cloud.securesourcemanager.v1.GetRepositoryRequest\x1a/.google.cloud.securesourcemanager.v1.Repository\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/repositories/*}\x12\xfa\x01\n\x10\x43reateRepository\x12<.google.cloud.securesourcemanager.v1.CreateRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\x1f\n\nRepository\x12\x11OperationMetadata\xda\x41\x1fparent,repository,repository_id\x82\xd3\xe4\x93\x02>\"0/v1/{parent=projects/*/locations/*}/repositories:\nrepository\x12\xdd\x01\n\x10\x44\x65leteRepository\x12<.google.cloud.securesourcemanager.v1.DeleteRepositoryRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/repositories/*}\x12\xa3\x01\n\x10GetIamPolicyRepo\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"T\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy\x12\xa6\x01\n\x10SetIamPolicyRepo\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"W\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x46\"A/v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy:\x01*\x12\xcc\x01\n\x16TestIamPermissionsRepo\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"]\xda\x41\x08resource\x82\xd3\xe4\x93\x02L\"G/v1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions:\x01*\x1aV\xca\x41\"securesourcemanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe9\x04\n\'com.google.cloud.securesourcemanager.v1B\x18SecureSourceManagerProtoP\x01ZYcloud.google.com/go/securesourcemanager/apiv1/securesourcemanagerpb;securesourcemanagerpb\xaa\x02#Google.Cloud.SecureSourceManager.V1\xca\x02#Google\\Cloud\\SecureSourceManager\\V1\xea\x02&Google::Cloud::SecureSourceManager::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41\\\n\x1fprivateca.googleapis.com/CaPool\x12\x39projects/{project}/locations/{location}/caPools/{ca_pool}\xea\x41w\n(compute.googleapis.com/ServiceAttachment\x12Kprojects/{project}/regions/{region}/serviceAttachments/{service_attachment}b\x06proto3"
|
|
18
|
+
descriptor_data = "\n?google/cloud/securesourcemanager/v1/secure_source_manager.proto\x12#google.cloud.securesourcemanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\n\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12N\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.cloud.securesourcemanager.v1.Instance.LabelsEntryB\x03\xe0\x41\x01\x12X\n\x0eprivate_config\x18\r \x01(\x0b\x32;.google.cloud.securesourcemanager.v1.Instance.PrivateConfigB\x03\xe0\x41\x01\x12G\n\x05state\x18\x05 \x01(\x0e\x32\x33.google.cloud.securesourcemanager.v1.Instance.StateB\x03\xe0\x41\x03\x12P\n\nstate_note\x18\n \x01(\x0e\x32\x37.google.cloud.securesourcemanager.v1.Instance.StateNoteB\x03\xe0\x41\x03\x12:\n\x07kms_key\x18\x0b \x01(\tB)\xe0\x41\x05\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12R\n\x0bhost_config\x18\t \x01(\x0b\x32\x38.google.cloud.securesourcemanager.v1.Instance.HostConfigB\x03\xe0\x41\x03\x1a^\n\nHostConfig\x12\x11\n\x04html\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03\x61pi\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08git_http\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07git_ssh\x18\x04 \x01(\tB\x03\xe0\x41\x03\x1a\x8d\x02\n\rPrivateConfig\x12\x1a\n\nis_private\x18\x01 \x01(\x08\x42\x06\xe0\x41\x05\xe0\x41\x02\x12;\n\x07\x63\x61_pool\x18\x02 \x01(\tB*\xe0\x41\x05\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPool\x12Q\n\x17http_service_attachment\x18\x03 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(compute.googleapis.com/ServiceAttachment\x12P\n\x16ssh_service_attachment\x18\x04 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(compute.googleapis.com/ServiceAttachment\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\x0b\n\x07UNKNOWN\x10\x06\"_\n\tStateNote\x12\x1a\n\x16STATE_NOTE_UNSPECIFIED\x10\x00\x12\x1b\n\x17PAUSED_CMEK_UNAVAILABLE\x10\x01\x12\x19\n\x11INSTANCE_RESUMING\x10\x02\x1a\x02\x08\x01:q\xea\x41n\n+securesourcemanager.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}R\x01\x01\"\xa0\x05\n\nRepository\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08instance\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12G\n\x04uris\x18\t \x01(\x0b\x32\x34.google.cloud.securesourcemanager.v1.Repository.URIsB\x03\xe0\x41\x03\x12Z\n\x0einitial_config\x18\n \x01(\x0b\x32=.google.cloud.securesourcemanager.v1.Repository.InitialConfigB\x03\xe0\x41\x04\x1a\x43\n\x04URIs\x12\x11\n\x04html\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tgit_https\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03\x61pi\x18\x03 \x01(\tB\x03\xe0\x41\x03\x1a\\\n\rInitialConfig\x12\x16\n\x0e\x64\x65\x66\x61ult_branch\x18\x01 \x01(\t\x12\x12\n\ngitignores\x18\x02 \x03(\t\x12\x0f\n\x07license\x18\x03 \x01(\t\x12\x0e\n\x06readme\x18\x04 \x01(\t:u\xea\x41r\n-securesourcemanager.googleapis.com/Repository\x12\x41projects/{project}/locations/{location}/repositories/{repository}\"\xa4\x01\n\x14ListInstancesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+securesourcemanager.googleapis.com/Instance\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x87\x01\n\x15ListInstancesResponse\x12@\n\tinstances\x18\x01 \x03(\x0b\x32-.google.cloud.securesourcemanager.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"W\n\x12GetInstanceRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+securesourcemanager.googleapis.com/Instance\"\xd5\x01\n\x15\x43reateInstanceRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+securesourcemanager.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x08instance\x18\x03 \x01(\x0b\x32-.google.cloud.securesourcemanager.v1.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"s\n\x15\x44\x65leteInstanceRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+securesourcemanager.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xa1\x01\n\x17ListRepositoriesRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-securesourcemanager.googleapis.com/Repository\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"z\n\x18ListRepositoriesResponse\x12\x45\n\x0crepositories\x18\x01 \x03(\x0b\x32/.google.cloud.securesourcemanager.v1.Repository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"[\n\x14GetRepositoryRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-securesourcemanager.googleapis.com/Repository\"\xc6\x01\n\x17\x43reateRepositoryRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-securesourcemanager.googleapis.com/Repository\x12H\n\nrepository\x18\x02 \x01(\x0b\x32/.google.cloud.securesourcemanager.v1.RepositoryB\x03\xe0\x41\x02\x12\x1a\n\rrepository_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"z\n\x17\x44\x65leteRepositoryRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-securesourcemanager.googleapis.com/Repository\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x32\xc1\x12\n\x13SecureSourceManager\x12\xc6\x01\n\rListInstances\x12\x39.google.cloud.securesourcemanager.v1.ListInstancesRequest\x1a:.google.cloud.securesourcemanager.v1.ListInstancesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\xb3\x01\n\x0bGetInstance\x12\x37.google.cloud.securesourcemanager.v1.GetInstanceRequest\x1a-.google.cloud.securesourcemanager.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xea\x01\n\x0e\x43reateInstance\x12:.google.cloud.securesourcemanager.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xd6\x01\n\x0e\x44\x65leteInstance\x12:.google.cloud.securesourcemanager.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xd2\x01\n\x10ListRepositories\x12<.google.cloud.securesourcemanager.v1.ListRepositoriesRequest\x1a=.google.cloud.securesourcemanager.v1.ListRepositoriesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/repositories\x12\xbc\x01\n\rGetRepository\x12\x39.google.cloud.securesourcemanager.v1.GetRepositoryRequest\x1a/.google.cloud.securesourcemanager.v1.Repository\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/repositories/*}\x12\xfa\x01\n\x10\x43reateRepository\x12<.google.cloud.securesourcemanager.v1.CreateRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\x1f\n\nRepository\x12\x11OperationMetadata\xda\x41\x1fparent,repository,repository_id\x82\xd3\xe4\x93\x02>\"0/v1/{parent=projects/*/locations/*}/repositories:\nrepository\x12\xdd\x01\n\x10\x44\x65leteRepository\x12<.google.cloud.securesourcemanager.v1.DeleteRepositoryRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/repositories/*}\x12\xa3\x01\n\x10GetIamPolicyRepo\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"T\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy\x12\xa6\x01\n\x10SetIamPolicyRepo\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"W\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x46\"A/v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy:\x01*\x12\xcc\x01\n\x16TestIamPermissionsRepo\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"]\xda\x41\x08resource\x82\xd3\xe4\x93\x02L\"G/v1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions:\x01*\x1aV\xca\x41\"securesourcemanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe9\x04\n\'com.google.cloud.securesourcemanager.v1B\x18SecureSourceManagerProtoP\x01ZYcloud.google.com/go/securesourcemanager/apiv1/securesourcemanagerpb;securesourcemanagerpb\xaa\x02#Google.Cloud.SecureSourceManager.V1\xca\x02#Google\\Cloud\\SecureSourceManager\\V1\xea\x02&Google::Cloud::SecureSourceManager::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41\\\n\x1fprivateca.googleapis.com/CaPool\x12\x39projects/{project}/locations/{location}/caPools/{ca_pool}\xea\x41w\n(compute.googleapis.com/ServiceAttachment\x12Kprojects/{project}/regions/{region}/serviceAttachments/{service_attachment}b\x06proto3"
|
|
19
19
|
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
21
21
|
|
|
@@ -48,6 +48,7 @@ module Google
|
|
|
48
48
|
module V1
|
|
49
49
|
Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.Instance").msgclass
|
|
50
50
|
Instance::HostConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.Instance.HostConfig").msgclass
|
|
51
|
+
Instance::PrivateConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.Instance.PrivateConfig").msgclass
|
|
51
52
|
Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.Instance.State").enummodule
|
|
52
53
|
Instance::StateNote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.Instance.StateNote").enummodule
|
|
53
54
|
Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.Repository").msgclass
|
|
@@ -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
|
|
@@ -45,6 +45,9 @@ module Google
|
|
|
45
45
|
# @!attribute [rw] labels
|
|
46
46
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
47
47
|
# Optional. Labels as key value pairs.
|
|
48
|
+
# @!attribute [rw] private_config
|
|
49
|
+
# @return [::Google::Cloud::SecureSourceManager::V1::Instance::PrivateConfig]
|
|
50
|
+
# Optional. Private settings for private instance.
|
|
48
51
|
# @!attribute [r] state
|
|
49
52
|
# @return [::Google::Cloud::SecureSourceManager::V1::Instance::State]
|
|
50
53
|
# Output only. Current state of the instance.
|
|
@@ -82,6 +85,27 @@ module Google
|
|
|
82
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
83
86
|
end
|
|
84
87
|
|
|
88
|
+
# PrivateConfig includes settings for private instance.
|
|
89
|
+
# @!attribute [rw] is_private
|
|
90
|
+
# @return [::Boolean]
|
|
91
|
+
# Required. Immutable. Indicate if it's private instance.
|
|
92
|
+
# @!attribute [rw] ca_pool
|
|
93
|
+
# @return [::String]
|
|
94
|
+
# Required. Immutable. CA pool resource, resource must in the format of
|
|
95
|
+
# `projects/{project}/locations/{location}/caPools/{ca_pool}`.
|
|
96
|
+
# @!attribute [r] http_service_attachment
|
|
97
|
+
# @return [::String]
|
|
98
|
+
# Output only. Service Attachment for HTTP, resource is in the format of
|
|
99
|
+
# `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.
|
|
100
|
+
# @!attribute [r] ssh_service_attachment
|
|
101
|
+
# @return [::String]
|
|
102
|
+
# Output only. Service Attachment for SSH, resource is in the format of
|
|
103
|
+
# `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`.
|
|
104
|
+
class PrivateConfig
|
|
105
|
+
include ::Google::Protobuf::MessageExts
|
|
106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
107
|
+
end
|
|
108
|
+
|
|
85
109
|
# @!attribute [rw] key
|
|
86
110
|
# @return [::String]
|
|
87
111
|
# @!attribute [rw] value
|
|
@@ -107,6 +131,9 @@ module Google
|
|
|
107
131
|
|
|
108
132
|
# Instance is paused.
|
|
109
133
|
PAUSED = 4
|
|
134
|
+
|
|
135
|
+
# Instance is unknown, we are not sure if it's functioning.
|
|
136
|
+
UNKNOWN = 6
|
|
110
137
|
end
|
|
111
138
|
|
|
112
139
|
# Provides information about the current instance state.
|
|
@@ -133,11 +160,13 @@ module Google
|
|
|
133
160
|
# @return [::String]
|
|
134
161
|
# Optional. Description of the repository, which cannot exceed 500
|
|
135
162
|
# characters.
|
|
136
|
-
# @!attribute [
|
|
163
|
+
# @!attribute [rw] instance
|
|
137
164
|
# @return [::String]
|
|
138
|
-
#
|
|
165
|
+
# Optional. The name of the instance in which the repository is hosted,
|
|
139
166
|
# formatted as
|
|
140
167
|
# `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
|
|
168
|
+
# For data plane CreateRepository requests, this field is output only.
|
|
169
|
+
# For control plane CreateRepository requests, this field is used as input.
|
|
141
170
|
# @!attribute [r] uid
|
|
142
171
|
# @return [::String]
|
|
143
172
|
# Output only. Unique identifier of the repository.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-secure_source_manager-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.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
|