google-cloud-secure_source_manager-v1 1.0.0 → 1.1.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/secure_source_manager/v1/secure_source_manager/client.rb +517 -1
- data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/paths.rb +21 -0
- data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/rest/client.rb +482 -1
- data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/rest/service_stub.rb +297 -0
- data/lib/google/cloud/secure_source_manager/v1/version.rb +1 -1
- data/lib/google/cloud/securesourcemanager/v1/secure_source_manager_pb.rb +11 -1
- data/lib/google/cloud/securesourcemanager/v1/secure_source_manager_services_pb.rb +10 -0
- data/proto_docs/google/api/client.rb +45 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb +180 -2
- metadata +3 -3
@@ -479,6 +479,196 @@ module Google
|
|
479
479
|
result
|
480
480
|
end
|
481
481
|
|
482
|
+
##
|
483
|
+
# Baseline implementation for the create_branch_rule REST call
|
484
|
+
#
|
485
|
+
# @param request_pb [::Google::Cloud::SecureSourceManager::V1::CreateBranchRuleRequest]
|
486
|
+
# A request object representing the call parameters. Required.
|
487
|
+
# @param options [::Gapic::CallOptions]
|
488
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
489
|
+
#
|
490
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
491
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
492
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
493
|
+
#
|
494
|
+
# @return [::Google::Longrunning::Operation]
|
495
|
+
# A result object deserialized from the server's reply
|
496
|
+
def create_branch_rule request_pb, options = nil
|
497
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
498
|
+
|
499
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_branch_rule_request request_pb
|
500
|
+
query_string_params = if query_string_params.any?
|
501
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
502
|
+
else
|
503
|
+
{}
|
504
|
+
end
|
505
|
+
|
506
|
+
response = @client_stub.make_http_request(
|
507
|
+
verb,
|
508
|
+
uri: uri,
|
509
|
+
body: body || "",
|
510
|
+
params: query_string_params,
|
511
|
+
options: options
|
512
|
+
)
|
513
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
514
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
515
|
+
|
516
|
+
yield result, operation if block_given?
|
517
|
+
result
|
518
|
+
end
|
519
|
+
|
520
|
+
##
|
521
|
+
# Baseline implementation for the list_branch_rules REST call
|
522
|
+
#
|
523
|
+
# @param request_pb [::Google::Cloud::SecureSourceManager::V1::ListBranchRulesRequest]
|
524
|
+
# A request object representing the call parameters. Required.
|
525
|
+
# @param options [::Gapic::CallOptions]
|
526
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
527
|
+
#
|
528
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
529
|
+
# @yieldparam result [::Google::Cloud::SecureSourceManager::V1::ListBranchRulesResponse]
|
530
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
531
|
+
#
|
532
|
+
# @return [::Google::Cloud::SecureSourceManager::V1::ListBranchRulesResponse]
|
533
|
+
# A result object deserialized from the server's reply
|
534
|
+
def list_branch_rules request_pb, options = nil
|
535
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
536
|
+
|
537
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_branch_rules_request request_pb
|
538
|
+
query_string_params = if query_string_params.any?
|
539
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
540
|
+
else
|
541
|
+
{}
|
542
|
+
end
|
543
|
+
|
544
|
+
response = @client_stub.make_http_request(
|
545
|
+
verb,
|
546
|
+
uri: uri,
|
547
|
+
body: body || "",
|
548
|
+
params: query_string_params,
|
549
|
+
options: options
|
550
|
+
)
|
551
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
552
|
+
result = ::Google::Cloud::SecureSourceManager::V1::ListBranchRulesResponse.decode_json response.body, ignore_unknown_fields: true
|
553
|
+
|
554
|
+
yield result, operation if block_given?
|
555
|
+
result
|
556
|
+
end
|
557
|
+
|
558
|
+
##
|
559
|
+
# Baseline implementation for the get_branch_rule REST call
|
560
|
+
#
|
561
|
+
# @param request_pb [::Google::Cloud::SecureSourceManager::V1::GetBranchRuleRequest]
|
562
|
+
# A request object representing the call parameters. Required.
|
563
|
+
# @param options [::Gapic::CallOptions]
|
564
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
565
|
+
#
|
566
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
567
|
+
# @yieldparam result [::Google::Cloud::SecureSourceManager::V1::BranchRule]
|
568
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
569
|
+
#
|
570
|
+
# @return [::Google::Cloud::SecureSourceManager::V1::BranchRule]
|
571
|
+
# A result object deserialized from the server's reply
|
572
|
+
def get_branch_rule request_pb, options = nil
|
573
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
574
|
+
|
575
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_branch_rule_request request_pb
|
576
|
+
query_string_params = if query_string_params.any?
|
577
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
578
|
+
else
|
579
|
+
{}
|
580
|
+
end
|
581
|
+
|
582
|
+
response = @client_stub.make_http_request(
|
583
|
+
verb,
|
584
|
+
uri: uri,
|
585
|
+
body: body || "",
|
586
|
+
params: query_string_params,
|
587
|
+
options: options
|
588
|
+
)
|
589
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
590
|
+
result = ::Google::Cloud::SecureSourceManager::V1::BranchRule.decode_json response.body, ignore_unknown_fields: true
|
591
|
+
|
592
|
+
yield result, operation if block_given?
|
593
|
+
result
|
594
|
+
end
|
595
|
+
|
596
|
+
##
|
597
|
+
# Baseline implementation for the update_branch_rule REST call
|
598
|
+
#
|
599
|
+
# @param request_pb [::Google::Cloud::SecureSourceManager::V1::UpdateBranchRuleRequest]
|
600
|
+
# A request object representing the call parameters. Required.
|
601
|
+
# @param options [::Gapic::CallOptions]
|
602
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
603
|
+
#
|
604
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
605
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
606
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
607
|
+
#
|
608
|
+
# @return [::Google::Longrunning::Operation]
|
609
|
+
# A result object deserialized from the server's reply
|
610
|
+
def update_branch_rule request_pb, options = nil
|
611
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
612
|
+
|
613
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_branch_rule_request request_pb
|
614
|
+
query_string_params = if query_string_params.any?
|
615
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
616
|
+
else
|
617
|
+
{}
|
618
|
+
end
|
619
|
+
|
620
|
+
response = @client_stub.make_http_request(
|
621
|
+
verb,
|
622
|
+
uri: uri,
|
623
|
+
body: body || "",
|
624
|
+
params: query_string_params,
|
625
|
+
options: options
|
626
|
+
)
|
627
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
628
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
629
|
+
|
630
|
+
yield result, operation if block_given?
|
631
|
+
result
|
632
|
+
end
|
633
|
+
|
634
|
+
##
|
635
|
+
# Baseline implementation for the delete_branch_rule REST call
|
636
|
+
#
|
637
|
+
# @param request_pb [::Google::Cloud::SecureSourceManager::V1::DeleteBranchRuleRequest]
|
638
|
+
# A request object representing the call parameters. Required.
|
639
|
+
# @param options [::Gapic::CallOptions]
|
640
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
641
|
+
#
|
642
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
643
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
644
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
645
|
+
#
|
646
|
+
# @return [::Google::Longrunning::Operation]
|
647
|
+
# A result object deserialized from the server's reply
|
648
|
+
def delete_branch_rule request_pb, options = nil
|
649
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
650
|
+
|
651
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_branch_rule_request request_pb
|
652
|
+
query_string_params = if query_string_params.any?
|
653
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
654
|
+
else
|
655
|
+
{}
|
656
|
+
end
|
657
|
+
|
658
|
+
response = @client_stub.make_http_request(
|
659
|
+
verb,
|
660
|
+
uri: uri,
|
661
|
+
body: body || "",
|
662
|
+
params: query_string_params,
|
663
|
+
options: options
|
664
|
+
)
|
665
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
666
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
667
|
+
|
668
|
+
yield result, operation if block_given?
|
669
|
+
result
|
670
|
+
end
|
671
|
+
|
482
672
|
##
|
483
673
|
# @private
|
484
674
|
#
|
@@ -713,6 +903,113 @@ module Google
|
|
713
903
|
)
|
714
904
|
transcoder.transcode request_pb
|
715
905
|
end
|
906
|
+
|
907
|
+
##
|
908
|
+
# @private
|
909
|
+
#
|
910
|
+
# GRPC transcoding helper method for the create_branch_rule REST call
|
911
|
+
#
|
912
|
+
# @param request_pb [::Google::Cloud::SecureSourceManager::V1::CreateBranchRuleRequest]
|
913
|
+
# A request object representing the call parameters. Required.
|
914
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
915
|
+
# Uri, Body, Query string parameters
|
916
|
+
def self.transcode_create_branch_rule_request request_pb
|
917
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
918
|
+
.with_bindings(
|
919
|
+
uri_method: :post,
|
920
|
+
uri_template: "/v1/{parent}/branchRules",
|
921
|
+
body: "branch_rule",
|
922
|
+
matches: [
|
923
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
|
924
|
+
]
|
925
|
+
)
|
926
|
+
transcoder.transcode request_pb
|
927
|
+
end
|
928
|
+
|
929
|
+
##
|
930
|
+
# @private
|
931
|
+
#
|
932
|
+
# GRPC transcoding helper method for the list_branch_rules REST call
|
933
|
+
#
|
934
|
+
# @param request_pb [::Google::Cloud::SecureSourceManager::V1::ListBranchRulesRequest]
|
935
|
+
# A request object representing the call parameters. Required.
|
936
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
937
|
+
# Uri, Body, Query string parameters
|
938
|
+
def self.transcode_list_branch_rules_request request_pb
|
939
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
940
|
+
.with_bindings(
|
941
|
+
uri_method: :get,
|
942
|
+
uri_template: "/v1/{parent}/branchRules",
|
943
|
+
matches: [
|
944
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
|
945
|
+
]
|
946
|
+
)
|
947
|
+
transcoder.transcode request_pb
|
948
|
+
end
|
949
|
+
|
950
|
+
##
|
951
|
+
# @private
|
952
|
+
#
|
953
|
+
# GRPC transcoding helper method for the get_branch_rule REST call
|
954
|
+
#
|
955
|
+
# @param request_pb [::Google::Cloud::SecureSourceManager::V1::GetBranchRuleRequest]
|
956
|
+
# A request object representing the call parameters. Required.
|
957
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
958
|
+
# Uri, Body, Query string parameters
|
959
|
+
def self.transcode_get_branch_rule_request request_pb
|
960
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
961
|
+
.with_bindings(
|
962
|
+
uri_method: :get,
|
963
|
+
uri_template: "/v1/{name}",
|
964
|
+
matches: [
|
965
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/branchRules/[^/]+/?$}, false]
|
966
|
+
]
|
967
|
+
)
|
968
|
+
transcoder.transcode request_pb
|
969
|
+
end
|
970
|
+
|
971
|
+
##
|
972
|
+
# @private
|
973
|
+
#
|
974
|
+
# GRPC transcoding helper method for the update_branch_rule REST call
|
975
|
+
#
|
976
|
+
# @param request_pb [::Google::Cloud::SecureSourceManager::V1::UpdateBranchRuleRequest]
|
977
|
+
# A request object representing the call parameters. Required.
|
978
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
979
|
+
# Uri, Body, Query string parameters
|
980
|
+
def self.transcode_update_branch_rule_request request_pb
|
981
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
982
|
+
.with_bindings(
|
983
|
+
uri_method: :patch,
|
984
|
+
uri_template: "/v1/{branch_rule.name}",
|
985
|
+
body: "branch_rule",
|
986
|
+
matches: [
|
987
|
+
["branch_rule.name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/branchRules/[^/]+/?$}, false]
|
988
|
+
]
|
989
|
+
)
|
990
|
+
transcoder.transcode request_pb
|
991
|
+
end
|
992
|
+
|
993
|
+
##
|
994
|
+
# @private
|
995
|
+
#
|
996
|
+
# GRPC transcoding helper method for the delete_branch_rule REST call
|
997
|
+
#
|
998
|
+
# @param request_pb [::Google::Cloud::SecureSourceManager::V1::DeleteBranchRuleRequest]
|
999
|
+
# A request object representing the call parameters. Required.
|
1000
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1001
|
+
# Uri, Body, Query string parameters
|
1002
|
+
def self.transcode_delete_branch_rule_request request_pb
|
1003
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1004
|
+
.with_bindings(
|
1005
|
+
uri_method: :delete,
|
1006
|
+
uri_template: "/v1/{name}",
|
1007
|
+
matches: [
|
1008
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/branchRules/[^/]+/?$}, false]
|
1009
|
+
]
|
1010
|
+
)
|
1011
|
+
transcoder.transcode request_pb
|
1012
|
+
end
|
716
1013
|
end
|
717
1014
|
end
|
718
1015
|
end
|
@@ -12,10 +12,11 @@ require 'google/iam/v1/iam_policy_pb'
|
|
12
12
|
require 'google/iam/v1/policy_pb'
|
13
13
|
require 'google/longrunning/operations_pb'
|
14
14
|
require 'google/protobuf/empty_pb'
|
15
|
+
require 'google/protobuf/field_mask_pb'
|
15
16
|
require 'google/protobuf/timestamp_pb'
|
16
17
|
|
17
18
|
|
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
|
+
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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd5\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\xb0\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\x12!\n\x14psc_allowed_projects\x18\x06 \x03(\tB\x03\xe0\x41\x01\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\"\xd0\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\x45\n\x08instance\x18\x03 \x01(\tB3\xe0\x41\x01\xfa\x41-\n+securesourcemanager.googleapis.com/Instance\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}\"\xdf\x06\n\nBranchRule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Z\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32@.google.cloud.securesourcemanager.v1.BranchRule.AnnotationsEntryB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0finclude_pattern\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x64isabled\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14require_pull_request\x18\t \x01(\x08\x42\x03\xe0\x41\x01\x12\"\n\x15minimum_reviews_count\x18\n \x01(\x05\x42\x03\xe0\x41\x01\x12$\n\x17minimum_approvals_count\x18\x0b \x01(\x05\x42\x03\xe0\x41\x01\x12&\n\x19require_comments_resolved\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12 \n\x13\x61llow_stale_reviews\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12#\n\x16require_linear_history\x18\r \x01(\x08\x42\x03\xe0\x41\x01\x12Z\n\x16required_status_checks\x18\x0e \x03(\x0b\x32\x35.google.cloud.securesourcemanager.v1.BranchRule.CheckB\x03\xe0\x41\x01\x1a\x1d\n\x05\x43heck\x12\x14\n\x07\x63ontext\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x90\x01\xea\x41\x8c\x01\n-securesourcemanager.googleapis.com/BranchRule\x12[projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}\"\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\"\xe8\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\x12\x45\n\x08instance\x18\x05 \x01(\tB3\xe0\x41\x01\xfa\x41-\n+securesourcemanager.googleapis.com/Instance\"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\"[\n\x14GetBranchRuleRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-securesourcemanager.googleapis.com/BranchRule\"\xc8\x01\n\x17\x43reateBranchRuleRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-securesourcemanager.googleapis.com/BranchRule\x12I\n\x0b\x62ranch_rule\x18\x02 \x01(\x0b\x32/.google.cloud.securesourcemanager.v1.BranchRuleB\x03\xe0\x41\x02\x12\x1b\n\x0e\x62ranch_rule_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x90\x01\n\x16ListBranchRulesRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-securesourcemanager.googleapis.com/BranchRule\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"z\n\x17\x44\x65leteBranchRuleRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-securesourcemanager.googleapis.com/BranchRule\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xb6\x01\n\x17UpdateBranchRuleRequest\x12I\n\x0b\x62ranch_rule\x18\x01 \x01(\x0b\x32/.google.cloud.securesourcemanager.v1.BranchRuleB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"y\n\x17ListBranchRulesResponse\x12\x45\n\x0c\x62ranch_rules\x18\x01 \x03(\x0b\x32/.google.cloud.securesourcemanager.v1.BranchRule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xfa\x1b\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*\x12\x8b\x02\n\x10\x43reateBranchRule\x12<.google.cloud.securesourcemanager.v1.CreateBranchRuleRequest\x1a\x1d.google.longrunning.Operation\"\x99\x01\xca\x41\x1f\n\nBranchRule\x12\x11OperationMetadata\xda\x41!parent,branch_rule,branch_rule_id\x82\xd3\xe4\x93\x02M\">/v1/{parent=projects/*/locations/*/repositories/*}/branchRules:\x0b\x62ranch_rule\x12\xdd\x01\n\x0fListBranchRules\x12;.google.cloud.securesourcemanager.v1.ListBranchRulesRequest\x1a<.google.cloud.securesourcemanager.v1.ListBranchRulesResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/repositories/*}/branchRules\x12\xca\x01\n\rGetBranchRule\x12\x39.google.cloud.securesourcemanager.v1.GetBranchRuleRequest\x1a/.google.cloud.securesourcemanager.v1.BranchRule\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/repositories/*/branchRules/*}\x12\x8d\x02\n\x10UpdateBranchRule\x12<.google.cloud.securesourcemanager.v1.UpdateBranchRuleRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41\x1f\n\nBranchRule\x12\x11OperationMetadata\xda\x41\x17\x62ranch_rule,update_mask\x82\xd3\xe4\x93\x02Y2J/v1/{branch_rule.name=projects/*/locations/*/repositories/*/branchRules/*}:\x0b\x62ranch_rule\x12\xeb\x01\n\x10\x44\x65leteBranchRule\x12<.google.cloud.securesourcemanager.v1.DeleteBranchRuleRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/repositories/*/branchRules/*}\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
20
|
|
20
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
22
|
|
@@ -31,6 +32,7 @@ rescue TypeError
|
|
31
32
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
33
|
imports = [
|
33
34
|
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
35
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
34
36
|
]
|
35
37
|
imports.each do |type_name, expected_filename|
|
36
38
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -54,6 +56,8 @@ module Google
|
|
54
56
|
Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.Repository").msgclass
|
55
57
|
Repository::URIs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.Repository.URIs").msgclass
|
56
58
|
Repository::InitialConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.Repository.InitialConfig").msgclass
|
59
|
+
BranchRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.BranchRule").msgclass
|
60
|
+
BranchRule::Check = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.BranchRule.Check").msgclass
|
57
61
|
ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.ListInstancesRequest").msgclass
|
58
62
|
ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.ListInstancesResponse").msgclass
|
59
63
|
GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.GetInstanceRequest").msgclass
|
@@ -65,6 +69,12 @@ module Google
|
|
65
69
|
GetRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.GetRepositoryRequest").msgclass
|
66
70
|
CreateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.CreateRepositoryRequest").msgclass
|
67
71
|
DeleteRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.DeleteRepositoryRequest").msgclass
|
72
|
+
GetBranchRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.GetBranchRuleRequest").msgclass
|
73
|
+
CreateBranchRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.CreateBranchRuleRequest").msgclass
|
74
|
+
ListBranchRulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.ListBranchRulesRequest").msgclass
|
75
|
+
DeleteBranchRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.DeleteBranchRuleRequest").msgclass
|
76
|
+
UpdateBranchRuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.UpdateBranchRuleRequest").msgclass
|
77
|
+
ListBranchRulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securesourcemanager.v1.ListBranchRulesResponse").msgclass
|
68
78
|
end
|
69
79
|
end
|
70
80
|
end
|
@@ -83,6 +83,16 @@ module Google
|
|
83
83
|
# Test IAM permissions on a repository.
|
84
84
|
# IAM permission checks are not required on this method.
|
85
85
|
rpc :TestIamPermissionsRepo, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
|
86
|
+
# CreateBranchRule creates a branch rule in a given repository.
|
87
|
+
rpc :CreateBranchRule, ::Google::Cloud::SecureSourceManager::V1::CreateBranchRuleRequest, ::Google::Longrunning::Operation
|
88
|
+
# ListBranchRules lists branch rules in a given repository.
|
89
|
+
rpc :ListBranchRules, ::Google::Cloud::SecureSourceManager::V1::ListBranchRulesRequest, ::Google::Cloud::SecureSourceManager::V1::ListBranchRulesResponse
|
90
|
+
# GetBranchRule gets a branch rule.
|
91
|
+
rpc :GetBranchRule, ::Google::Cloud::SecureSourceManager::V1::GetBranchRuleRequest, ::Google::Cloud::SecureSourceManager::V1::BranchRule
|
92
|
+
# UpdateBranchRule updates a branch rule.
|
93
|
+
rpc :UpdateBranchRule, ::Google::Cloud::SecureSourceManager::V1::UpdateBranchRuleRequest, ::Google::Longrunning::Operation
|
94
|
+
# DeleteBranchRule deletes a branch rule.
|
95
|
+
rpc :DeleteBranchRule, ::Google::Cloud::SecureSourceManager::V1::DeleteBranchRuleRequest, ::Google::Longrunning::Operation
|
86
96
|
end
|
87
97
|
|
88
98
|
Stub = Service.rpc_stub_class
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -196,9 +199,26 @@ module Google
|
|
196
199
|
# @!attribute [rw] common
|
197
200
|
# @return [::Google::Api::CommonLanguageSettings]
|
198
201
|
# Some settings.
|
202
|
+
# @!attribute [rw] experimental_features
|
203
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
204
|
+
# Experimental features to be included during client library generation.
|
199
205
|
class PythonSettings
|
200
206
|
include ::Google::Protobuf::MessageExts
|
201
207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
|
209
|
+
# Experimental features to be included during client library generation.
|
210
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
211
|
+
# by default.
|
212
|
+
# @!attribute [rw] rest_async_io_enabled
|
213
|
+
# @return [::Boolean]
|
214
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
215
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
216
|
+
# This feature will be enabled by default 1 month after launching the
|
217
|
+
# feature in preview packages.
|
218
|
+
class ExperimentalFeatures
|
219
|
+
include ::Google::Protobuf::MessageExts
|
220
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
221
|
+
end
|
202
222
|
end
|
203
223
|
|
204
224
|
# Settings for Node client libraries.
|
@@ -290,6 +310,13 @@ module Google
|
|
290
310
|
# @return [::String]
|
291
311
|
# The fully qualified name of the method, for which the options below apply.
|
292
312
|
# This is used to find the method to apply the options.
|
313
|
+
#
|
314
|
+
# Example:
|
315
|
+
#
|
316
|
+
# publishing:
|
317
|
+
# method_settings:
|
318
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
319
|
+
# # method settings for CreateFolder...
|
293
320
|
# @!attribute [rw] long_running
|
294
321
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
295
322
|
# Describes settings to use for long-running operations when generating
|
@@ -298,17 +325,14 @@ module Google
|
|
298
325
|
#
|
299
326
|
# Example of a YAML configuration::
|
300
327
|
#
|
301
|
-
#
|
302
|
-
#
|
328
|
+
# publishing:
|
329
|
+
# method_settings:
|
303
330
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
304
331
|
# long_running:
|
305
|
-
# initial_poll_delay:
|
306
|
-
# seconds: 60 # 1 minute
|
332
|
+
# initial_poll_delay: 60s # 1 minute
|
307
333
|
# poll_delay_multiplier: 1.5
|
308
|
-
# max_poll_delay:
|
309
|
-
#
|
310
|
-
# total_poll_timeout:
|
311
|
-
# seconds: 54000 # 90 minutes
|
334
|
+
# max_poll_delay: 360s # 6 minutes
|
335
|
+
# total_poll_timeout: 54000s # 90 minutes
|
312
336
|
# @!attribute [rw] auto_populated_fields
|
313
337
|
# @return [::Array<::String>]
|
314
338
|
# List of top-level fields of the request message, that should be
|
@@ -317,8 +341,8 @@ module Google
|
|
317
341
|
#
|
318
342
|
# Example of a YAML configuration:
|
319
343
|
#
|
320
|
-
#
|
321
|
-
#
|
344
|
+
# publishing:
|
345
|
+
# method_settings:
|
322
346
|
# - selector: google.example.v1.ExampleService.CreateExample
|
323
347
|
# auto_populated_fields:
|
324
348
|
# - request_id
|
@@ -354,6 +378,17 @@ module Google
|
|
354
378
|
end
|
355
379
|
end
|
356
380
|
|
381
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
382
|
+
# a service for client libraries.
|
383
|
+
# @!attribute [rw] methods
|
384
|
+
# @return [::Array<::String>]
|
385
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
386
|
+
# on public client surfaces.
|
387
|
+
class SelectiveGapicGeneration
|
388
|
+
include ::Google::Protobuf::MessageExts
|
389
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
390
|
+
end
|
391
|
+
|
357
392
|
# The organization for which the client libraries are being published.
|
358
393
|
# Affects the url where generated docs are published, etc.
|
359
394
|
module ClientLibraryOrganization
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|