google-cloud-secure_source_manager-v1 2.4.0 → 2.6.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 +49 -28
- data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/operations.rb +20 -3
- data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/rest/client.rb +29 -25
- data/lib/google/cloud/secure_source_manager/v1/version.rb +1 -1
- data/lib/google/cloud/securesourcemanager/v1/secure_source_manager_pb.rb +5 -26
- data/lib/google/cloud/securesourcemanager/v1/secure_source_manager_services_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +145 -29
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb +66 -28
- metadata +3 -2
|
@@ -24,7 +24,7 @@ module Google
|
|
|
24
24
|
# A resource that represents a Secure Source Manager instance.
|
|
25
25
|
# @!attribute [rw] name
|
|
26
26
|
# @return [::String]
|
|
27
|
-
#
|
|
27
|
+
# Identifier. A unique identifier for an instance. The name should be of the
|
|
28
28
|
# format:
|
|
29
29
|
# `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
|
|
30
30
|
#
|
|
@@ -45,6 +45,10 @@ module Google
|
|
|
45
45
|
# @!attribute [rw] labels
|
|
46
46
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
47
47
|
# Optional. Labels as key value pairs.
|
|
48
|
+
# Keys and values can contain only lowercase letters, numeric characters,
|
|
49
|
+
# underscores, and dashes.
|
|
50
|
+
# For more information, see [Requirements for
|
|
51
|
+
# labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding).
|
|
48
52
|
# @!attribute [rw] private_config
|
|
49
53
|
# @return [::Google::Cloud::SecureSourceManager::V1::Instance::PrivateConfig]
|
|
50
54
|
# Optional. Private settings for private instance.
|
|
@@ -109,9 +113,34 @@ module Google
|
|
|
109
113
|
# Optional. Additional allowed projects for setting up PSC connections.
|
|
110
114
|
# Instance host project is automatically allowed and does not need to be
|
|
111
115
|
# included in this list.
|
|
116
|
+
# @!attribute [rw] custom_host_config
|
|
117
|
+
# @return [::Google::Cloud::SecureSourceManager::V1::Instance::PrivateConfig::CustomHostConfig]
|
|
118
|
+
# Optional. Custom host config for the instance.
|
|
112
119
|
class PrivateConfig
|
|
113
120
|
include ::Google::Protobuf::MessageExts
|
|
114
121
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
122
|
+
|
|
123
|
+
# Custom host config for the instance.
|
|
124
|
+
# @!attribute [rw] html
|
|
125
|
+
# @return [::String]
|
|
126
|
+
# Required. The custom UI hostname for the instance, e.g.,
|
|
127
|
+
# "git.source.internal.mycompany.com"
|
|
128
|
+
# @!attribute [rw] api
|
|
129
|
+
# @return [::String]
|
|
130
|
+
# Required. The custom API hostname for the instance, e.g.,
|
|
131
|
+
# "api.source.internal.mycompany.com"
|
|
132
|
+
# @!attribute [rw] git_ssh
|
|
133
|
+
# @return [::String]
|
|
134
|
+
# Required. The custom git ssh hostname for the instance, e.g.,
|
|
135
|
+
# "ssh.source.internal.mycompany.com"
|
|
136
|
+
# @!attribute [rw] git_http
|
|
137
|
+
# @return [::String]
|
|
138
|
+
# Required. The custom git http hostname for the instance, e.g.,
|
|
139
|
+
# "git.source.internal.mycompany.com"
|
|
140
|
+
class CustomHostConfig
|
|
141
|
+
include ::Google::Protobuf::MessageExts
|
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
143
|
+
end
|
|
115
144
|
end
|
|
116
145
|
|
|
117
146
|
# WorkforceIdentityFederationConfig allows this instance to support users
|
|
@@ -171,7 +200,7 @@ module Google
|
|
|
171
200
|
# Metadata of a Secure Source Manager repository.
|
|
172
201
|
# @!attribute [rw] name
|
|
173
202
|
# @return [::String]
|
|
174
|
-
#
|
|
203
|
+
# Identifier. A unique identifier for a repository. The name should be of the
|
|
175
204
|
# format:
|
|
176
205
|
# `projects/{project}/locations/{location_id}/repositories/{repository_id}`
|
|
177
206
|
# @!attribute [rw] description
|
|
@@ -432,7 +461,7 @@ module Google
|
|
|
432
461
|
# pre-defined rules on designated branches within a repository.
|
|
433
462
|
# @!attribute [rw] name
|
|
434
463
|
# @return [::String]
|
|
435
|
-
#
|
|
464
|
+
# Identifier. A unique identifier for a BranchRule. The name should be of the
|
|
436
465
|
# format:
|
|
437
466
|
# `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`
|
|
438
467
|
# @!attribute [r] uid
|
|
@@ -474,6 +503,10 @@ module Google
|
|
|
474
503
|
# @return [::Integer]
|
|
475
504
|
# Optional. The minimum number of approvals required for the branch rule to
|
|
476
505
|
# be matched.
|
|
506
|
+
# @!attribute [rw] require_code_owner_approval
|
|
507
|
+
# @return [::Boolean]
|
|
508
|
+
# Optional. Determines if code owners must approve before merging to the
|
|
509
|
+
# branch.
|
|
477
510
|
# @!attribute [rw] require_comments_resolved
|
|
478
511
|
# @return [::Boolean]
|
|
479
512
|
# Optional. Determines if require comments resolved before merging to the
|
|
@@ -516,8 +549,8 @@ module Google
|
|
|
516
549
|
# from a user to merge a branch (head) into another branch (base).
|
|
517
550
|
# @!attribute [r] name
|
|
518
551
|
# @return [::String]
|
|
519
|
-
# Output only. A unique identifier for a PullRequest. The number
|
|
520
|
-
# the end is generated by the server. Format:
|
|
552
|
+
# Output only. Identifier. A unique identifier for a PullRequest. The number
|
|
553
|
+
# appended at the end is generated by the server. Format:
|
|
521
554
|
# `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}`
|
|
522
555
|
# @!attribute [rw] title
|
|
523
556
|
# @return [::String]
|
|
@@ -793,17 +826,17 @@ module Google
|
|
|
793
826
|
# Required. Parent value for ListInstancesRequest.
|
|
794
827
|
# @!attribute [rw] page_size
|
|
795
828
|
# @return [::Integer]
|
|
796
|
-
# Requested page size. Server may return fewer items than
|
|
797
|
-
# If unspecified, server will pick an appropriate default.
|
|
829
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
830
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
798
831
|
# @!attribute [rw] page_token
|
|
799
832
|
# @return [::String]
|
|
800
|
-
# A token identifying a page of results the server should return.
|
|
833
|
+
# Optional. A token identifying a page of results the server should return.
|
|
801
834
|
# @!attribute [rw] filter
|
|
802
835
|
# @return [::String]
|
|
803
|
-
# Filter for filtering results.
|
|
836
|
+
# Optional. Filter for filtering results.
|
|
804
837
|
# @!attribute [rw] order_by
|
|
805
838
|
# @return [::String]
|
|
806
|
-
# Hint for how to order the results.
|
|
839
|
+
# Optional. Hint for how to order the results.
|
|
807
840
|
class ListInstancesRequest
|
|
808
841
|
include ::Google::Protobuf::MessageExts
|
|
809
842
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -881,6 +914,9 @@ module Google
|
|
|
881
914
|
#
|
|
882
915
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
883
916
|
# not supported (00000000-0000-0000-0000-000000000000).
|
|
917
|
+
# @!attribute [rw] force
|
|
918
|
+
# @return [::Boolean]
|
|
919
|
+
# Optional. If set to true, will force the deletion of the instance.
|
|
884
920
|
class DeleteInstanceRequest
|
|
885
921
|
include ::Google::Protobuf::MessageExts
|
|
886
922
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -923,11 +959,11 @@ module Google
|
|
|
923
959
|
# Required. Parent value for ListRepositoriesRequest.
|
|
924
960
|
# @!attribute [rw] page_size
|
|
925
961
|
# @return [::Integer]
|
|
926
|
-
# Optional. Requested page size.
|
|
927
|
-
#
|
|
962
|
+
# Optional. Requested page size. If unspecified, a default size of 30 will be
|
|
963
|
+
# used. The maximum value is 100; values above 100 will be coerced to 100.
|
|
928
964
|
# @!attribute [rw] page_token
|
|
929
965
|
# @return [::String]
|
|
930
|
-
# A token identifying a page of results the server should return.
|
|
966
|
+
# Optional. A token identifying a page of results the server should return.
|
|
931
967
|
# @!attribute [rw] filter
|
|
932
968
|
# @return [::String]
|
|
933
969
|
# Optional. Filter results.
|
|
@@ -1025,8 +1061,8 @@ module Google
|
|
|
1025
1061
|
# Required. Parent value for ListHooksRequest.
|
|
1026
1062
|
# @!attribute [rw] page_size
|
|
1027
1063
|
# @return [::Integer]
|
|
1028
|
-
# Optional. Requested page size.
|
|
1029
|
-
#
|
|
1064
|
+
# Optional. Requested page size. If unspecified, a default size of 30 will be
|
|
1065
|
+
# used. The maximum value is 100; values above 100 will be coerced to 100.
|
|
1030
1066
|
# @!attribute [rw] page_token
|
|
1031
1067
|
# @return [::String]
|
|
1032
1068
|
# Optional. A token identifying a page of results the server should return.
|
|
@@ -1081,7 +1117,7 @@ module Google
|
|
|
1081
1117
|
# UpdateHookRequest is the request to update a hook.
|
|
1082
1118
|
# @!attribute [rw] update_mask
|
|
1083
1119
|
# @return [::Google::Protobuf::FieldMask]
|
|
1084
|
-
#
|
|
1120
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
1085
1121
|
# hook resource by the update.
|
|
1086
1122
|
# The fields specified in the update_mask are relative to the resource, not
|
|
1087
1123
|
# the full request. A field will be overwritten if it is in the mask.
|
|
@@ -1133,8 +1169,11 @@ module Google
|
|
|
1133
1169
|
# @return [::String]
|
|
1134
1170
|
# @!attribute [rw] page_size
|
|
1135
1171
|
# @return [::Integer]
|
|
1172
|
+
# Optional. Requested page size. If unspecified, a default size of 30 will be
|
|
1173
|
+
# used. The maximum value is 100; values above 100 will be coerced to 100.
|
|
1136
1174
|
# @!attribute [rw] page_token
|
|
1137
1175
|
# @return [::String]
|
|
1176
|
+
# Optional. A token identifying a page of results the server should return.
|
|
1138
1177
|
class ListBranchRulesRequest
|
|
1139
1178
|
include ::Google::Protobuf::MessageExts
|
|
1140
1179
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1161,7 +1200,7 @@ module Google
|
|
|
1161
1200
|
# actually post it. (https://google.aip.dev/163, for declarative friendly)
|
|
1162
1201
|
# @!attribute [rw] update_mask
|
|
1163
1202
|
# @return [::Google::Protobuf::FieldMask]
|
|
1164
|
-
#
|
|
1203
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
1165
1204
|
# branchRule resource by the update.
|
|
1166
1205
|
# The fields specified in the update_mask are relative to the resource, not
|
|
1167
1206
|
# the full request. A field will be overwritten if it is in the mask.
|
|
@@ -1214,8 +1253,8 @@ module Google
|
|
|
1214
1253
|
# `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
|
|
1215
1254
|
# @!attribute [rw] page_size
|
|
1216
1255
|
# @return [::Integer]
|
|
1217
|
-
# Optional. Requested page size.
|
|
1218
|
-
#
|
|
1256
|
+
# Optional. Requested page size. If unspecified, a default size of 30 will be
|
|
1257
|
+
# used. The maximum value is 100; values above 100 will be coerced to 100.
|
|
1219
1258
|
# @!attribute [rw] page_token
|
|
1220
1259
|
# @return [::String]
|
|
1221
1260
|
# Optional. A token identifying a page of results the server should return.
|
|
@@ -1294,8 +1333,8 @@ module Google
|
|
|
1294
1333
|
# `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
|
|
1295
1334
|
# @!attribute [rw] page_size
|
|
1296
1335
|
# @return [::Integer]
|
|
1297
|
-
# Optional. Requested page size.
|
|
1298
|
-
#
|
|
1336
|
+
# Optional. Requested page size. If unspecified, a default size of 30 will be
|
|
1337
|
+
# used. The maximum value is 100; values above 100 will be coerced to 100.
|
|
1299
1338
|
# @!attribute [rw] page_token
|
|
1300
1339
|
# @return [::String]
|
|
1301
1340
|
# Optional. A token identifying a page of results the server should return.
|
|
@@ -1348,8 +1387,8 @@ module Google
|
|
|
1348
1387
|
# `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
|
|
1349
1388
|
# @!attribute [rw] page_size
|
|
1350
1389
|
# @return [::Integer]
|
|
1351
|
-
# Optional. Requested page size.
|
|
1352
|
-
#
|
|
1390
|
+
# Optional. Requested page size. If unspecified, a default size of 30 will be
|
|
1391
|
+
# used. The maximum value is 100; values above 100 will be coerced to 100.
|
|
1353
1392
|
# @!attribute [rw] page_token
|
|
1354
1393
|
# @return [::String]
|
|
1355
1394
|
# Optional. A token identifying a page of results the server should return.
|
|
@@ -1546,9 +1585,8 @@ module Google
|
|
|
1546
1585
|
# `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
|
|
1547
1586
|
# @!attribute [rw] page_size
|
|
1548
1587
|
# @return [::Integer]
|
|
1549
|
-
# Optional. Requested page size. If unspecified,
|
|
1550
|
-
#
|
|
1551
|
-
# be coerced to 100.
|
|
1588
|
+
# Optional. Requested page size. If unspecified, a default size of 30 will be
|
|
1589
|
+
# used. The maximum value is 100; values above 100 will be coerced to 100.
|
|
1552
1590
|
# @!attribute [rw] page_token
|
|
1553
1591
|
# @return [::String]
|
|
1554
1592
|
# Optional. A token identifying a page of results the server should return.
|
|
@@ -1738,8 +1776,8 @@ module Google
|
|
|
1738
1776
|
# `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`
|
|
1739
1777
|
# @!attribute [rw] page_size
|
|
1740
1778
|
# @return [::Integer]
|
|
1741
|
-
# Optional. Requested page size.
|
|
1742
|
-
#
|
|
1779
|
+
# Optional. Requested page size. If unspecified, a default size of 30 will be
|
|
1780
|
+
# used. The maximum value is 100; values above 100 will be coerced to 100.
|
|
1743
1781
|
# @!attribute [rw] page_token
|
|
1744
1782
|
# @return [::String]
|
|
1745
1783
|
# Optional. A token identifying a page of results the server should return.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-secure_source_manager-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -97,6 +97,7 @@ files:
|
|
|
97
97
|
- proto_docs/README.md
|
|
98
98
|
- proto_docs/google/api/client.rb
|
|
99
99
|
- proto_docs/google/api/field_behavior.rb
|
|
100
|
+
- proto_docs/google/api/field_info.rb
|
|
100
101
|
- proto_docs/google/api/launch_stage.rb
|
|
101
102
|
- proto_docs/google/api/resource.rb
|
|
102
103
|
- proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb
|
|
@@ -119,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
119
120
|
requirements:
|
|
120
121
|
- - ">="
|
|
121
122
|
- !ruby/object:Gem::Version
|
|
122
|
-
version: '3.
|
|
123
|
+
version: '3.2'
|
|
123
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
125
|
requirements:
|
|
125
126
|
- - ">="
|