diff --git a/SecureSourceManager/metadata/V1/SecureSourceManager.php b/SecureSourceManager/metadata/V1/SecureSourceManager.php index 2a184b448d33..54a81fb3bfcc 100644 --- a/SecureSourceManager/metadata/V1/SecureSourceManager.php +++ b/SecureSourceManager/metadata/V1/SecureSourceManager.php @@ -17,6 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Annotations::initOnce(); \GPBMetadata\Google\Api\Client::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\FieldInfo::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Iam\V1\IamPolicy::initOnce(); \GPBMetadata\Google\Iam\V1\Policy::initOnce(); @@ -25,7 +26,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xEF\xE9\x01\x0A?google/cloud/securesourcemanager/v1/secure_source_manager.proto\x12#google.cloud.securesourcemanager.v1\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\"\x98\x0C\x0A\x08Instance\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x01\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12N\x0A\x06labels\x18\x04 \x03(\x0B29.google.cloud.securesourcemanager.v1.Instance.LabelsEntryB\x03\xE0A\x01\x12X\x0A\x0Eprivate_config\x18\x0D \x01(\x0B2;.google.cloud.securesourcemanager.v1.Instance.PrivateConfigB\x03\xE0A\x01\x12G\x0A\x05state\x18\x05 \x01(\x0E23.google.cloud.securesourcemanager.v1.Instance.StateB\x03\xE0A\x03\x12P\x0A\x0Astate_note\x18\x0A \x01(\x0E27.google.cloud.securesourcemanager.v1.Instance.StateNoteB\x03\xE0A\x03\x12:\x0A\x07kms_key\x18\x0B \x01(\x09B)\xE0A\x05\xFAA#\x0A!cloudkms.googleapis.com/CryptoKey\x12R\x0A\x0Bhost_config\x18\x09 \x01(\x0B28.google.cloud.securesourcemanager.v1.Instance.HostConfigB\x03\xE0A\x03\x12\x82\x01\x0A\$workforce_identity_federation_config\x18\x0E \x01(\x0B2O.google.cloud.securesourcemanager.v1.Instance.WorkforceIdentityFederationConfigB\x03\xE0A\x01\x1A^\x0A\x0AHostConfig\x12\x11\x0A\x04html\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x10\x0A\x03api\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x15\x0A\x08git_http\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07git_ssh\x18\x04 \x01(\x09B\x03\xE0A\x03\x1A\xB0\x02\x0A\x0DPrivateConfig\x12\x1A\x0A\x0Ais_private\x18\x01 \x01(\x08B\x06\xE0A\x05\xE0A\x02\x12;\x0A\x07ca_pool\x18\x02 \x01(\x09B*\xE0A\x05\xE0A\x01\xFAA!\x0A\x1Fprivateca.googleapis.com/CaPool\x12Q\x0A\x17http_service_attachment\x18\x03 \x01(\x09B0\xE0A\x03\xFAA*\x0A(compute.googleapis.com/ServiceAttachment\x12P\x0A\x16ssh_service_attachment\x18\x04 \x01(\x09B0\xE0A\x03\xFAA*\x0A(compute.googleapis.com/ServiceAttachment\x12!\x0A\x14psc_allowed_projects\x18\x06 \x03(\x09B\x03\xE0A\x01\x1A<\x0A!WorkforceIdentityFederationConfig\x12\x17\x0A\x07enabled\x18\x01 \x01(\x08B\x06\xE0A\x05\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"_\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08CREATING\x10\x01\x12\x0A\x0A\x06ACTIVE\x10\x02\x12\x0C\x0A\x08DELETING\x10\x03\x12\x0A\x0A\x06PAUSED\x10\x04\x12\x0B\x0A\x07UNKNOWN\x10\x06\"_\x0A\x09StateNote\x12\x1A\x0A\x16STATE_NOTE_UNSPECIFIED\x10\x00\x12\x1B\x0A\x17PAUSED_CMEK_UNAVAILABLE\x10\x01\x12\x19\x0A\x11INSTANCE_RESUMING\x10\x02\x1A\x02\x08\x01:q\xEAAn\x0A+securesourcemanager.googleapis.com/Instance\x12.google.cloud.securesourcemanager.v1.PullRequestComment.ReviewB\x03\xE0A\x01H\x00\x12W\x0A\x07comment\x18\x05 \x01(\x0B2?.google.cloud.securesourcemanager.v1.PullRequestComment.CommentB\x03\xE0A\x01H\x00\x12Q\x0A\x04code\x18\x06 \x01(\x0B2<.google.cloud.securesourcemanager.v1.PullRequestComment.CodeB\x03\xE0A\x01H\x00\x1A\xFF\x01\x0A\x06Review\x12c\x0A\x0Baction_type\x18\x01 \x01(\x0E2I.google.cloud.securesourcemanager.v1.PullRequestComment.Review.ActionTypeB\x03\xE0A\x02\x12\x11\x0A\x04body\x18\x02 \x01(\x09B\x03\xE0A\x01\x12!\x0A\x14effective_commit_sha\x18\x04 \x01(\x09B\x03\xE0A\x03\"Z\x0A\x0AActionType\x12\x1B\x0A\x17ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07COMMENT\x10\x01\x12\x14\x0A\x10CHANGE_REQUESTED\x10\x02\x12\x0C\x0A\x08APPROVED\x10\x03\x1A\x1C\x0A\x07Comment\x12\x11\x0A\x04body\x18\x01 \x01(\x09B\x03\xE0A\x02\x1A\xE8\x01\x0A\x04Code\x12\x11\x0A\x04body\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x05reply\x18\x02 \x01(\x09B\x06\xE0A\x01\xE0A\x04\x12W\x0A\x08position\x18\x03 \x01(\x0B2@.google.cloud.securesourcemanager.v1.PullRequestComment.PositionB\x03\xE0A\x01\x12#\x0A\x16effective_root_comment\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x15\x0A\x08resolved\x18\x05 \x01(\x08B\x03\xE0A\x03\x12!\x0A\x14effective_commit_sha\x18\x07 \x01(\x09B\x03\xE0A\x03\x1A0\x0A\x08Position\x12\x11\x0A\x04path\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x04line\x18\x02 \x01(\x03B\x03\xE0A\x02:\xB8\x01\xEAA\xB4\x01\x0A5securesourcemanager.googleapis.com/PullRequestComment\x12{projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment}B\x10\x0A\x0Ecomment_detail\"\xA4\x01\x0A\x14ListInstancesRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+securesourcemanager.googleapis.com/Instance\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x0E\x0A\x06filter\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\"\x87\x01\x0A\x15ListInstancesResponse\x12@\x0A\x09instances\x18\x01 \x03(\x0B2-.google.cloud.securesourcemanager.v1.Instance\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"W\x0A\x12GetInstanceRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+securesourcemanager.googleapis.com/Instance\"\xD5\x01\x0A\x15CreateInstanceRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+securesourcemanager.googleapis.com/Instance\x12\x18\x0A\x0Binstance_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12D\x0A\x08instance\x18\x03 \x01(\x0B2-.google.cloud.securesourcemanager.v1.InstanceB\x03\xE0A\x02\x12\x17\x0A\x0Arequest_id\x18\x04 \x01(\x09B\x03\xE0A\x01\"s\x0A\x15DeleteInstanceRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+securesourcemanager.googleapis.com/Instance\x12\x17\x0A\x0Arequest_id\x18\x02 \x01(\x09B\x03\xE0A\x01\"\x80\x02\x0A\x11OperationMetadata\x124\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06target\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04verb\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x1B\x0A\x0Estatus_message\x18\x05 \x01(\x09B\x03\xE0A\x03\x12#\x0A\x16requested_cancellation\x18\x06 \x01(\x08B\x03\xE0A\x03\x12\x18\x0A\x0Bapi_version\x18\x07 \x01(\x09B\x03\xE0A\x03\"\xE8\x01\x0A\x17ListRepositoriesRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-securesourcemanager.googleapis.com/Repository\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12E\x0A\x08instance\x18\x05 \x01(\x09B3\xE0A\x01\xFAA-\x0A+securesourcemanager.googleapis.com/Instance\"z\x0A\x18ListRepositoriesResponse\x12E\x0A\x0Crepositories\x18\x01 \x03(\x0B2/.google.cloud.securesourcemanager.v1.Repository\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"[\x0A\x14GetRepositoryRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\"\xC6\x01\x0A\x17CreateRepositoryRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-securesourcemanager.googleapis.com/Repository\x12H\x0A\x0Arepository\x18\x02 \x01(\x0B2/.google.cloud.securesourcemanager.v1.RepositoryB\x03\xE0A\x02\x12\x1A\x0A\x0Drepository_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\xB5\x01\x0A\x17UpdateRepositoryRequest\x124\x0A\x0Bupdate_mask\x18\x01 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12H\x0A\x0Arepository\x18\x02 \x01(\x0B2/.google.cloud.securesourcemanager.v1.RepositoryB\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x03 \x01(\x08B\x03\xE0A\x01\"z\x0A\x17DeleteRepositoryRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12\x1A\x0A\x0Dallow_missing\x18\x02 \x01(\x08B\x03\xE0A\x01\"\x84\x01\x0A\x10ListHooksRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x12'securesourcemanager.googleapis.com/Hook\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"f\x0A\x11ListHooksResponse\x128\x0A\x05hooks\x18\x01 \x03(\x0B2).google.cloud.securesourcemanager.v1.Hook\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"O\x0A\x0EGetHookRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'securesourcemanager.googleapis.com/Hook\"\xAE\x01\x0A\x11CreateHookRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12<\x0A\x04hook\x18\x02 \x01(\x0B2).google.cloud.securesourcemanager.v1.HookB\x03\xE0A\x02\x12\x14\x0A\x07hook_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\x87\x01\x0A\x11UpdateHookRequest\x124\x0A\x0Bupdate_mask\x18\x01 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\x12<\x0A\x04hook\x18\x02 \x01(\x0B2).google.cloud.securesourcemanager.v1.HookB\x03\xE0A\x02\"R\x0A\x11DeleteHookRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'securesourcemanager.googleapis.com/Hook\"[\x0A\x14GetBranchRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/BranchRule\"\xC8\x01\x0A\x17CreateBranchRuleRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-securesourcemanager.googleapis.com/BranchRule\x12I\x0A\x0Bbranch_rule\x18\x02 \x01(\x0B2/.google.cloud.securesourcemanager.v1.BranchRuleB\x03\xE0A\x02\x12\x1B\x0A\x0Ebranch_rule_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\x90\x01\x0A\x16ListBranchRulesRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-securesourcemanager.googleapis.com/BranchRule\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"z\x0A\x17DeleteBranchRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/BranchRule\x12\x1A\x0A\x0Dallow_missing\x18\x02 \x01(\x08B\x03\xE0A\x01\"\xB6\x01\x0A\x17UpdateBranchRuleRequest\x12I\x0A\x0Bbranch_rule\x18\x01 \x01(\x0B2/.google.cloud.securesourcemanager.v1.BranchRuleB\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x02 \x01(\x08B\x03\xE0A\x01\x124\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"y\x0A\x17ListBranchRulesResponse\x12E\x0A\x0Cbranch_rules\x18\x01 \x03(\x0B2/.google.cloud.securesourcemanager.v1.BranchRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAE\x01\x0A\x18CreatePullRequestRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12K\x0A\x0Cpull_request\x18\x02 \x01(\x0B20.google.cloud.securesourcemanager.v1.PullRequestB\x03\xE0A\x02\"]\x0A\x15GetPullRequestRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.securesourcemanager.googleapis.com/PullRequest\"\x91\x01\x0A\x17ListPullRequestsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"|\x0A\x18ListPullRequestsResponse\x12G\x0A\x0Dpull_requests\x18\x01 \x03(\x0B20.google.cloud.securesourcemanager.v1.PullRequest\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9D\x01\x0A\x18UpdatePullRequestRequest\x12K\x0A\x0Cpull_request\x18\x01 \x01(\x0B20.google.cloud.securesourcemanager.v1.PullRequestB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"_\x0A\x17MergePullRequestRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.securesourcemanager.googleapis.com/PullRequest\"^\x0A\x16OpenPullRequestRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.securesourcemanager.googleapis.com/PullRequest\"_\x0A\x17ClosePullRequestRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.securesourcemanager.googleapis.com/PullRequest\"\x98\x01\x0A\x1FListPullRequestFileDiffsRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.securesourcemanager.googleapis.com/PullRequest\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"~\x0A ListPullRequestFileDiffsResponse\x12A\x0A\x0Afile_diffs\x18\x01 \x03(\x0B2-.google.cloud.securesourcemanager.v1.FileDiff\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9B\x01\x0A\x12CreateIssueRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12>\x0A\x05issue\x18\x02 \x01(\x0B2*.google.cloud.securesourcemanager.v1.IssueB\x03\xE0A\x02\"Q\x0A\x0FGetIssueRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(securesourcemanager.googleapis.com/Issue\"\x9B\x01\x0A\x11ListIssuesRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(securesourcemanager.googleapis.com/Issue\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"i\x0A\x12ListIssuesResponse\x12:\x0A\x06issues\x18\x01 \x03(\x0B2*.google.cloud.securesourcemanager.v1.Issue\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8A\x01\x0A\x12UpdateIssueRequest\x12>\x0A\x05issue\x18\x01 \x01(\x0B2*.google.cloud.securesourcemanager.v1.IssueB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"g\x0A\x12DeleteIssueRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(securesourcemanager.googleapis.com/Issue\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\"f\x0A\x11CloseIssueRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(securesourcemanager.googleapis.com/Issue\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\"e\x0A\x10OpenIssueRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(securesourcemanager.googleapis.com/Issue\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\"\xEF\x01\x0A\x09TreeEntry\x12L\x0A\x04type\x18\x01 \x01(\x0E29.google.cloud.securesourcemanager.v1.TreeEntry.ObjectTypeB\x03\xE0A\x03\x12\x10\x0A\x03sha\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04path\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04mode\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04size\x18\x05 \x01(\x03B\x03\xE0A\x03\"I\x0A\x0AObjectType\x12\x1B\x0A\x17OBJECT_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04TREE\x10\x01\x12\x08\x0A\x04BLOB\x10\x02\x12\x0A\x0A\x06COMMIT\x10\x03\"\xB8\x01\x0A\x10FetchTreeRequest\x12I\x0A\x0Arepository\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12\x10\x0A\x03ref\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09recursive\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x04 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x05 \x01(\x09B\x03\xE0A\x01\"r\x0A\x11FetchTreeResponse\x12D\x0A\x0Ctree_entries\x18\x01 \x03(\x0B2..google.cloud.securesourcemanager.v1.TreeEntry\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"o\x0A\x10FetchBlobRequest\x12I\x0A\x0Arepository\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12\x10\x0A\x03sha\x18\x02 \x01(\x09B\x03\xE0A\x02\"1\x0A\x11FetchBlobResponse\x12\x0B\x0A\x03sha\x18\x01 \x01(\x09\x12\x0F\x0A\x07content\x18\x02 \x01(\x09\"\xA0\x01\x0A\x1EListPullRequestCommentsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125securesourcemanager.googleapis.com/PullRequestComment\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x92\x01\x0A\x1FListPullRequestCommentsResponse\x12V\x0A\x15pull_request_comments\x18\x01 \x03(\x0B27.google.cloud.securesourcemanager.v1.PullRequestComment\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xCC\x01\x0A\x1FCreatePullRequestCommentRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125securesourcemanager.googleapis.com/PullRequestComment\x12Z\x0A\x14pull_request_comment\x18\x02 \x01(\x0B27.google.cloud.securesourcemanager.v1.PullRequestCommentB\x03\xE0A\x02\"\xD3\x01\x0A%BatchCreatePullRequestCommentsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125securesourcemanager.googleapis.com/PullRequestComment\x12[\x0A\x08requests\x18\x02 \x03(\x0B2D.google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequestB\x03\xE0A\x02\"\x80\x01\x0A&BatchCreatePullRequestCommentsResponse\x12V\x0A\x15pull_request_comments\x18\x01 \x03(\x0B27.google.cloud.securesourcemanager.v1.PullRequestComment\"\xB3\x01\x0A\x1FUpdatePullRequestCommentRequest\x12Z\x0A\x14pull_request_comment\x18\x01 \x01(\x0B27.google.cloud.securesourcemanager.v1.PullRequestCommentB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"n\x0A\x1FDeletePullRequestCommentRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5securesourcemanager.googleapis.com/PullRequestComment\"k\x0A\x1CGetPullRequestCommentRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5securesourcemanager.googleapis.com/PullRequestComment\"\xD8\x01\x0A!ResolvePullRequestCommentsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125securesourcemanager.googleapis.com/PullRequestComment\x12L\x0A\x05names\x18\x02 \x03(\x09B=\xE0A\x02\xFAA7\x0A5securesourcemanager.googleapis.com/PullRequestComment\x12\x16\x0A\x09auto_fill\x18\x03 \x01(\x08B\x03\xE0A\x01\"|\x0A\"ResolvePullRequestCommentsResponse\x12V\x0A\x15pull_request_comments\x18\x01 \x03(\x0B27.google.cloud.securesourcemanager.v1.PullRequestComment\"\xDA\x01\x0A#UnresolvePullRequestCommentsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125securesourcemanager.googleapis.com/PullRequestComment\x12L\x0A\x05names\x18\x02 \x03(\x09B=\xE0A\x02\xFAA7\x0A5securesourcemanager.googleapis.com/PullRequestComment\x12\x16\x0A\x09auto_fill\x18\x03 \x01(\x08B\x03\xE0A\x01\"~\x0A\$UnresolvePullRequestCommentsResponse\x12V\x0A\x15pull_request_comments\x18\x01 \x03(\x0B27.google.cloud.securesourcemanager.v1.PullRequestComment\"\xAC\x01\x0A\x19CreateIssueCommentRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(securesourcemanager.googleapis.com/Issue\x12M\x0A\x0Dissue_comment\x18\x02 \x01(\x0B21.google.cloud.securesourcemanager.v1.IssueCommentB\x03\xE0A\x02\"_\x0A\x16GetIssueCommentRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/securesourcemanager.googleapis.com/IssueComment\"\x94\x01\x0A\x18ListIssueCommentsRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x12/securesourcemanager.googleapis.com/IssueComment\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x7F\x0A\x19ListIssueCommentsResponse\x12I\x0A\x0Eissue_comments\x18\x01 \x03(\x0B21.google.cloud.securesourcemanager.v1.IssueComment\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA0\x01\x0A\x19UpdateIssueCommentRequest\x12M\x0A\x0Dissue_comment\x18\x01 \x01(\x0B21.google.cloud.securesourcemanager.v1.IssueCommentB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"b\x0A\x19DeleteIssueCommentRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/securesourcemanager.googleapis.com/IssueComment2\xFEd\x0A\x13SecureSourceManager\x12\xC6\x01\x0A\x0DListInstances\x129.google.cloud.securesourcemanager.v1.ListInstancesRequest\x1A:.google.cloud.securesourcemanager.v1.ListInstancesResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\xB3\x01\x0A\x0BGetInstance\x127.google.cloud.securesourcemanager.v1.GetInstanceRequest\x1A-.google.cloud.securesourcemanager.v1.Instance\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xEA\x01\x0A\x0ECreateInstance\x12:.google.cloud.securesourcemanager.v1.CreateInstanceRequest\x1A\x1D.google.longrunning.Operation\"}\xCAA\x1D\x0A\x08Instance\x12\x11OperationMetadata\xDAA\x1Bparent,instance,instance_id\x82\xD3\xE4\x93\x029\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xD6\x01\x0A\x0EDeleteInstance\x12:.google.cloud.securesourcemanager.v1.DeleteInstanceRequest\x1A\x1D.google.longrunning.Operation\"i\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xD2\x01\x0A\x10ListRepositories\x12<.google.cloud.securesourcemanager.v1.ListRepositoriesRequest\x1A=.google.cloud.securesourcemanager.v1.ListRepositoriesResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1/{parent=projects/*/locations/*}/repositories\x12\xBC\x01\x0A\x0DGetRepository\x129.google.cloud.securesourcemanager.v1.GetRepositoryRequest\x1A/.google.cloud.securesourcemanager.v1.Repository\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1/{name=projects/*/locations/*/repositories/*}\x12\xFA\x01\x0A\x10CreateRepository\x12<.google.cloud.securesourcemanager.v1.CreateRepositoryRequest\x1A\x1D.google.longrunning.Operation\"\x88\x01\xCAA\x1F\x0A\x0ARepository\x12\x11OperationMetadata\xDAA\x1Fparent,repository,repository_id\x82\xD3\xE4\x93\x02>\"0/v1/{parent=projects/*/locations/*}/repositories:\x0Arepository\x12\xFC\x01\x0A\x10UpdateRepository\x12<.google.cloud.securesourcemanager.v1.UpdateRepositoryRequest\x1A\x1D.google.longrunning.Operation\"\x8A\x01\xCAA\x1F\x0A\x0ARepository\x12\x11OperationMetadata\xDAA\x16repository,update_mask\x82\xD3\xE4\x93\x02I2;/v1/{repository.name=projects/*/locations/*/repositories/*}:\x0Arepository\x12\xDD\x01\x0A\x10DeleteRepository\x12<.google.cloud.securesourcemanager.v1.DeleteRepositoryRequest\x1A\x1D.google.longrunning.Operation\"l\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1/{name=projects/*/locations/*/repositories/*}\x12\xC5\x01\x0A\x09ListHooks\x125.google.cloud.securesourcemanager.v1.ListHooksRequest\x1A6.google.cloud.securesourcemanager.v1.ListHooksResponse\"I\xDAA\x06parent\x82\xD3\xE4\x93\x02:\x128/v1/{parent=projects/*/locations/*/repositories/*}/hooks\x12\xB2\x01\x0A\x07GetHook\x123.google.cloud.securesourcemanager.v1.GetHookRequest\x1A).google.cloud.securesourcemanager.v1.Hook\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1/{name=projects/*/locations/*/repositories/*/hooks/*}\x12\xDD\x01\x0A\x0ACreateHook\x126.google.cloud.securesourcemanager.v1.CreateHookRequest\x1A\x1D.google.longrunning.Operation\"x\xCAA\x19\x0A\x04Hook\x12\x11OperationMetadata\xDAA\x13parent,hook,hook_id\x82\xD3\xE4\x93\x02@\"8/v1/{parent=projects/*/locations/*/repositories/*}/hooks:\x04hook\x12\xDF\x01\x0A\x0AUpdateHook\x126.google.cloud.securesourcemanager.v1.UpdateHookRequest\x1A\x1D.google.longrunning.Operation\"z\xCAA\x19\x0A\x04Hook\x12\x11OperationMetadata\xDAA\x10hook,update_mask\x82\xD3\xE4\x93\x02E2=/v1/{hook.name=projects/*/locations/*/repositories/*/hooks/*}:\x04hook\x12\xD9\x01\x0A\x0ADeleteHook\x126.google.cloud.securesourcemanager.v1.DeleteHookRequest\x1A\x1D.google.longrunning.Operation\"t\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02:*8/v1/{name=projects/*/locations/*/repositories/*/hooks/*}\x12\xA3\x01\x0A\x10GetIamPolicyRepo\x12\".google.iam.v1.GetIamPolicyRequest\x1A\x15.google.iam.v1.Policy\"T\xDAA\x08resource\x82\xD3\xE4\x93\x02C\x12A/v1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy\x12\xA6\x01\x0A\x10SetIamPolicyRepo\x12\".google.iam.v1.SetIamPolicyRequest\x1A\x15.google.iam.v1.Policy\"W\xDAA\x08resource\x82\xD3\xE4\x93\x02F\"A/v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy:\x01*\x12\xCC\x01\x0A\x16TestIamPermissionsRepo\x12(.google.iam.v1.TestIamPermissionsRequest\x1A).google.iam.v1.TestIamPermissionsResponse\"]\xDAA\x08resource\x82\xD3\xE4\x93\x02L\"G/v1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions:\x01*\x12\x8B\x02\x0A\x10CreateBranchRule\x12<.google.cloud.securesourcemanager.v1.CreateBranchRuleRequest\x1A\x1D.google.longrunning.Operation\"\x99\x01\xCAA\x1F\x0A\x0ABranchRule\x12\x11OperationMetadata\xDAA!parent,branch_rule,branch_rule_id\x82\xD3\xE4\x93\x02M\">/v1/{parent=projects/*/locations/*/repositories/*}/branchRules:\x0Bbranch_rule\x12\xDD\x01\x0A\x0FListBranchRules\x12;.google.cloud.securesourcemanager.v1.ListBranchRulesRequest\x1A<.google.cloud.securesourcemanager.v1.ListBranchRulesResponse\"O\xDAA\x06parent\x82\xD3\xE4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/repositories/*}/branchRules\x12\xCA\x01\x0A\x0DGetBranchRule\x129.google.cloud.securesourcemanager.v1.GetBranchRuleRequest\x1A/.google.cloud.securesourcemanager.v1.BranchRule\"M\xDAA\x04name\x82\xD3\xE4\x93\x02@\x12>/v1/{name=projects/*/locations/*/repositories/*/branchRules/*}\x12\x8D\x02\x0A\x10UpdateBranchRule\x12<.google.cloud.securesourcemanager.v1.UpdateBranchRuleRequest\x1A\x1D.google.longrunning.Operation\"\x9B\x01\xCAA\x1F\x0A\x0ABranchRule\x12\x11OperationMetadata\xDAA\x17branch_rule,update_mask\x82\xD3\xE4\x93\x02Y2J/v1/{branch_rule.name=projects/*/locations/*/repositories/*/branchRules/*}:\x0Bbranch_rule\x12\xEB\x01\x0A\x10DeleteBranchRule\x12<.google.cloud.securesourcemanager.v1.DeleteBranchRuleRequest\x1A\x1D.google.longrunning.Operation\"z\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02@*>/v1/{name=projects/*/locations/*/repositories/*/branchRules/*}\x12\xA6\x02\x0A\x11CreatePullRequest\x12=.google.cloud.securesourcemanager.v1.CreatePullRequestRequest\x1A\x1D.google.longrunning.Operation\"\xB2\x01\xCAAD\x0A/google.cloud.securesourcemanager.v1.PullRequest\x12\x11OperationMetadata\xDAA\x13parent,pull_request\x82\xD3\xE4\x93\x02O\"?/v1/{parent=projects/*/locations/*/repositories/*}/pullRequests:\x0Cpull_request\x12\xCE\x01\x0A\x0EGetPullRequest\x12:.google.cloud.securesourcemanager.v1.GetPullRequestRequest\x1A0.google.cloud.securesourcemanager.v1.PullRequest\"N\xDAA\x04name\x82\xD3\xE4\x93\x02A\x12?/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}\x12\xE1\x01\x0A\x10ListPullRequests\x12<.google.cloud.securesourcemanager.v1.ListPullRequestsRequest\x1A=.google.cloud.securesourcemanager.v1.ListPullRequestsResponse\"P\xDAA\x06parent\x82\xD3\xE4\x93\x02A\x12?/v1/{parent=projects/*/locations/*/repositories/*}/pullRequests\x12\xB8\x02\x0A\x11UpdatePullRequest\x12=.google.cloud.securesourcemanager.v1.UpdatePullRequestRequest\x1A\x1D.google.longrunning.Operation\"\xC4\x01\xCAAD\x0A/google.cloud.securesourcemanager.v1.PullRequest\x12\x11OperationMetadata\xDAA\x18pull_request,update_mask\x82\xD3\xE4\x93\x02\\2L/v1/{pull_request.name=projects/*/locations/*/repositories/*/pullRequests/*}:\x0Cpull_request\x12\x90\x02\x0A\x10MergePullRequest\x12<.google.cloud.securesourcemanager.v1.MergePullRequestRequest\x1A\x1D.google.longrunning.Operation\"\x9E\x01\xCAAD\x0A/google.cloud.securesourcemanager.v1.PullRequest\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02J\"E/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:merge:\x01*\x12\x8D\x02\x0A\x0FOpenPullRequest\x12;.google.cloud.securesourcemanager.v1.OpenPullRequestRequest\x1A\x1D.google.longrunning.Operation\"\x9D\x01\xCAAD\x0A/google.cloud.securesourcemanager.v1.PullRequest\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02I\"D/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:open:\x01*\x12\x90\x02\x0A\x10ClosePullRequest\x12<.google.cloud.securesourcemanager.v1.ClosePullRequestRequest\x1A\x1D.google.longrunning.Operation\"\x9E\x01\xCAAD\x0A/google.cloud.securesourcemanager.v1.PullRequest\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02J\"E/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:close:\x01*\x12\x85\x02\x0A\x18ListPullRequestFileDiffs\x12D.google.cloud.securesourcemanager.v1.ListPullRequestFileDiffsRequest\x1AE.google.cloud.securesourcemanager.v1.ListPullRequestFileDiffsResponse\"\\\xDAA\x04name\x82\xD3\xE4\x93\x02O\x12M/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:listFileDiffs\x12\xC4\x01\x0A\x09FetchTree\x125.google.cloud.securesourcemanager.v1.FetchTreeRequest\x1A6.google.cloud.securesourcemanager.v1.FetchTreeResponse\"H\x82\xD3\xE4\x93\x02B\x12@/v1/{repository=projects/*/locations/*/repositories/*}:fetchTree\x12\xC4\x01\x0A\x09FetchBlob\x125.google.cloud.securesourcemanager.v1.FetchBlobRequest\x1A6.google.cloud.securesourcemanager.v1.FetchBlobResponse\"H\x82\xD3\xE4\x93\x02B\x12@/v1/{repository=projects/*/locations/*/repositories/*}:fetchBlob\x12\x80\x02\x0A\x0BCreateIssue\x127.google.cloud.securesourcemanager.v1.CreateIssueRequest\x1A\x1D.google.longrunning.Operation\"\x98\x01\xCAA>\x0A)google.cloud.securesourcemanager.v1.Issue\x12\x11OperationMetadata\xDAA\x0Cparent,issue\x82\xD3\xE4\x93\x02B\"9/v1/{parent=projects/*/locations/*/repositories/*}/issues:\x05issue\x12\xB6\x01\x0A\x08GetIssue\x124.google.cloud.securesourcemanager.v1.GetIssueRequest\x1A*.google.cloud.securesourcemanager.v1.Issue\"H\xDAA\x04name\x82\xD3\xE4\x93\x02;\x129/v1/{name=projects/*/locations/*/repositories/*/issues/*}\x12\xC9\x01\x0A\x0AListIssues\x126.google.cloud.securesourcemanager.v1.ListIssuesRequest\x1A7.google.cloud.securesourcemanager.v1.ListIssuesResponse\"J\xDAA\x06parent\x82\xD3\xE4\x93\x02;\x129/v1/{parent=projects/*/locations/*/repositories/*}/issues\x12\x8B\x02\x0A\x0BUpdateIssue\x127.google.cloud.securesourcemanager.v1.UpdateIssueRequest\x1A\x1D.google.longrunning.Operation\"\xA3\x01\xCAA>\x0A)google.cloud.securesourcemanager.v1.Issue\x12\x11OperationMetadata\xDAA\x11issue,update_mask\x82\xD3\xE4\x93\x02H2?/v1/{issue.name=projects/*/locations/*/repositories/*/issues/*}:\x05issue\x12\xDC\x01\x0A\x0BDeleteIssue\x127.google.cloud.securesourcemanager.v1.DeleteIssueRequest\x1A\x1D.google.longrunning.Operation\"u\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02;*9/v1/{name=projects/*/locations/*/repositories/*/issues/*}\x12\xF5\x01\x0A\x09OpenIssue\x125.google.cloud.securesourcemanager.v1.OpenIssueRequest\x1A\x1D.google.longrunning.Operation\"\x91\x01\xCAA>\x0A)google.cloud.securesourcemanager.v1.Issue\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02C\">/v1/{name=projects/*/locations/*/repositories/*/issues/*}:open:\x01*\x12\xF8\x01\x0A\x0ACloseIssue\x126.google.cloud.securesourcemanager.v1.CloseIssueRequest\x1A\x1D.google.longrunning.Operation\"\x92\x01\xCAA>\x0A)google.cloud.securesourcemanager.v1.Issue\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02D\"?/v1/{name=projects/*/locations/*/repositories/*/issues/*}:close:\x01*\x12\xF9\x01\x0A\x15GetPullRequestComment\x12A.google.cloud.securesourcemanager.v1.GetPullRequestCommentRequest\x1A7.google.cloud.securesourcemanager.v1.PullRequestComment\"d\xDAA\x04name\x82\xD3\xE4\x93\x02W\x12U/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*/pullRequestComments/*}\x12\x8C\x02\x0A\x17ListPullRequestComments\x12C.google.cloud.securesourcemanager.v1.ListPullRequestCommentsRequest\x1AD.google.cloud.securesourcemanager.v1.ListPullRequestCommentsResponse\"f\xDAA\x06parent\x82\xD3\xE4\x93\x02W\x12U/v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments\x12\xE1\x02\x0A\x18CreatePullRequestComment\x12D.google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequest\x1A\x1D.google.longrunning.Operation\"\xDF\x01\xCAAK\x0A6google.cloud.securesourcemanager.v1.PullRequestComment\x12\x11OperationMetadata\xDAA\x1Bparent,pull_request_comment\x82\xD3\xE4\x93\x02m\"U/v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:\x14pull_request_comment\x12\xFC\x02\x0A\x18UpdatePullRequestComment\x12D.google.cloud.securesourcemanager.v1.UpdatePullRequestCommentRequest\x1A\x1D.google.longrunning.Operation\"\xFA\x01\xCAAK\x0A6google.cloud.securesourcemanager.v1.PullRequestComment\x12\x11OperationMetadata\xDAA pull_request_comment,update_mask\x82\xD3\xE4\x93\x02\x82\x012j/v1/{pull_request_comment.name=projects/*/locations/*/repositories/*/pullRequests/*/pullRequestComments/*}:\x14pull_request_comment\x12\x93\x02\x0A\x18DeletePullRequestComment\x12D.google.cloud.securesourcemanager.v1.DeletePullRequestCommentRequest\x1A\x1D.google.longrunning.Operation\"\x91\x01\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02W*U/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*/pullRequestComments/*}\x12\xCA\x02\x0A\x1EBatchCreatePullRequestComments\x12J.google.cloud.securesourcemanager.v1.BatchCreatePullRequestCommentsRequest\x1A\x1D.google.longrunning.Operation\"\xBC\x01\xCAA;\x0A&BatchCreatePullRequestCommentsResponse\x12\x11OperationMetadata\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02f\"a/v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:batchCreate:\x01*\x12\xB7\x02\x0A\x1AResolvePullRequestComments\x12F.google.cloud.securesourcemanager.v1.ResolvePullRequestCommentsRequest\x1A\x1D.google.longrunning.Operation\"\xB1\x01\xCAA7\x0A\"ResolvePullRequestCommentsResponse\x12\x11OperationMetadata\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02b\"]/v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:resolve:\x01*\x12\xBF\x02\x0A\x1CUnresolvePullRequestComments\x12H.google.cloud.securesourcemanager.v1.UnresolvePullRequestCommentsRequest\x1A\x1D.google.longrunning.Operation\"\xB5\x01\xCAA9\x0A\$UnresolvePullRequestCommentsResponse\x12\x11OperationMetadata\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02d\"_/v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:unresolve:\x01*\x12\xB5\x02\x0A\x12CreateIssueComment\x12>.google.cloud.securesourcemanager.v1.CreateIssueCommentRequest\x1A\x1D.google.longrunning.Operation\"\xBF\x01\xCAAE\x0A0google.cloud.securesourcemanager.v1.IssueComment\x12\x11OperationMetadata\xDAA\x14parent,issue_comment\x82\xD3\xE4\x93\x02Z\"I/v1/{parent=projects/*/locations/*/repositories/*/issues/*}/issueComments:\x0Dissue_comment\x12\xDB\x01\x0A\x0FGetIssueComment\x12;.google.cloud.securesourcemanager.v1.GetIssueCommentRequest\x1A1.google.cloud.securesourcemanager.v1.IssueComment\"X\xDAA\x04name\x82\xD3\xE4\x93\x02K\x12I/v1/{name=projects/*/locations/*/repositories/*/issues/*/issueComments/*}\x12\xEE\x01\x0A\x11ListIssueComments\x12=.google.cloud.securesourcemanager.v1.ListIssueCommentsRequest\x1A>.google.cloud.securesourcemanager.v1.ListIssueCommentsResponse\"Z\xDAA\x06parent\x82\xD3\xE4\x93\x02K\x12I/v1/{parent=projects/*/locations/*/repositories/*/issues/*}/issueComments\x12\xC8\x02\x0A\x12UpdateIssueComment\x12>.google.cloud.securesourcemanager.v1.UpdateIssueCommentRequest\x1A\x1D.google.longrunning.Operation\"\xD2\x01\xCAAE\x0A0google.cloud.securesourcemanager.v1.IssueComment\x12\x11OperationMetadata\xDAA\x19issue_comment,update_mask\x82\xD3\xE4\x93\x02h2W/v1/{issue_comment.name=projects/*/locations/*/repositories/*/issues/*/issueComments/*}:\x0Dissue_comment\x12\xFB\x01\x0A\x12DeleteIssueComment\x12>.google.cloud.securesourcemanager.v1.DeleteIssueCommentRequest\x1A\x1D.google.longrunning.Operation\"\x85\x01\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02K*I/v1/{name=projects/*/locations/*/repositories/*/issues/*/issueComments/*}\x1AV\xCAA\"securesourcemanager.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xE9\x04\x0A'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\xEAAx\x0A!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xEAA\\\x0A\x1Fprivateca.googleapis.com/CaPool\x129projects/{project}/locations/{location}/caPools/{ca_pool}\xEAAw\x0A(compute.googleapis.com/ServiceAttachment\x12Kprojects/{project}/regions/{region}/serviceAttachments/{service_attachment}b\x06proto3" + "\x0A\xE4\xEC\x01\x0A?google/cloud/securesourcemanager/v1/secure_source_manager.proto\x12#google.cloud.securesourcemanager.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x1Bgoogle/api/field_info.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\"\xED\x0D\x0A\x08Instance\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12N\x0A\x06labels\x18\x04 \x03(\x0B29.google.cloud.securesourcemanager.v1.Instance.LabelsEntryB\x03\xE0A\x01\x12X\x0A\x0Eprivate_config\x18\x0D \x01(\x0B2;.google.cloud.securesourcemanager.v1.Instance.PrivateConfigB\x03\xE0A\x01\x12G\x0A\x05state\x18\x05 \x01(\x0E23.google.cloud.securesourcemanager.v1.Instance.StateB\x03\xE0A\x03\x12P\x0A\x0Astate_note\x18\x0A \x01(\x0E27.google.cloud.securesourcemanager.v1.Instance.StateNoteB\x03\xE0A\x03\x12:\x0A\x07kms_key\x18\x0B \x01(\x09B)\xE0A\x05\xFAA#\x0A!cloudkms.googleapis.com/CryptoKey\x12R\x0A\x0Bhost_config\x18\x09 \x01(\x0B28.google.cloud.securesourcemanager.v1.Instance.HostConfigB\x03\xE0A\x03\x12\x82\x01\x0A\$workforce_identity_federation_config\x18\x0E \x01(\x0B2O.google.cloud.securesourcemanager.v1.Instance.WorkforceIdentityFederationConfigB\x03\xE0A\x01\x1A^\x0A\x0AHostConfig\x12\x11\x0A\x04html\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x10\x0A\x03api\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x15\x0A\x08git_http\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07git_ssh\x18\x04 \x01(\x09B\x03\xE0A\x03\x1A\x85\x04\x0A\x0DPrivateConfig\x12\x1A\x0A\x0Ais_private\x18\x01 \x01(\x08B\x06\xE0A\x05\xE0A\x02\x12;\x0A\x07ca_pool\x18\x02 \x01(\x09B*\xE0A\x05\xE0A\x01\xFAA!\x0A\x1Fprivateca.googleapis.com/CaPool\x12Q\x0A\x17http_service_attachment\x18\x03 \x01(\x09B0\xE0A\x03\xFAA*\x0A(compute.googleapis.com/ServiceAttachment\x12P\x0A\x16ssh_service_attachment\x18\x04 \x01(\x09B0\xE0A\x03\xFAA*\x0A(compute.googleapis.com/ServiceAttachment\x12!\x0A\x14psc_allowed_projects\x18\x06 \x03(\x09B\x03\xE0A\x01\x12m\x0A\x12custom_host_config\x18\x07 \x01(\x0B2L.google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfigB\x03\xE0A\x01\x1Ad\x0A\x10CustomHostConfig\x12\x11\x0A\x04html\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x10\x0A\x03api\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x14\x0A\x07git_ssh\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08git_http\x18\x04 \x01(\x09B\x03\xE0A\x02\x1A<\x0A!WorkforceIdentityFederationConfig\x12\x17\x0A\x07enabled\x18\x01 \x01(\x08B\x06\xE0A\x05\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"_\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08CREATING\x10\x01\x12\x0A\x0A\x06ACTIVE\x10\x02\x12\x0C\x0A\x08DELETING\x10\x03\x12\x0A\x0A\x06PAUSED\x10\x04\x12\x0B\x0A\x07UNKNOWN\x10\x06\"_\x0A\x09StateNote\x12\x1A\x0A\x16STATE_NOTE_UNSPECIFIED\x10\x00\x12\x1B\x0A\x17PAUSED_CMEK_UNAVAILABLE\x10\x01\x12\x19\x0A\x11INSTANCE_RESUMING\x10\x02\x1A\x02\x08\x01:q\xEAAn\x0A+securesourcemanager.googleapis.com/Instance\x12.google.cloud.securesourcemanager.v1.PullRequestComment.ReviewB\x03\xE0A\x01H\x00\x12W\x0A\x07comment\x18\x05 \x01(\x0B2?.google.cloud.securesourcemanager.v1.PullRequestComment.CommentB\x03\xE0A\x01H\x00\x12Q\x0A\x04code\x18\x06 \x01(\x0B2<.google.cloud.securesourcemanager.v1.PullRequestComment.CodeB\x03\xE0A\x01H\x00\x1A\xFF\x01\x0A\x06Review\x12c\x0A\x0Baction_type\x18\x01 \x01(\x0E2I.google.cloud.securesourcemanager.v1.PullRequestComment.Review.ActionTypeB\x03\xE0A\x02\x12\x11\x0A\x04body\x18\x02 \x01(\x09B\x03\xE0A\x01\x12!\x0A\x14effective_commit_sha\x18\x04 \x01(\x09B\x03\xE0A\x03\"Z\x0A\x0AActionType\x12\x1B\x0A\x17ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07COMMENT\x10\x01\x12\x14\x0A\x10CHANGE_REQUESTED\x10\x02\x12\x0C\x0A\x08APPROVED\x10\x03\x1A\x1C\x0A\x07Comment\x12\x11\x0A\x04body\x18\x01 \x01(\x09B\x03\xE0A\x02\x1A\xE8\x01\x0A\x04Code\x12\x11\x0A\x04body\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x05reply\x18\x02 \x01(\x09B\x06\xE0A\x01\xE0A\x04\x12W\x0A\x08position\x18\x03 \x01(\x0B2@.google.cloud.securesourcemanager.v1.PullRequestComment.PositionB\x03\xE0A\x01\x12#\x0A\x16effective_root_comment\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x15\x0A\x08resolved\x18\x05 \x01(\x08B\x03\xE0A\x03\x12!\x0A\x14effective_commit_sha\x18\x07 \x01(\x09B\x03\xE0A\x03\x1A0\x0A\x08Position\x12\x11\x0A\x04path\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x04line\x18\x02 \x01(\x03B\x03\xE0A\x02:\xB8\x01\xEAA\xB4\x01\x0A5securesourcemanager.googleapis.com/PullRequestComment\x12{projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment}B\x10\x0A\x0Ecomment_detail\"\xB8\x01\x0A\x14ListInstancesRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+securesourcemanager.googleapis.com/Instance\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x87\x01\x0A\x15ListInstancesResponse\x12@\x0A\x09instances\x18\x01 \x03(\x0B2-.google.cloud.securesourcemanager.v1.Instance\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12\x13\x0A\x0Bunreachable\x18\x03 \x03(\x09\"W\x0A\x12GetInstanceRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+securesourcemanager.googleapis.com/Instance\"\xDD\x01\x0A\x15CreateInstanceRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+securesourcemanager.googleapis.com/Instance\x12\x18\x0A\x0Binstance_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12D\x0A\x08instance\x18\x03 \x01(\x0B2-.google.cloud.securesourcemanager.v1.InstanceB\x03\xE0A\x02\x12\x1F\x0A\x0Arequest_id\x18\x04 \x01(\x09B\x0B\xE0A\x01\xE2\x8C\xCF\xD7\x08\x02\x08\x01\"\x8F\x01\x0A\x15DeleteInstanceRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+securesourcemanager.googleapis.com/Instance\x12\x1F\x0A\x0Arequest_id\x18\x02 \x01(\x09B\x0B\xE0A\x01\xE2\x8C\xCF\xD7\x08\x02\x08\x01\x12\x12\x0A\x05force\x18\x03 \x01(\x08B\x03\xE0A\x01\"\x80\x02\x0A\x11OperationMetadata\x124\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06target\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04verb\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x1B\x0A\x0Estatus_message\x18\x05 \x01(\x09B\x03\xE0A\x03\x12#\x0A\x16requested_cancellation\x18\x06 \x01(\x08B\x03\xE0A\x03\x12\x18\x0A\x0Bapi_version\x18\x07 \x01(\x09B\x03\xE0A\x03\"\xED\x01\x0A\x17ListRepositoriesRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-securesourcemanager.googleapis.com/Repository\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12E\x0A\x08instance\x18\x05 \x01(\x09B3\xE0A\x01\xFAA-\x0A+securesourcemanager.googleapis.com/Instance\"z\x0A\x18ListRepositoriesResponse\x12E\x0A\x0Crepositories\x18\x01 \x03(\x0B2/.google.cloud.securesourcemanager.v1.Repository\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"[\x0A\x14GetRepositoryRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\"\xC6\x01\x0A\x17CreateRepositoryRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-securesourcemanager.googleapis.com/Repository\x12H\x0A\x0Arepository\x18\x02 \x01(\x0B2/.google.cloud.securesourcemanager.v1.RepositoryB\x03\xE0A\x02\x12\x1A\x0A\x0Drepository_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\xB5\x01\x0A\x17UpdateRepositoryRequest\x124\x0A\x0Bupdate_mask\x18\x01 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12H\x0A\x0Arepository\x18\x02 \x01(\x0B2/.google.cloud.securesourcemanager.v1.RepositoryB\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x03 \x01(\x08B\x03\xE0A\x01\"z\x0A\x17DeleteRepositoryRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12\x1A\x0A\x0Dallow_missing\x18\x02 \x01(\x08B\x03\xE0A\x01\"\x84\x01\x0A\x10ListHooksRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x12'securesourcemanager.googleapis.com/Hook\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"f\x0A\x11ListHooksResponse\x128\x0A\x05hooks\x18\x01 \x03(\x0B2).google.cloud.securesourcemanager.v1.Hook\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"O\x0A\x0EGetHookRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'securesourcemanager.googleapis.com/Hook\"\xAE\x01\x0A\x11CreateHookRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12<\x0A\x04hook\x18\x02 \x01(\x0B2).google.cloud.securesourcemanager.v1.HookB\x03\xE0A\x02\x12\x14\x0A\x07hook_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\x87\x01\x0A\x11UpdateHookRequest\x124\x0A\x0Bupdate_mask\x18\x01 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12<\x0A\x04hook\x18\x02 \x01(\x0B2).google.cloud.securesourcemanager.v1.HookB\x03\xE0A\x02\"R\x0A\x11DeleteHookRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'securesourcemanager.googleapis.com/Hook\"[\x0A\x14GetBranchRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/BranchRule\"\xC8\x01\x0A\x17CreateBranchRuleRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-securesourcemanager.googleapis.com/BranchRule\x12I\x0A\x0Bbranch_rule\x18\x02 \x01(\x0B2/.google.cloud.securesourcemanager.v1.BranchRuleB\x03\xE0A\x02\x12\x1B\x0A\x0Ebranch_rule_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\x90\x01\x0A\x16ListBranchRulesRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-securesourcemanager.googleapis.com/BranchRule\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"z\x0A\x17DeleteBranchRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/BranchRule\x12\x1A\x0A\x0Dallow_missing\x18\x02 \x01(\x08B\x03\xE0A\x01\"\xB6\x01\x0A\x17UpdateBranchRuleRequest\x12I\x0A\x0Bbranch_rule\x18\x01 \x01(\x0B2/.google.cloud.securesourcemanager.v1.BranchRuleB\x03\xE0A\x02\x12\x1A\x0A\x0Dvalidate_only\x18\x02 \x01(\x08B\x03\xE0A\x01\x124\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"y\x0A\x17ListBranchRulesResponse\x12E\x0A\x0Cbranch_rules\x18\x01 \x03(\x0B2/.google.cloud.securesourcemanager.v1.BranchRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAE\x01\x0A\x18CreatePullRequestRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12K\x0A\x0Cpull_request\x18\x02 \x01(\x0B20.google.cloud.securesourcemanager.v1.PullRequestB\x03\xE0A\x02\"]\x0A\x15GetPullRequestRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.securesourcemanager.googleapis.com/PullRequest\"\x91\x01\x0A\x17ListPullRequestsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"|\x0A\x18ListPullRequestsResponse\x12G\x0A\x0Dpull_requests\x18\x01 \x03(\x0B20.google.cloud.securesourcemanager.v1.PullRequest\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9D\x01\x0A\x18UpdatePullRequestRequest\x12K\x0A\x0Cpull_request\x18\x01 \x01(\x0B20.google.cloud.securesourcemanager.v1.PullRequestB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"_\x0A\x17MergePullRequestRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.securesourcemanager.googleapis.com/PullRequest\"^\x0A\x16OpenPullRequestRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.securesourcemanager.googleapis.com/PullRequest\"_\x0A\x17ClosePullRequestRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.securesourcemanager.googleapis.com/PullRequest\"\x98\x01\x0A\x1FListPullRequestFileDiffsRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.securesourcemanager.googleapis.com/PullRequest\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"~\x0A ListPullRequestFileDiffsResponse\x12A\x0A\x0Afile_diffs\x18\x01 \x03(\x0B2-.google.cloud.securesourcemanager.v1.FileDiff\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9B\x01\x0A\x12CreateIssueRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12>\x0A\x05issue\x18\x02 \x01(\x0B2*.google.cloud.securesourcemanager.v1.IssueB\x03\xE0A\x02\"Q\x0A\x0FGetIssueRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(securesourcemanager.googleapis.com/Issue\"\x9B\x01\x0A\x11ListIssuesRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(securesourcemanager.googleapis.com/Issue\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"i\x0A\x12ListIssuesResponse\x12:\x0A\x06issues\x18\x01 \x03(\x0B2*.google.cloud.securesourcemanager.v1.Issue\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8A\x01\x0A\x12UpdateIssueRequest\x12>\x0A\x05issue\x18\x01 \x01(\x0B2*.google.cloud.securesourcemanager.v1.IssueB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"g\x0A\x12DeleteIssueRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(securesourcemanager.googleapis.com/Issue\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\"f\x0A\x11CloseIssueRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(securesourcemanager.googleapis.com/Issue\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\"e\x0A\x10OpenIssueRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(securesourcemanager.googleapis.com/Issue\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\"\xEF\x01\x0A\x09TreeEntry\x12L\x0A\x04type\x18\x01 \x01(\x0E29.google.cloud.securesourcemanager.v1.TreeEntry.ObjectTypeB\x03\xE0A\x03\x12\x10\x0A\x03sha\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04path\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04mode\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04size\x18\x05 \x01(\x03B\x03\xE0A\x03\"I\x0A\x0AObjectType\x12\x1B\x0A\x17OBJECT_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04TREE\x10\x01\x12\x08\x0A\x04BLOB\x10\x02\x12\x0A\x0A\x06COMMIT\x10\x03\"\xB8\x01\x0A\x10FetchTreeRequest\x12I\x0A\x0Arepository\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12\x10\x0A\x03ref\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09recursive\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x04 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x05 \x01(\x09B\x03\xE0A\x01\"r\x0A\x11FetchTreeResponse\x12D\x0A\x0Ctree_entries\x18\x01 \x03(\x0B2..google.cloud.securesourcemanager.v1.TreeEntry\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"o\x0A\x10FetchBlobRequest\x12I\x0A\x0Arepository\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-securesourcemanager.googleapis.com/Repository\x12\x10\x0A\x03sha\x18\x02 \x01(\x09B\x03\xE0A\x02\"1\x0A\x11FetchBlobResponse\x12\x0B\x0A\x03sha\x18\x01 \x01(\x09\x12\x0F\x0A\x07content\x18\x02 \x01(\x09\"\xA0\x01\x0A\x1EListPullRequestCommentsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125securesourcemanager.googleapis.com/PullRequestComment\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x92\x01\x0A\x1FListPullRequestCommentsResponse\x12V\x0A\x15pull_request_comments\x18\x01 \x03(\x0B27.google.cloud.securesourcemanager.v1.PullRequestComment\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xCC\x01\x0A\x1FCreatePullRequestCommentRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125securesourcemanager.googleapis.com/PullRequestComment\x12Z\x0A\x14pull_request_comment\x18\x02 \x01(\x0B27.google.cloud.securesourcemanager.v1.PullRequestCommentB\x03\xE0A\x02\"\xD3\x01\x0A%BatchCreatePullRequestCommentsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125securesourcemanager.googleapis.com/PullRequestComment\x12[\x0A\x08requests\x18\x02 \x03(\x0B2D.google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequestB\x03\xE0A\x02\"\x80\x01\x0A&BatchCreatePullRequestCommentsResponse\x12V\x0A\x15pull_request_comments\x18\x01 \x03(\x0B27.google.cloud.securesourcemanager.v1.PullRequestComment\"\xB3\x01\x0A\x1FUpdatePullRequestCommentRequest\x12Z\x0A\x14pull_request_comment\x18\x01 \x01(\x0B27.google.cloud.securesourcemanager.v1.PullRequestCommentB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"n\x0A\x1FDeletePullRequestCommentRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5securesourcemanager.googleapis.com/PullRequestComment\"k\x0A\x1CGetPullRequestCommentRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5securesourcemanager.googleapis.com/PullRequestComment\"\xD8\x01\x0A!ResolvePullRequestCommentsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125securesourcemanager.googleapis.com/PullRequestComment\x12L\x0A\x05names\x18\x02 \x03(\x09B=\xE0A\x02\xFAA7\x0A5securesourcemanager.googleapis.com/PullRequestComment\x12\x16\x0A\x09auto_fill\x18\x03 \x01(\x08B\x03\xE0A\x01\"|\x0A\"ResolvePullRequestCommentsResponse\x12V\x0A\x15pull_request_comments\x18\x01 \x03(\x0B27.google.cloud.securesourcemanager.v1.PullRequestComment\"\xDA\x01\x0A#UnresolvePullRequestCommentsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125securesourcemanager.googleapis.com/PullRequestComment\x12L\x0A\x05names\x18\x02 \x03(\x09B=\xE0A\x02\xFAA7\x0A5securesourcemanager.googleapis.com/PullRequestComment\x12\x16\x0A\x09auto_fill\x18\x03 \x01(\x08B\x03\xE0A\x01\"~\x0A\$UnresolvePullRequestCommentsResponse\x12V\x0A\x15pull_request_comments\x18\x01 \x03(\x0B27.google.cloud.securesourcemanager.v1.PullRequestComment\"\xAC\x01\x0A\x19CreateIssueCommentRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(securesourcemanager.googleapis.com/Issue\x12M\x0A\x0Dissue_comment\x18\x02 \x01(\x0B21.google.cloud.securesourcemanager.v1.IssueCommentB\x03\xE0A\x02\"_\x0A\x16GetIssueCommentRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/securesourcemanager.googleapis.com/IssueComment\"\x94\x01\x0A\x18ListIssueCommentsRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x12/securesourcemanager.googleapis.com/IssueComment\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x7F\x0A\x19ListIssueCommentsResponse\x12I\x0A\x0Eissue_comments\x18\x01 \x03(\x0B21.google.cloud.securesourcemanager.v1.IssueComment\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA0\x01\x0A\x19UpdateIssueCommentRequest\x12M\x0A\x0Dissue_comment\x18\x01 \x01(\x0B21.google.cloud.securesourcemanager.v1.IssueCommentB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"b\x0A\x19DeleteIssueCommentRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/securesourcemanager.googleapis.com/IssueComment2\xFEd\x0A\x13SecureSourceManager\x12\xC6\x01\x0A\x0DListInstances\x129.google.cloud.securesourcemanager.v1.ListInstancesRequest\x1A:.google.cloud.securesourcemanager.v1.ListInstancesResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\xB3\x01\x0A\x0BGetInstance\x127.google.cloud.securesourcemanager.v1.GetInstanceRequest\x1A-.google.cloud.securesourcemanager.v1.Instance\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xEA\x01\x0A\x0ECreateInstance\x12:.google.cloud.securesourcemanager.v1.CreateInstanceRequest\x1A\x1D.google.longrunning.Operation\"}\xCAA\x1D\x0A\x08Instance\x12\x11OperationMetadata\xDAA\x1Bparent,instance,instance_id\x82\xD3\xE4\x93\x029\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xD6\x01\x0A\x0EDeleteInstance\x12:.google.cloud.securesourcemanager.v1.DeleteInstanceRequest\x1A\x1D.google.longrunning.Operation\"i\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xD2\x01\x0A\x10ListRepositories\x12<.google.cloud.securesourcemanager.v1.ListRepositoriesRequest\x1A=.google.cloud.securesourcemanager.v1.ListRepositoriesResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1/{parent=projects/*/locations/*}/repositories\x12\xBC\x01\x0A\x0DGetRepository\x129.google.cloud.securesourcemanager.v1.GetRepositoryRequest\x1A/.google.cloud.securesourcemanager.v1.Repository\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1/{name=projects/*/locations/*/repositories/*}\x12\xFA\x01\x0A\x10CreateRepository\x12<.google.cloud.securesourcemanager.v1.CreateRepositoryRequest\x1A\x1D.google.longrunning.Operation\"\x88\x01\xCAA\x1F\x0A\x0ARepository\x12\x11OperationMetadata\xDAA\x1Fparent,repository,repository_id\x82\xD3\xE4\x93\x02>\"0/v1/{parent=projects/*/locations/*}/repositories:\x0Arepository\x12\xFC\x01\x0A\x10UpdateRepository\x12<.google.cloud.securesourcemanager.v1.UpdateRepositoryRequest\x1A\x1D.google.longrunning.Operation\"\x8A\x01\xCAA\x1F\x0A\x0ARepository\x12\x11OperationMetadata\xDAA\x16repository,update_mask\x82\xD3\xE4\x93\x02I2;/v1/{repository.name=projects/*/locations/*/repositories/*}:\x0Arepository\x12\xDD\x01\x0A\x10DeleteRepository\x12<.google.cloud.securesourcemanager.v1.DeleteRepositoryRequest\x1A\x1D.google.longrunning.Operation\"l\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1/{name=projects/*/locations/*/repositories/*}\x12\xC5\x01\x0A\x09ListHooks\x125.google.cloud.securesourcemanager.v1.ListHooksRequest\x1A6.google.cloud.securesourcemanager.v1.ListHooksResponse\"I\xDAA\x06parent\x82\xD3\xE4\x93\x02:\x128/v1/{parent=projects/*/locations/*/repositories/*}/hooks\x12\xB2\x01\x0A\x07GetHook\x123.google.cloud.securesourcemanager.v1.GetHookRequest\x1A).google.cloud.securesourcemanager.v1.Hook\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1/{name=projects/*/locations/*/repositories/*/hooks/*}\x12\xDD\x01\x0A\x0ACreateHook\x126.google.cloud.securesourcemanager.v1.CreateHookRequest\x1A\x1D.google.longrunning.Operation\"x\xCAA\x19\x0A\x04Hook\x12\x11OperationMetadata\xDAA\x13parent,hook,hook_id\x82\xD3\xE4\x93\x02@\"8/v1/{parent=projects/*/locations/*/repositories/*}/hooks:\x04hook\x12\xDF\x01\x0A\x0AUpdateHook\x126.google.cloud.securesourcemanager.v1.UpdateHookRequest\x1A\x1D.google.longrunning.Operation\"z\xCAA\x19\x0A\x04Hook\x12\x11OperationMetadata\xDAA\x10hook,update_mask\x82\xD3\xE4\x93\x02E2=/v1/{hook.name=projects/*/locations/*/repositories/*/hooks/*}:\x04hook\x12\xD9\x01\x0A\x0ADeleteHook\x126.google.cloud.securesourcemanager.v1.DeleteHookRequest\x1A\x1D.google.longrunning.Operation\"t\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02:*8/v1/{name=projects/*/locations/*/repositories/*/hooks/*}\x12\xA3\x01\x0A\x10GetIamPolicyRepo\x12\".google.iam.v1.GetIamPolicyRequest\x1A\x15.google.iam.v1.Policy\"T\xDAA\x08resource\x82\xD3\xE4\x93\x02C\x12A/v1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy\x12\xA6\x01\x0A\x10SetIamPolicyRepo\x12\".google.iam.v1.SetIamPolicyRequest\x1A\x15.google.iam.v1.Policy\"W\xDAA\x08resource\x82\xD3\xE4\x93\x02F\"A/v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy:\x01*\x12\xCC\x01\x0A\x16TestIamPermissionsRepo\x12(.google.iam.v1.TestIamPermissionsRequest\x1A).google.iam.v1.TestIamPermissionsResponse\"]\xDAA\x08resource\x82\xD3\xE4\x93\x02L\"G/v1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions:\x01*\x12\x8B\x02\x0A\x10CreateBranchRule\x12<.google.cloud.securesourcemanager.v1.CreateBranchRuleRequest\x1A\x1D.google.longrunning.Operation\"\x99\x01\xCAA\x1F\x0A\x0ABranchRule\x12\x11OperationMetadata\xDAA!parent,branch_rule,branch_rule_id\x82\xD3\xE4\x93\x02M\">/v1/{parent=projects/*/locations/*/repositories/*}/branchRules:\x0Bbranch_rule\x12\xDD\x01\x0A\x0FListBranchRules\x12;.google.cloud.securesourcemanager.v1.ListBranchRulesRequest\x1A<.google.cloud.securesourcemanager.v1.ListBranchRulesResponse\"O\xDAA\x06parent\x82\xD3\xE4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/repositories/*}/branchRules\x12\xCA\x01\x0A\x0DGetBranchRule\x129.google.cloud.securesourcemanager.v1.GetBranchRuleRequest\x1A/.google.cloud.securesourcemanager.v1.BranchRule\"M\xDAA\x04name\x82\xD3\xE4\x93\x02@\x12>/v1/{name=projects/*/locations/*/repositories/*/branchRules/*}\x12\x8D\x02\x0A\x10UpdateBranchRule\x12<.google.cloud.securesourcemanager.v1.UpdateBranchRuleRequest\x1A\x1D.google.longrunning.Operation\"\x9B\x01\xCAA\x1F\x0A\x0ABranchRule\x12\x11OperationMetadata\xDAA\x17branch_rule,update_mask\x82\xD3\xE4\x93\x02Y2J/v1/{branch_rule.name=projects/*/locations/*/repositories/*/branchRules/*}:\x0Bbranch_rule\x12\xEB\x01\x0A\x10DeleteBranchRule\x12<.google.cloud.securesourcemanager.v1.DeleteBranchRuleRequest\x1A\x1D.google.longrunning.Operation\"z\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02@*>/v1/{name=projects/*/locations/*/repositories/*/branchRules/*}\x12\xA6\x02\x0A\x11CreatePullRequest\x12=.google.cloud.securesourcemanager.v1.CreatePullRequestRequest\x1A\x1D.google.longrunning.Operation\"\xB2\x01\xCAAD\x0A/google.cloud.securesourcemanager.v1.PullRequest\x12\x11OperationMetadata\xDAA\x13parent,pull_request\x82\xD3\xE4\x93\x02O\"?/v1/{parent=projects/*/locations/*/repositories/*}/pullRequests:\x0Cpull_request\x12\xCE\x01\x0A\x0EGetPullRequest\x12:.google.cloud.securesourcemanager.v1.GetPullRequestRequest\x1A0.google.cloud.securesourcemanager.v1.PullRequest\"N\xDAA\x04name\x82\xD3\xE4\x93\x02A\x12?/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}\x12\xE1\x01\x0A\x10ListPullRequests\x12<.google.cloud.securesourcemanager.v1.ListPullRequestsRequest\x1A=.google.cloud.securesourcemanager.v1.ListPullRequestsResponse\"P\xDAA\x06parent\x82\xD3\xE4\x93\x02A\x12?/v1/{parent=projects/*/locations/*/repositories/*}/pullRequests\x12\xB8\x02\x0A\x11UpdatePullRequest\x12=.google.cloud.securesourcemanager.v1.UpdatePullRequestRequest\x1A\x1D.google.longrunning.Operation\"\xC4\x01\xCAAD\x0A/google.cloud.securesourcemanager.v1.PullRequest\x12\x11OperationMetadata\xDAA\x18pull_request,update_mask\x82\xD3\xE4\x93\x02\\2L/v1/{pull_request.name=projects/*/locations/*/repositories/*/pullRequests/*}:\x0Cpull_request\x12\x90\x02\x0A\x10MergePullRequest\x12<.google.cloud.securesourcemanager.v1.MergePullRequestRequest\x1A\x1D.google.longrunning.Operation\"\x9E\x01\xCAAD\x0A/google.cloud.securesourcemanager.v1.PullRequest\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02J\"E/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:merge:\x01*\x12\x8D\x02\x0A\x0FOpenPullRequest\x12;.google.cloud.securesourcemanager.v1.OpenPullRequestRequest\x1A\x1D.google.longrunning.Operation\"\x9D\x01\xCAAD\x0A/google.cloud.securesourcemanager.v1.PullRequest\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02I\"D/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:open:\x01*\x12\x90\x02\x0A\x10ClosePullRequest\x12<.google.cloud.securesourcemanager.v1.ClosePullRequestRequest\x1A\x1D.google.longrunning.Operation\"\x9E\x01\xCAAD\x0A/google.cloud.securesourcemanager.v1.PullRequest\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02J\"E/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:close:\x01*\x12\x85\x02\x0A\x18ListPullRequestFileDiffs\x12D.google.cloud.securesourcemanager.v1.ListPullRequestFileDiffsRequest\x1AE.google.cloud.securesourcemanager.v1.ListPullRequestFileDiffsResponse\"\\\xDAA\x04name\x82\xD3\xE4\x93\x02O\x12M/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*}:listFileDiffs\x12\xC4\x01\x0A\x09FetchTree\x125.google.cloud.securesourcemanager.v1.FetchTreeRequest\x1A6.google.cloud.securesourcemanager.v1.FetchTreeResponse\"H\x82\xD3\xE4\x93\x02B\x12@/v1/{repository=projects/*/locations/*/repositories/*}:fetchTree\x12\xC4\x01\x0A\x09FetchBlob\x125.google.cloud.securesourcemanager.v1.FetchBlobRequest\x1A6.google.cloud.securesourcemanager.v1.FetchBlobResponse\"H\x82\xD3\xE4\x93\x02B\x12@/v1/{repository=projects/*/locations/*/repositories/*}:fetchBlob\x12\x80\x02\x0A\x0BCreateIssue\x127.google.cloud.securesourcemanager.v1.CreateIssueRequest\x1A\x1D.google.longrunning.Operation\"\x98\x01\xCAA>\x0A)google.cloud.securesourcemanager.v1.Issue\x12\x11OperationMetadata\xDAA\x0Cparent,issue\x82\xD3\xE4\x93\x02B\"9/v1/{parent=projects/*/locations/*/repositories/*}/issues:\x05issue\x12\xB6\x01\x0A\x08GetIssue\x124.google.cloud.securesourcemanager.v1.GetIssueRequest\x1A*.google.cloud.securesourcemanager.v1.Issue\"H\xDAA\x04name\x82\xD3\xE4\x93\x02;\x129/v1/{name=projects/*/locations/*/repositories/*/issues/*}\x12\xC9\x01\x0A\x0AListIssues\x126.google.cloud.securesourcemanager.v1.ListIssuesRequest\x1A7.google.cloud.securesourcemanager.v1.ListIssuesResponse\"J\xDAA\x06parent\x82\xD3\xE4\x93\x02;\x129/v1/{parent=projects/*/locations/*/repositories/*}/issues\x12\x8B\x02\x0A\x0BUpdateIssue\x127.google.cloud.securesourcemanager.v1.UpdateIssueRequest\x1A\x1D.google.longrunning.Operation\"\xA3\x01\xCAA>\x0A)google.cloud.securesourcemanager.v1.Issue\x12\x11OperationMetadata\xDAA\x11issue,update_mask\x82\xD3\xE4\x93\x02H2?/v1/{issue.name=projects/*/locations/*/repositories/*/issues/*}:\x05issue\x12\xDC\x01\x0A\x0BDeleteIssue\x127.google.cloud.securesourcemanager.v1.DeleteIssueRequest\x1A\x1D.google.longrunning.Operation\"u\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02;*9/v1/{name=projects/*/locations/*/repositories/*/issues/*}\x12\xF5\x01\x0A\x09OpenIssue\x125.google.cloud.securesourcemanager.v1.OpenIssueRequest\x1A\x1D.google.longrunning.Operation\"\x91\x01\xCAA>\x0A)google.cloud.securesourcemanager.v1.Issue\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02C\">/v1/{name=projects/*/locations/*/repositories/*/issues/*}:open:\x01*\x12\xF8\x01\x0A\x0ACloseIssue\x126.google.cloud.securesourcemanager.v1.CloseIssueRequest\x1A\x1D.google.longrunning.Operation\"\x92\x01\xCAA>\x0A)google.cloud.securesourcemanager.v1.Issue\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02D\"?/v1/{name=projects/*/locations/*/repositories/*/issues/*}:close:\x01*\x12\xF9\x01\x0A\x15GetPullRequestComment\x12A.google.cloud.securesourcemanager.v1.GetPullRequestCommentRequest\x1A7.google.cloud.securesourcemanager.v1.PullRequestComment\"d\xDAA\x04name\x82\xD3\xE4\x93\x02W\x12U/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*/pullRequestComments/*}\x12\x8C\x02\x0A\x17ListPullRequestComments\x12C.google.cloud.securesourcemanager.v1.ListPullRequestCommentsRequest\x1AD.google.cloud.securesourcemanager.v1.ListPullRequestCommentsResponse\"f\xDAA\x06parent\x82\xD3\xE4\x93\x02W\x12U/v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments\x12\xE1\x02\x0A\x18CreatePullRequestComment\x12D.google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequest\x1A\x1D.google.longrunning.Operation\"\xDF\x01\xCAAK\x0A6google.cloud.securesourcemanager.v1.PullRequestComment\x12\x11OperationMetadata\xDAA\x1Bparent,pull_request_comment\x82\xD3\xE4\x93\x02m\"U/v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:\x14pull_request_comment\x12\xFC\x02\x0A\x18UpdatePullRequestComment\x12D.google.cloud.securesourcemanager.v1.UpdatePullRequestCommentRequest\x1A\x1D.google.longrunning.Operation\"\xFA\x01\xCAAK\x0A6google.cloud.securesourcemanager.v1.PullRequestComment\x12\x11OperationMetadata\xDAA pull_request_comment,update_mask\x82\xD3\xE4\x93\x02\x82\x012j/v1/{pull_request_comment.name=projects/*/locations/*/repositories/*/pullRequests/*/pullRequestComments/*}:\x14pull_request_comment\x12\x93\x02\x0A\x18DeletePullRequestComment\x12D.google.cloud.securesourcemanager.v1.DeletePullRequestCommentRequest\x1A\x1D.google.longrunning.Operation\"\x91\x01\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02W*U/v1/{name=projects/*/locations/*/repositories/*/pullRequests/*/pullRequestComments/*}\x12\xCA\x02\x0A\x1EBatchCreatePullRequestComments\x12J.google.cloud.securesourcemanager.v1.BatchCreatePullRequestCommentsRequest\x1A\x1D.google.longrunning.Operation\"\xBC\x01\xCAA;\x0A&BatchCreatePullRequestCommentsResponse\x12\x11OperationMetadata\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02f\"a/v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:batchCreate:\x01*\x12\xB7\x02\x0A\x1AResolvePullRequestComments\x12F.google.cloud.securesourcemanager.v1.ResolvePullRequestCommentsRequest\x1A\x1D.google.longrunning.Operation\"\xB1\x01\xCAA7\x0A\"ResolvePullRequestCommentsResponse\x12\x11OperationMetadata\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02b\"]/v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:resolve:\x01*\x12\xBF\x02\x0A\x1CUnresolvePullRequestComments\x12H.google.cloud.securesourcemanager.v1.UnresolvePullRequestCommentsRequest\x1A\x1D.google.longrunning.Operation\"\xB5\x01\xCAA9\x0A\$UnresolvePullRequestCommentsResponse\x12\x11OperationMetadata\xDAA\x0Cparent,names\x82\xD3\xE4\x93\x02d\"_/v1/{parent=projects/*/locations/*/repositories/*/pullRequests/*}/pullRequestComments:unresolve:\x01*\x12\xB5\x02\x0A\x12CreateIssueComment\x12>.google.cloud.securesourcemanager.v1.CreateIssueCommentRequest\x1A\x1D.google.longrunning.Operation\"\xBF\x01\xCAAE\x0A0google.cloud.securesourcemanager.v1.IssueComment\x12\x11OperationMetadata\xDAA\x14parent,issue_comment\x82\xD3\xE4\x93\x02Z\"I/v1/{parent=projects/*/locations/*/repositories/*/issues/*}/issueComments:\x0Dissue_comment\x12\xDB\x01\x0A\x0FGetIssueComment\x12;.google.cloud.securesourcemanager.v1.GetIssueCommentRequest\x1A1.google.cloud.securesourcemanager.v1.IssueComment\"X\xDAA\x04name\x82\xD3\xE4\x93\x02K\x12I/v1/{name=projects/*/locations/*/repositories/*/issues/*/issueComments/*}\x12\xEE\x01\x0A\x11ListIssueComments\x12=.google.cloud.securesourcemanager.v1.ListIssueCommentsRequest\x1A>.google.cloud.securesourcemanager.v1.ListIssueCommentsResponse\"Z\xDAA\x06parent\x82\xD3\xE4\x93\x02K\x12I/v1/{parent=projects/*/locations/*/repositories/*/issues/*}/issueComments\x12\xC8\x02\x0A\x12UpdateIssueComment\x12>.google.cloud.securesourcemanager.v1.UpdateIssueCommentRequest\x1A\x1D.google.longrunning.Operation\"\xD2\x01\xCAAE\x0A0google.cloud.securesourcemanager.v1.IssueComment\x12\x11OperationMetadata\xDAA\x19issue_comment,update_mask\x82\xD3\xE4\x93\x02h2W/v1/{issue_comment.name=projects/*/locations/*/repositories/*/issues/*/issueComments/*}:\x0Dissue_comment\x12\xFB\x01\x0A\x12DeleteIssueComment\x12>.google.cloud.securesourcemanager.v1.DeleteIssueCommentRequest\x1A\x1D.google.longrunning.Operation\"\x85\x01\xCAA*\x0A\x15google.protobuf.Empty\x12\x11OperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02K*I/v1/{name=projects/*/locations/*/repositories/*/issues/*/issueComments/*}\x1AV\xCAA\"securesourcemanager.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xE9\x04\x0A'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\xEAAx\x0A!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xEAA\\\x0A\x1Fprivateca.googleapis.com/CaPool\x129projects/{project}/locations/{location}/caPools/{ca_pool}\xEAAw\x0A(compute.googleapis.com/ServiceAttachment\x12Kprojects/{project}/regions/{region}/serviceAttachments/{service_attachment}b\x06proto3" , true); static::$is_initialized = true; diff --git a/SecureSourceManager/samples/V1/SecureSourceManagerClient/batch_create_pull_request_comments.php b/SecureSourceManager/samples/V1/SecureSourceManagerClient/batch_create_pull_request_comments.php index 08877727c889..2423f81f570a 100644 --- a/SecureSourceManager/samples/V1/SecureSourceManagerClient/batch_create_pull_request_comments.php +++ b/SecureSourceManager/samples/V1/SecureSourceManagerClient/batch_create_pull_request_comments.php @@ -36,7 +36,7 @@ * Batch creates pull request comments. This function is used to create * multiple PullRequestComments for code review. There needs to be exactly one * PullRequestComment of type Review, and at most 100 PullRequestComments of - * type Code per request. The Postition of the code comments must be unique + * type Code per request. The Position of the code comments must be unique * within the request. * * @param string $formattedParent The pull request in which to create the pull request comments. diff --git a/SecureSourceManager/samples/V1/SecureSourceManagerClient/list_locations.php b/SecureSourceManager/samples/V1/SecureSourceManagerClient/list_locations.php index 86f137d7475e..ec43bf7e5711 100644 --- a/SecureSourceManager/samples/V1/SecureSourceManagerClient/list_locations.php +++ b/SecureSourceManager/samples/V1/SecureSourceManagerClient/list_locations.php @@ -31,6 +31,22 @@ /** * Lists information about the supported locations for this service. + +This method lists locations based on the resource scope provided in +the [ListLocationsRequest.name] field: + +* **Global locations**: If `name` is empty, the method lists the +public locations available to all projects. * **Project-specific +locations**: If `name` follows the format +`projects/{project}`, the method lists locations visible to that +specific project. This includes public, private, or other +project-specific locations enabled for the project. + +For gRPC and client library implementations, the resource name is +passed as the `name` field. For direct service calls, the resource +name is +incorporated into the request path based on the specific service +implementation and version. * * This sample has been automatically generated and should be regarded as a code * template only. It will require modifications to work: diff --git a/SecureSourceManager/samples/V1/SecureSourceManagerClient/update_branch_rule.php b/SecureSourceManager/samples/V1/SecureSourceManagerClient/update_branch_rule.php index 6baafcb1d6b8..8b31bbe3cdbc 100644 --- a/SecureSourceManager/samples/V1/SecureSourceManagerClient/update_branch_rule.php +++ b/SecureSourceManager/samples/V1/SecureSourceManagerClient/update_branch_rule.php @@ -28,7 +28,6 @@ use Google\Cloud\SecureSourceManager\V1\BranchRule; use Google\Cloud\SecureSourceManager\V1\Client\SecureSourceManagerClient; use Google\Cloud\SecureSourceManager\V1\UpdateBranchRuleRequest; -use Google\Protobuf\FieldMask; use Google\Rpc\Status; /** @@ -47,10 +46,8 @@ function update_branch_rule_sample(): void // Prepare the request message. $branchRule = new BranchRule(); - $updateMask = new FieldMask(); $request = (new UpdateBranchRuleRequest()) - ->setBranchRule($branchRule) - ->setUpdateMask($updateMask); + ->setBranchRule($branchRule); // Call the API and handle any network failures. try { diff --git a/SecureSourceManager/samples/V1/SecureSourceManagerClient/update_hook.php b/SecureSourceManager/samples/V1/SecureSourceManagerClient/update_hook.php index 3b6f85c4e0a5..645dddce2a62 100644 --- a/SecureSourceManager/samples/V1/SecureSourceManagerClient/update_hook.php +++ b/SecureSourceManager/samples/V1/SecureSourceManagerClient/update_hook.php @@ -28,7 +28,6 @@ use Google\Cloud\SecureSourceManager\V1\Client\SecureSourceManagerClient; use Google\Cloud\SecureSourceManager\V1\Hook; use Google\Cloud\SecureSourceManager\V1\UpdateHookRequest; -use Google\Protobuf\FieldMask; use Google\Rpc\Status; /** @@ -42,11 +41,9 @@ function update_hook_sample(string $hookTargetUri): void $secureSourceManagerClient = new SecureSourceManagerClient(); // Prepare the request message. - $updateMask = new FieldMask(); $hook = (new Hook()) ->setTargetUri($hookTargetUri); $request = (new UpdateHookRequest()) - ->setUpdateMask($updateMask) ->setHook($hook); // Call the API and handle any network failures. diff --git a/SecureSourceManager/src/V1/BranchRule.php b/SecureSourceManager/src/V1/BranchRule.php index 67e422c6e7ff..a78b823d4027 100644 --- a/SecureSourceManager/src/V1/BranchRule.php +++ b/SecureSourceManager/src/V1/BranchRule.php @@ -17,17 +17,17 @@ class BranchRule extends \Google\Protobuf\Internal\Message { /** - * Optional. A unique identifier for a BranchRule. The name should be of the + * Identifier. A unique identifier for a BranchRule. The name should be of the * format: * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** * Output only. Unique identifier of the repository. * - * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { */ protected $uid = ''; /** @@ -93,6 +93,13 @@ class BranchRule extends \Google\Protobuf\Internal\Message * Generated from protobuf field int32 minimum_approvals_count = 11 [(.google.api.field_behavior) = OPTIONAL]; */ protected $minimum_approvals_count = 0; + /** + * Optional. Determines if code owners must approve before merging to the + * branch. + * + * Generated from protobuf field bool require_code_owner_approval = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $require_code_owner_approval = false; /** * Optional. Determines if require comments resolved before merging to the * branch. @@ -128,7 +135,7 @@ class BranchRule extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Optional. A unique identifier for a BranchRule. The name should be of the + * Identifier. A unique identifier for a BranchRule. The name should be of the * format: * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` * @type string $uid @@ -160,6 +167,9 @@ class BranchRule extends \Google\Protobuf\Internal\Message * @type int $minimum_approvals_count * Optional. The minimum number of approvals required for the branch rule to * be matched. + * @type bool $require_code_owner_approval + * Optional. Determines if code owners must approve before merging to the + * branch. * @type bool $require_comments_resolved * Optional. Determines if require comments resolved before merging to the * branch. @@ -179,11 +189,11 @@ public function __construct($data = NULL) { } /** - * Optional. A unique identifier for a BranchRule. The name should be of the + * Identifier. A unique identifier for a BranchRule. The name should be of the * format: * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -192,11 +202,11 @@ public function getName() } /** - * Optional. A unique identifier for a BranchRule. The name should be of the + * Identifier. A unique identifier for a BranchRule. The name should be of the * format: * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ @@ -211,7 +221,7 @@ public function setName($var) /** * Output only. Unique identifier of the repository. * - * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { * @return string */ public function getUid() @@ -222,7 +232,7 @@ public function getUid() /** * Output only. Unique identifier of the repository. * - * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { * @param string $var * @return $this */ @@ -506,6 +516,34 @@ public function setMinimumApprovalsCount($var) return $this; } + /** + * Optional. Determines if code owners must approve before merging to the + * branch. + * + * Generated from protobuf field bool require_code_owner_approval = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getRequireCodeOwnerApproval() + { + return $this->require_code_owner_approval; + } + + /** + * Optional. Determines if code owners must approve before merging to the + * branch. + * + * Generated from protobuf field bool require_code_owner_approval = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setRequireCodeOwnerApproval($var) + { + GPBUtil::checkBool($var); + $this->require_code_owner_approval = $var; + + return $this; + } + /** * Optional. Determines if require comments resolved before merging to the * branch. diff --git a/SecureSourceManager/src/V1/Client/SecureSourceManagerClient.php b/SecureSourceManager/src/V1/Client/SecureSourceManagerClient.php index 04dbcf07647d..912579ad287e 100644 --- a/SecureSourceManager/src/V1/Client/SecureSourceManagerClient.php +++ b/SecureSourceManager/src/V1/Client/SecureSourceManagerClient.php @@ -663,7 +663,7 @@ public function __call($method, $args) * Batch creates pull request comments. This function is used to create * multiple PullRequestComments for code review. There needs to be exactly one * PullRequestComment of type Review, and at most 100 PullRequestComments of - * type Code per request. The Postition of the code comments must be unique + * type Code per request. The Position of the code comments must be unique * within the request. * * The async variant is @@ -2188,6 +2188,22 @@ public function getLocation(GetLocationRequest $request, array $callOptions = [] /** * Lists information about the supported locations for this service. + + This method lists locations based on the resource scope provided in + the [ListLocationsRequest.name] field: + + * **Global locations**: If `name` is empty, the method lists the + public locations available to all projects. * **Project-specific + locations**: If `name` follows the format + `projects/{project}`, the method lists locations visible to that + specific project. This includes public, private, or other + project-specific locations enabled for the project. + + For gRPC and client library implementations, the resource name is + passed as the `name` field. For direct service calls, the resource + name is + incorporated into the request path based on the specific service + implementation and version. * * The async variant is {@see SecureSourceManagerClient::listLocationsAsync()} . * diff --git a/SecureSourceManager/src/V1/CreateInstanceRequest.php b/SecureSourceManager/src/V1/CreateInstanceRequest.php index 4490c2377008..a0094b4d8bdf 100644 --- a/SecureSourceManager/src/V1/CreateInstanceRequest.php +++ b/SecureSourceManager/src/V1/CreateInstanceRequest.php @@ -46,7 +46,7 @@ class CreateInstanceRequest extends \Google\Protobuf\Internal\Message * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * - * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { */ protected $request_id = ''; @@ -200,7 +200,7 @@ public function setInstance($var) * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * - * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { * @return string */ public function getRequestId() @@ -221,7 +221,7 @@ public function getRequestId() * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * - * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { * @param string $var * @return $this */ diff --git a/SecureSourceManager/src/V1/DeleteInstanceRequest.php b/SecureSourceManager/src/V1/DeleteInstanceRequest.php index 4010fd75cce1..b4cd224f4619 100644 --- a/SecureSourceManager/src/V1/DeleteInstanceRequest.php +++ b/SecureSourceManager/src/V1/DeleteInstanceRequest.php @@ -34,9 +34,15 @@ class DeleteInstanceRequest extends \Google\Protobuf\Internal\Message * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * - * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { */ protected $request_id = ''; + /** + * Optional. If set to true, will force the deletion of the instance. + * + * Generated from protobuf field bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $force = false; /** * @param string $name Required. Name of the resource. Please see @@ -72,6 +78,8 @@ public static function build(string $name): self * clients from accidentally creating duplicate commitments. * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). + * @type bool $force + * Optional. If set to true, will force the deletion of the instance. * } */ public function __construct($data = NULL) { @@ -118,7 +126,7 @@ public function setName($var) * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * - * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { * @return string */ public function getRequestId() @@ -139,7 +147,7 @@ public function getRequestId() * The request ID must be a valid UUID with the exception that zero UUID is * not supported (00000000-0000-0000-0000-000000000000). * - * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { * @param string $var * @return $this */ @@ -151,5 +159,31 @@ public function setRequestId($var) return $this; } + /** + * Optional. If set to true, will force the deletion of the instance. + * + * Generated from protobuf field bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getForce() + { + return $this->force; + } + + /** + * Optional. If set to true, will force the deletion of the instance. + * + * Generated from protobuf field bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setForce($var) + { + GPBUtil::checkBool($var); + $this->force = $var; + + return $this; + } + } diff --git a/SecureSourceManager/src/V1/Hook.php b/SecureSourceManager/src/V1/Hook.php index 1881035cd344..e18abfdb8fda 100644 --- a/SecureSourceManager/src/V1/Hook.php +++ b/SecureSourceManager/src/V1/Hook.php @@ -57,7 +57,7 @@ class Hook extends \Google\Protobuf\Internal\Message /** * Output only. Unique identifier of the hook. * - * Generated from protobuf field string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { */ protected $uid = ''; /** @@ -292,7 +292,7 @@ public function setUpdateTime($var) /** * Output only. Unique identifier of the hook. * - * Generated from protobuf field string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { * @return string */ public function getUid() @@ -303,7 +303,7 @@ public function getUid() /** * Output only. Unique identifier of the hook. * - * Generated from protobuf field string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { * @param string $var * @return $this */ diff --git a/SecureSourceManager/src/V1/Instance.php b/SecureSourceManager/src/V1/Instance.php index a3c86d63f861..a5310a8becd3 100644 --- a/SecureSourceManager/src/V1/Instance.php +++ b/SecureSourceManager/src/V1/Instance.php @@ -16,7 +16,7 @@ class Instance extends \Google\Protobuf\Internal\Message { /** - * Optional. A unique identifier for an instance. The name should be of the + * Identifier. A unique identifier for an instance. The name should be of the * format: * `projects/{project_number}/locations/{location_id}/instances/{instance_id}` * `project_number`: Maps to a unique int64 id assigned to each project. @@ -26,7 +26,7 @@ class Instance extends \Google\Protobuf\Internal\Message * `instance_id`: User provided name for the instance, must be unique for a * project_number and location_id combination. * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -43,6 +43,10 @@ class Instance extends \Google\Protobuf\Internal\Message protected $update_time = null; /** * Optional. Labels as key value pairs. + * Keys and values can contain only lowercase letters, numeric characters, + * underscores, and dashes. + * For more information, see [Requirements for + * labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding). * * Generated from protobuf field map labels = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -94,7 +98,7 @@ class Instance extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Optional. A unique identifier for an instance. The name should be of the + * Identifier. A unique identifier for an instance. The name should be of the * format: * `projects/{project_number}/locations/{location_id}/instances/{instance_id}` * `project_number`: Maps to a unique int64 id assigned to each project. @@ -109,6 +113,10 @@ class Instance extends \Google\Protobuf\Internal\Message * Output only. Update timestamp. * @type array|\Google\Protobuf\Internal\MapField $labels * Optional. Labels as key value pairs. + * Keys and values can contain only lowercase letters, numeric characters, + * underscores, and dashes. + * For more information, see [Requirements for + * labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding). * @type \Google\Cloud\SecureSourceManager\V1\Instance\PrivateConfig $private_config * Optional. Private settings for private instance. * @type int $state @@ -132,7 +140,7 @@ public function __construct($data = NULL) { } /** - * Optional. A unique identifier for an instance. The name should be of the + * Identifier. A unique identifier for an instance. The name should be of the * format: * `projects/{project_number}/locations/{location_id}/instances/{instance_id}` * `project_number`: Maps to a unique int64 id assigned to each project. @@ -142,7 +150,7 @@ public function __construct($data = NULL) { * `instance_id`: User provided name for the instance, must be unique for a * project_number and location_id combination. * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -151,7 +159,7 @@ public function getName() } /** - * Optional. A unique identifier for an instance. The name should be of the + * Identifier. A unique identifier for an instance. The name should be of the * format: * `projects/{project_number}/locations/{location_id}/instances/{instance_id}` * `project_number`: Maps to a unique int64 id assigned to each project. @@ -161,7 +169,7 @@ public function getName() * `instance_id`: User provided name for the instance, must be unique for a * project_number and location_id combination. * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ @@ -247,6 +255,10 @@ public function setUpdateTime($var) /** * Optional. Labels as key value pairs. + * Keys and values can contain only lowercase letters, numeric characters, + * underscores, and dashes. + * For more information, see [Requirements for + * labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding). * * Generated from protobuf field map labels = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\MapField @@ -258,6 +270,10 @@ public function getLabels() /** * Optional. Labels as key value pairs. + * Keys and values can contain only lowercase letters, numeric characters, + * underscores, and dashes. + * For more information, see [Requirements for + * labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding). * * Generated from protobuf field map labels = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param array|\Google\Protobuf\Internal\MapField $var diff --git a/SecureSourceManager/src/V1/Instance/PrivateConfig.php b/SecureSourceManager/src/V1/Instance/PrivateConfig.php index 10ed0389b9ed..d9216a90aa6e 100644 --- a/SecureSourceManager/src/V1/Instance/PrivateConfig.php +++ b/SecureSourceManager/src/V1/Instance/PrivateConfig.php @@ -50,6 +50,12 @@ class PrivateConfig extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated string psc_allowed_projects = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private $psc_allowed_projects; + /** + * Optional. Custom host config for the instance. + * + * Generated from protobuf field .google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig custom_host_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $custom_host_config = null; /** * Constructor. @@ -72,6 +78,8 @@ class PrivateConfig extends \Google\Protobuf\Internal\Message * Optional. Additional allowed projects for setting up PSC connections. * Instance host project is automatically allowed and does not need to be * included in this list. + * @type \Google\Cloud\SecureSourceManager\V1\Instance\PrivateConfig\CustomHostConfig $custom_host_config + * Optional. Custom host config for the instance. * } */ public function __construct($data = NULL) { @@ -219,5 +227,41 @@ public function setPscAllowedProjects($var) return $this; } + /** + * Optional. Custom host config for the instance. + * + * Generated from protobuf field .google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig custom_host_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\SecureSourceManager\V1\Instance\PrivateConfig\CustomHostConfig|null + */ + public function getCustomHostConfig() + { + return $this->custom_host_config; + } + + public function hasCustomHostConfig() + { + return isset($this->custom_host_config); + } + + public function clearCustomHostConfig() + { + unset($this->custom_host_config); + } + + /** + * Optional. Custom host config for the instance. + * + * Generated from protobuf field .google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig custom_host_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\SecureSourceManager\V1\Instance\PrivateConfig\CustomHostConfig $var + * @return $this + */ + public function setCustomHostConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\SecureSourceManager\V1\Instance\PrivateConfig\CustomHostConfig::class); + $this->custom_host_config = $var; + + return $this; + } + } diff --git a/SecureSourceManager/src/V1/Instance/PrivateConfig/CustomHostConfig.php b/SecureSourceManager/src/V1/Instance/PrivateConfig/CustomHostConfig.php new file mode 100644 index 000000000000..e073e3ba2faa --- /dev/null +++ b/SecureSourceManager/src/V1/Instance/PrivateConfig/CustomHostConfig.php @@ -0,0 +1,185 @@ +google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig + */ +class CustomHostConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The custom UI hostname for the instance, e.g., + * "git.source.internal.mycompany.com" + * + * Generated from protobuf field string html = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $html = ''; + /** + * Required. The custom API hostname for the instance, e.g., + * "api.source.internal.mycompany.com" + * + * Generated from protobuf field string api = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $api = ''; + /** + * Required. The custom git ssh hostname for the instance, e.g., + * "ssh.source.internal.mycompany.com" + * + * Generated from protobuf field string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $git_ssh = ''; + /** + * Required. The custom git http hostname for the instance, e.g., + * "git.source.internal.mycompany.com" + * + * Generated from protobuf field string git_http = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $git_http = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $html + * Required. The custom UI hostname for the instance, e.g., + * "git.source.internal.mycompany.com" + * @type string $api + * Required. The custom API hostname for the instance, e.g., + * "api.source.internal.mycompany.com" + * @type string $git_ssh + * Required. The custom git ssh hostname for the instance, e.g., + * "ssh.source.internal.mycompany.com" + * @type string $git_http + * Required. The custom git http hostname for the instance, e.g., + * "git.source.internal.mycompany.com" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Securesourcemanager\V1\SecureSourceManager::initOnce(); + parent::__construct($data); + } + + /** + * Required. The custom UI hostname for the instance, e.g., + * "git.source.internal.mycompany.com" + * + * Generated from protobuf field string html = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getHtml() + { + return $this->html; + } + + /** + * Required. The custom UI hostname for the instance, e.g., + * "git.source.internal.mycompany.com" + * + * Generated from protobuf field string html = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setHtml($var) + { + GPBUtil::checkString($var, True); + $this->html = $var; + + return $this; + } + + /** + * Required. The custom API hostname for the instance, e.g., + * "api.source.internal.mycompany.com" + * + * Generated from protobuf field string api = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getApi() + { + return $this->api; + } + + /** + * Required. The custom API hostname for the instance, e.g., + * "api.source.internal.mycompany.com" + * + * Generated from protobuf field string api = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setApi($var) + { + GPBUtil::checkString($var, True); + $this->api = $var; + + return $this; + } + + /** + * Required. The custom git ssh hostname for the instance, e.g., + * "ssh.source.internal.mycompany.com" + * + * Generated from protobuf field string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getGitSsh() + { + return $this->git_ssh; + } + + /** + * Required. The custom git ssh hostname for the instance, e.g., + * "ssh.source.internal.mycompany.com" + * + * Generated from protobuf field string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setGitSsh($var) + { + GPBUtil::checkString($var, True); + $this->git_ssh = $var; + + return $this; + } + + /** + * Required. The custom git http hostname for the instance, e.g., + * "git.source.internal.mycompany.com" + * + * Generated from protobuf field string git_http = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getGitHttp() + { + return $this->git_http; + } + + /** + * Required. The custom git http hostname for the instance, e.g., + * "git.source.internal.mycompany.com" + * + * Generated from protobuf field string git_http = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setGitHttp($var) + { + GPBUtil::checkString($var, True); + $this->git_http = $var; + + return $this; + } + +} + diff --git a/SecureSourceManager/src/V1/ListBranchRulesRequest.php b/SecureSourceManager/src/V1/ListBranchRulesRequest.php index 44a30eab405b..3134c3294373 100644 --- a/SecureSourceManager/src/V1/ListBranchRulesRequest.php +++ b/SecureSourceManager/src/V1/ListBranchRulesRequest.php @@ -20,10 +20,15 @@ class ListBranchRulesRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. + * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** + * Optional. A token identifying a page of results the server should return. + * * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; @@ -49,7 +54,10 @@ public static function build(string $parent): self * * @type string $parent * @type int $page_size + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * @type string $page_token + * Optional. A token identifying a page of results the server should return. * } */ public function __construct($data = NULL) { @@ -80,6 +88,9 @@ public function setParent($var) } /** + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. + * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ @@ -89,6 +100,9 @@ public function getPageSize() } /** + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. + * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this @@ -102,6 +116,8 @@ public function setPageSize($var) } /** + * Optional. A token identifying a page of results the server should return. + * * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ @@ -111,6 +127,8 @@ public function getPageToken() } /** + * Optional. A token identifying a page of results the server should return. + * * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this diff --git a/SecureSourceManager/src/V1/ListHooksRequest.php b/SecureSourceManager/src/V1/ListHooksRequest.php index 231cf3f5ba99..51871952979b 100644 --- a/SecureSourceManager/src/V1/ListHooksRequest.php +++ b/SecureSourceManager/src/V1/ListHooksRequest.php @@ -22,8 +22,8 @@ class ListHooksRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -58,8 +58,8 @@ public static function build(string $parent): self * @type string $parent * Required. Parent value for ListHooksRequest. * @type int $page_size - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * @type string $page_token * Optional. A token identifying a page of results the server should return. * } @@ -96,8 +96,8 @@ public function setParent($var) } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int @@ -108,8 +108,8 @@ public function getPageSize() } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var diff --git a/SecureSourceManager/src/V1/ListInstancesRequest.php b/SecureSourceManager/src/V1/ListInstancesRequest.php index d7e9da305cf0..8b5a8d678aef 100644 --- a/SecureSourceManager/src/V1/ListInstancesRequest.php +++ b/SecureSourceManager/src/V1/ListInstancesRequest.php @@ -22,28 +22,28 @@ class ListInstancesRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * Requested page size. Server may return fewer items than requested. - * If unspecified, server will pick an appropriate default. + * Optional. Requested page size. Server may return fewer items than + * requested. If unspecified, server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A token identifying a page of results the server should return. + * Optional. A token identifying a page of results the server should return. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; /** - * Filter for filtering results. + * Optional. Filter for filtering results. * - * Generated from protobuf field string filter = 4; + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; */ protected $filter = ''; /** - * Hint for how to order the results. + * Optional. Hint for how to order the results. * - * Generated from protobuf field string order_by = 5; + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; */ protected $order_by = ''; @@ -70,14 +70,14 @@ public static function build(string $parent): self * @type string $parent * Required. Parent value for ListInstancesRequest. * @type int $page_size - * Requested page size. Server may return fewer items than requested. - * If unspecified, server will pick an appropriate default. + * Optional. Requested page size. Server may return fewer items than + * requested. If unspecified, server will pick an appropriate default. * @type string $page_token - * A token identifying a page of results the server should return. + * Optional. A token identifying a page of results the server should return. * @type string $filter - * Filter for filtering results. + * Optional. Filter for filtering results. * @type string $order_by - * Hint for how to order the results. + * Optional. Hint for how to order the results. * } */ public function __construct($data = NULL) { @@ -112,10 +112,10 @@ public function setParent($var) } /** - * Requested page size. Server may return fewer items than requested. - * If unspecified, server will pick an appropriate default. + * Optional. Requested page size. Server may return fewer items than + * requested. If unspecified, server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -124,10 +124,10 @@ public function getPageSize() } /** - * Requested page size. Server may return fewer items than requested. - * If unspecified, server will pick an appropriate default. + * Optional. Requested page size. Server may return fewer items than + * requested. If unspecified, server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -140,9 +140,9 @@ public function setPageSize($var) } /** - * A token identifying a page of results the server should return. + * Optional. A token identifying a page of results the server should return. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -151,9 +151,9 @@ public function getPageToken() } /** - * A token identifying a page of results the server should return. + * Optional. A token identifying a page of results the server should return. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -166,9 +166,9 @@ public function setPageToken($var) } /** - * Filter for filtering results. + * Optional. Filter for filtering results. * - * Generated from protobuf field string filter = 4; + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getFilter() @@ -177,9 +177,9 @@ public function getFilter() } /** - * Filter for filtering results. + * Optional. Filter for filtering results. * - * Generated from protobuf field string filter = 4; + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -192,9 +192,9 @@ public function setFilter($var) } /** - * Hint for how to order the results. + * Optional. Hint for how to order the results. * - * Generated from protobuf field string order_by = 5; + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getOrderBy() @@ -203,9 +203,9 @@ public function getOrderBy() } /** - * Hint for how to order the results. + * Optional. Hint for how to order the results. * - * Generated from protobuf field string order_by = 5; + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/SecureSourceManager/src/V1/ListIssueCommentsRequest.php b/SecureSourceManager/src/V1/ListIssueCommentsRequest.php index 3306038491bd..94df9bc21333 100644 --- a/SecureSourceManager/src/V1/ListIssueCommentsRequest.php +++ b/SecureSourceManager/src/V1/ListIssueCommentsRequest.php @@ -23,8 +23,8 @@ class ListIssueCommentsRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -61,8 +61,8 @@ public static function build(string $parent): self * Required. The issue in which to list the comments. Format: * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` * @type int $page_size - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * @type string $page_token * Optional. A token identifying a page of results the server should return. * } @@ -101,8 +101,8 @@ public function setParent($var) } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int @@ -113,8 +113,8 @@ public function getPageSize() } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var diff --git a/SecureSourceManager/src/V1/ListIssuesRequest.php b/SecureSourceManager/src/V1/ListIssuesRequest.php index e62fdddb4b82..a8ac09ebc1b9 100644 --- a/SecureSourceManager/src/V1/ListIssuesRequest.php +++ b/SecureSourceManager/src/V1/ListIssuesRequest.php @@ -23,8 +23,8 @@ class ListIssuesRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -67,8 +67,8 @@ public static function build(string $parent): self * Required. The repository in which to list issues. Format: * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` * @type int $page_size - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * @type string $page_token * Optional. A token identifying a page of results the server should return. * @type string $filter @@ -109,8 +109,8 @@ public function setParent($var) } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int @@ -121,8 +121,8 @@ public function getPageSize() } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var diff --git a/SecureSourceManager/src/V1/ListPullRequestCommentsRequest.php b/SecureSourceManager/src/V1/ListPullRequestCommentsRequest.php index 69060a8c7445..af4de23807bc 100644 --- a/SecureSourceManager/src/V1/ListPullRequestCommentsRequest.php +++ b/SecureSourceManager/src/V1/ListPullRequestCommentsRequest.php @@ -23,9 +23,8 @@ class ListPullRequestCommentsRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * Optional. Requested page size. If unspecified, at most 100 pull request - * comments will be returned. The maximum value is 100; values above 100 will - * be coerced to 100. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -62,9 +61,8 @@ public static function build(string $parent): self * Required. The pull request in which to list pull request comments. Format: * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` * @type int $page_size - * Optional. Requested page size. If unspecified, at most 100 pull request - * comments will be returned. The maximum value is 100; values above 100 will - * be coerced to 100. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * @type string $page_token * Optional. A token identifying a page of results the server should return. * } @@ -103,9 +101,8 @@ public function setParent($var) } /** - * Optional. Requested page size. If unspecified, at most 100 pull request - * comments will be returned. The maximum value is 100; values above 100 will - * be coerced to 100. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int @@ -116,9 +113,8 @@ public function getPageSize() } /** - * Optional. Requested page size. If unspecified, at most 100 pull request - * comments will be returned. The maximum value is 100; values above 100 will - * be coerced to 100. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var diff --git a/SecureSourceManager/src/V1/ListPullRequestFileDiffsRequest.php b/SecureSourceManager/src/V1/ListPullRequestFileDiffsRequest.php index fe5d8cf40f75..4f3c0ed6584d 100644 --- a/SecureSourceManager/src/V1/ListPullRequestFileDiffsRequest.php +++ b/SecureSourceManager/src/V1/ListPullRequestFileDiffsRequest.php @@ -25,8 +25,8 @@ class ListPullRequestFileDiffsRequest extends \Google\Protobuf\Internal\Message */ protected $name = ''; /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -65,8 +65,8 @@ public static function build(string $name): self * Format: * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` * @type int $page_size - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * @type string $page_token * Optional. A token identifying a page of results the server should return. * } @@ -107,8 +107,8 @@ public function setName($var) } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int @@ -119,8 +119,8 @@ public function getPageSize() } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var diff --git a/SecureSourceManager/src/V1/ListPullRequestsRequest.php b/SecureSourceManager/src/V1/ListPullRequestsRequest.php index adf26cf384d5..8da23667714b 100644 --- a/SecureSourceManager/src/V1/ListPullRequestsRequest.php +++ b/SecureSourceManager/src/V1/ListPullRequestsRequest.php @@ -23,8 +23,8 @@ class ListPullRequestsRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -61,8 +61,8 @@ public static function build(string $parent): self * Required. The repository in which to list pull requests. Format: * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` * @type int $page_size - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * @type string $page_token * Optional. A token identifying a page of results the server should return. * } @@ -101,8 +101,8 @@ public function setParent($var) } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int @@ -113,8 +113,8 @@ public function getPageSize() } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var diff --git a/SecureSourceManager/src/V1/ListRepositoriesRequest.php b/SecureSourceManager/src/V1/ListRepositoriesRequest.php index 1aa29da41743..3fe139d5064c 100644 --- a/SecureSourceManager/src/V1/ListRepositoriesRequest.php +++ b/SecureSourceManager/src/V1/ListRepositoriesRequest.php @@ -22,16 +22,16 @@ class ListRepositoriesRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A token identifying a page of results the server should return. + * Optional. A token identifying a page of results the server should return. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; /** @@ -75,10 +75,10 @@ public static function build(string $parent): self * @type string $parent * Required. Parent value for ListRepositoriesRequest. * @type int $page_size - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * @type string $page_token - * A token identifying a page of results the server should return. + * Optional. A token identifying a page of results the server should return. * @type string $filter * Optional. Filter results. * @type string $instance @@ -122,8 +122,8 @@ public function setParent($var) } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int @@ -134,8 +134,8 @@ public function getPageSize() } /** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. + * Optional. Requested page size. If unspecified, a default size of 30 will be + * used. The maximum value is 100; values above 100 will be coerced to 100. * * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var @@ -150,9 +150,9 @@ public function setPageSize($var) } /** - * A token identifying a page of results the server should return. + * Optional. A token identifying a page of results the server should return. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -161,9 +161,9 @@ public function getPageToken() } /** - * A token identifying a page of results the server should return. + * Optional. A token identifying a page of results the server should return. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/SecureSourceManager/src/V1/PullRequest.php b/SecureSourceManager/src/V1/PullRequest.php index 8aaa08f72f81..8f6c0fd4ff36 100644 --- a/SecureSourceManager/src/V1/PullRequest.php +++ b/SecureSourceManager/src/V1/PullRequest.php @@ -17,11 +17,11 @@ class PullRequest extends \Google\Protobuf\Internal\Message { /** - * Output only. A unique identifier for a PullRequest. The number appended at - * the end is generated by the server. Format: + * Output only. Identifier. A unique identifier for a PullRequest. The number + * appended at the end is generated by the server. Format: * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $name = ''; /** @@ -82,8 +82,8 @@ class PullRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. A unique identifier for a PullRequest. The number appended at - * the end is generated by the server. Format: + * Output only. Identifier. A unique identifier for a PullRequest. The number + * appended at the end is generated by the server. Format: * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` * @type string $title * Required. The pull request title. @@ -111,11 +111,11 @@ public function __construct($data = NULL) { } /** - * Output only. A unique identifier for a PullRequest. The number appended at - * the end is generated by the server. Format: + * Output only. Identifier. A unique identifier for a PullRequest. The number + * appended at the end is generated by the server. Format: * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getName() @@ -124,11 +124,11 @@ public function getName() } /** - * Output only. A unique identifier for a PullRequest. The number appended at - * the end is generated by the server. Format: + * Output only. Identifier. A unique identifier for a PullRequest. The number + * appended at the end is generated by the server. Format: * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ diff --git a/SecureSourceManager/src/V1/Repository.php b/SecureSourceManager/src/V1/Repository.php index 7901c4a6929f..bad0b241613b 100644 --- a/SecureSourceManager/src/V1/Repository.php +++ b/SecureSourceManager/src/V1/Repository.php @@ -16,11 +16,11 @@ class Repository extends \Google\Protobuf\Internal\Message { /** - * Optional. A unique identifier for a repository. The name should be of the + * Identifier. A unique identifier for a repository. The name should be of the * format: * `projects/{project}/locations/{location_id}/repositories/{repository_id}` * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -44,7 +44,7 @@ class Repository extends \Google\Protobuf\Internal\Message /** * Output only. Unique identifier of the repository. * - * Generated from protobuf field string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { */ protected $uid = ''; /** @@ -87,7 +87,7 @@ class Repository extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Optional. A unique identifier for a repository. The name should be of the + * Identifier. A unique identifier for a repository. The name should be of the * format: * `projects/{project}/locations/{location_id}/repositories/{repository_id}` * @type string $description @@ -122,11 +122,11 @@ public function __construct($data = NULL) { } /** - * Optional. A unique identifier for a repository. The name should be of the + * Identifier. A unique identifier for a repository. The name should be of the * format: * `projects/{project}/locations/{location_id}/repositories/{repository_id}` * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -135,11 +135,11 @@ public function getName() } /** - * Optional. A unique identifier for a repository. The name should be of the + * Identifier. A unique identifier for a repository. The name should be of the * format: * `projects/{project}/locations/{location_id}/repositories/{repository_id}` * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ @@ -218,7 +218,7 @@ public function setInstance($var) /** * Output only. Unique identifier of the repository. * - * Generated from protobuf field string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { * @return string */ public function getUid() @@ -229,7 +229,7 @@ public function getUid() /** * Output only. Unique identifier of the repository. * - * Generated from protobuf field string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { * @param string $var * @return $this */ diff --git a/SecureSourceManager/src/V1/UpdateBranchRuleRequest.php b/SecureSourceManager/src/V1/UpdateBranchRuleRequest.php index 9b5dec141e25..66109374c7df 100644 --- a/SecureSourceManager/src/V1/UpdateBranchRuleRequest.php +++ b/SecureSourceManager/src/V1/UpdateBranchRuleRequest.php @@ -27,19 +27,19 @@ class UpdateBranchRuleRequest extends \Google\Protobuf\Internal\Message */ protected $validate_only = false; /** - * Required. Field mask is used to specify the fields to be overwritten in the + * Optional. Field mask is used to specify the fields to be overwritten in the * branchRule resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. * The special value "*" means full replacement. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $update_mask = null; /** * @param \Google\Cloud\SecureSourceManager\V1\BranchRule $branchRule - * @param \Google\Protobuf\FieldMask $updateMask Required. Field mask is used to specify the fields to be overwritten in the + * @param \Google\Protobuf\FieldMask $updateMask Optional. Field mask is used to specify the fields to be overwritten in the * branchRule resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. @@ -67,7 +67,7 @@ public static function build(\Google\Cloud\SecureSourceManager\V1\BranchRule $br * Optional. If set, validate the request and preview the review, but do not * actually post it. (https://google.aip.dev/163, for declarative friendly) * @type \Google\Protobuf\FieldMask $update_mask - * Required. Field mask is used to specify the fields to be overwritten in the + * Optional. Field mask is used to specify the fields to be overwritten in the * branchRule resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. @@ -140,13 +140,13 @@ public function setValidateOnly($var) } /** - * Required. Field mask is used to specify the fields to be overwritten in the + * Optional. Field mask is used to specify the fields to be overwritten in the * branchRule resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. * The special value "*" means full replacement. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\FieldMask|null */ public function getUpdateMask() @@ -165,13 +165,13 @@ public function clearUpdateMask() } /** - * Required. Field mask is used to specify the fields to be overwritten in the + * Optional. Field mask is used to specify the fields to be overwritten in the * branchRule resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. * The special value "*" means full replacement. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param \Google\Protobuf\FieldMask $var * @return $this */ diff --git a/SecureSourceManager/src/V1/UpdateHookRequest.php b/SecureSourceManager/src/V1/UpdateHookRequest.php index 7bfc6b0a5165..44200539befc 100644 --- a/SecureSourceManager/src/V1/UpdateHookRequest.php +++ b/SecureSourceManager/src/V1/UpdateHookRequest.php @@ -16,13 +16,13 @@ class UpdateHookRequest extends \Google\Protobuf\Internal\Message { /** - * Required. Field mask is used to specify the fields to be overwritten in the + * Optional. Field mask is used to specify the fields to be overwritten in the * hook resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. * The special value "*" means full replacement. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ protected $update_mask = null; /** @@ -34,7 +34,7 @@ class UpdateHookRequest extends \Google\Protobuf\Internal\Message /** * @param \Google\Cloud\SecureSourceManager\V1\Hook $hook Required. The hook being updated. - * @param \Google\Protobuf\FieldMask $updateMask Required. Field mask is used to specify the fields to be overwritten in the + * @param \Google\Protobuf\FieldMask $updateMask Optional. Field mask is used to specify the fields to be overwritten in the * hook resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. @@ -58,7 +58,7 @@ public static function build(\Google\Cloud\SecureSourceManager\V1\Hook $hook, \G * Optional. Data for populating the Message object. * * @type \Google\Protobuf\FieldMask $update_mask - * Required. Field mask is used to specify the fields to be overwritten in the + * Optional. Field mask is used to specify the fields to be overwritten in the * hook resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. @@ -73,13 +73,13 @@ public function __construct($data = NULL) { } /** - * Required. Field mask is used to specify the fields to be overwritten in the + * Optional. Field mask is used to specify the fields to be overwritten in the * hook resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. * The special value "*" means full replacement. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\FieldMask|null */ public function getUpdateMask() @@ -98,13 +98,13 @@ public function clearUpdateMask() } /** - * Required. Field mask is used to specify the fields to be overwritten in the + * Optional. Field mask is used to specify the fields to be overwritten in the * hook resource by the update. * The fields specified in the update_mask are relative to the resource, not * the full request. A field will be overwritten if it is in the mask. * The special value "*" means full replacement. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED]; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param \Google\Protobuf\FieldMask $var * @return $this */ diff --git a/SecureSourceManager/src/V1/resources/secure_source_manager_rest_client_config.php b/SecureSourceManager/src/V1/resources/secure_source_manager_rest_client_config.php index e52272346a7d..242641e44cff 100644 --- a/SecureSourceManager/src/V1/resources/secure_source_manager_rest_client_config.php +++ b/SecureSourceManager/src/V1/resources/secure_source_manager_rest_client_config.php @@ -584,9 +584,6 @@ ], ], ], - 'queryParams' => [ - 'update_mask', - ], ], 'UpdateHook' => [ 'method' => 'patch', @@ -600,9 +597,6 @@ ], ], ], - 'queryParams' => [ - 'update_mask', - ], ], 'UpdateIssue' => [ 'method' => 'patch', diff --git a/SecureSourceManager/tests/Unit/V1/Client/SecureSourceManagerClientTest.php b/SecureSourceManager/tests/Unit/V1/Client/SecureSourceManagerClientTest.php index b7bd58a6c189..840b9d71e074 100644 --- a/SecureSourceManager/tests/Unit/V1/Client/SecureSourceManagerClientTest.php +++ b/SecureSourceManager/tests/Unit/V1/Client/SecureSourceManagerClientTest.php @@ -114,7 +114,6 @@ use Google\LongRunning\GetOperationRequest; use Google\LongRunning\Operation; use Google\Protobuf\Any; -use Google\Protobuf\FieldMask; use Google\Protobuf\GPBEmpty; use Google\Rpc\Code; use stdClass; @@ -568,6 +567,7 @@ public function createBranchRuleTest() $requirePullRequest = false; $minimumReviewsCount = 672799098; $minimumApprovalsCount = 579210129; + $requireCodeOwnerApproval = false; $requireCommentsResolved = false; $allowStaleReviews = false; $requireLinearHistory = true; @@ -580,6 +580,7 @@ public function createBranchRuleTest() $expectedResponse->setRequirePullRequest($requirePullRequest); $expectedResponse->setMinimumReviewsCount($minimumReviewsCount); $expectedResponse->setMinimumApprovalsCount($minimumApprovalsCount); + $expectedResponse->setRequireCodeOwnerApproval($requireCodeOwnerApproval); $expectedResponse->setRequireCommentsResolved($requireCommentsResolved); $expectedResponse->setAllowStaleReviews($allowStaleReviews); $expectedResponse->setRequireLinearHistory($requireLinearHistory); @@ -2751,6 +2752,7 @@ public function getBranchRuleTest() $requirePullRequest = false; $minimumReviewsCount = 672799098; $minimumApprovalsCount = 579210129; + $requireCodeOwnerApproval = false; $requireCommentsResolved = false; $allowStaleReviews = false; $requireLinearHistory = true; @@ -2763,6 +2765,7 @@ public function getBranchRuleTest() $expectedResponse->setRequirePullRequest($requirePullRequest); $expectedResponse->setMinimumReviewsCount($minimumReviewsCount); $expectedResponse->setMinimumApprovalsCount($minimumApprovalsCount); + $expectedResponse->setRequireCodeOwnerApproval($requireCodeOwnerApproval); $expectedResponse->setRequireCommentsResolved($requireCommentsResolved); $expectedResponse->setAllowStaleReviews($allowStaleReviews); $expectedResponse->setRequireLinearHistory($requireLinearHistory); @@ -4898,6 +4901,7 @@ public function updateBranchRuleTest() $requirePullRequest = false; $minimumReviewsCount = 672799098; $minimumApprovalsCount = 579210129; + $requireCodeOwnerApproval = false; $requireCommentsResolved = false; $allowStaleReviews = false; $requireLinearHistory = true; @@ -4910,6 +4914,7 @@ public function updateBranchRuleTest() $expectedResponse->setRequirePullRequest($requirePullRequest); $expectedResponse->setMinimumReviewsCount($minimumReviewsCount); $expectedResponse->setMinimumApprovalsCount($minimumApprovalsCount); + $expectedResponse->setRequireCodeOwnerApproval($requireCodeOwnerApproval); $expectedResponse->setRequireCommentsResolved($requireCommentsResolved); $expectedResponse->setAllowStaleReviews($allowStaleReviews); $expectedResponse->setRequireLinearHistory($requireLinearHistory); @@ -4922,8 +4927,7 @@ public function updateBranchRuleTest() $operationsTransport->addResponse($completeOperation); // Mock request $branchRule = new BranchRule(); - $updateMask = new FieldMask(); - $request = (new UpdateBranchRuleRequest())->setBranchRule($branchRule)->setUpdateMask($updateMask); + $request = (new UpdateBranchRuleRequest())->setBranchRule($branchRule); $response = $gapicClient->updateBranchRule($request); $this->assertFalse($response->isDone()); $this->assertNull($response->getResult()); @@ -4939,8 +4943,6 @@ public function updateBranchRuleTest() ); $actualValue = $actualApiRequestObject->getBranchRule(); $this->assertProtobufEquals($branchRule, $actualValue); - $actualValue = $actualApiRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); $expectedOperationsRequestObject = new GetOperationRequest(); $expectedOperationsRequestObject->setName('operations/updateBranchRuleTest'); $response->pollUntilComplete([ @@ -4996,8 +4998,7 @@ public function updateBranchRuleExceptionTest() $operationsTransport->addResponse(null, $status); // Mock request $branchRule = new BranchRule(); - $updateMask = new FieldMask(); - $request = (new UpdateBranchRuleRequest())->setBranchRule($branchRule)->setUpdateMask($updateMask); + $request = (new UpdateBranchRuleRequest())->setBranchRule($branchRule); $response = $gapicClient->updateBranchRule($request); $this->assertFalse($response->isDone()); $this->assertNull($response->getResult()); @@ -5060,11 +5061,10 @@ public function updateHookTest() $completeOperation->setResponse($anyResponse); $operationsTransport->addResponse($completeOperation); // Mock request - $updateMask = new FieldMask(); $hook = new Hook(); $hookTargetUri = 'hookTargetUri737306680'; $hook->setTargetUri($hookTargetUri); - $request = (new UpdateHookRequest())->setUpdateMask($updateMask)->setHook($hook); + $request = (new UpdateHookRequest())->setHook($hook); $response = $gapicClient->updateHook($request); $this->assertFalse($response->isDone()); $this->assertNull($response->getResult()); @@ -5075,8 +5075,6 @@ public function updateHookTest() $actualApiFuncCall = $apiRequests[0]->getFuncCall(); $actualApiRequestObject = $apiRequests[0]->getRequestObject(); $this->assertSame('/google.cloud.securesourcemanager.v1.SecureSourceManager/UpdateHook', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); $actualValue = $actualApiRequestObject->getHook(); $this->assertProtobufEquals($hook, $actualValue); $expectedOperationsRequestObject = new GetOperationRequest(); @@ -5133,11 +5131,10 @@ public function updateHookExceptionTest() ); $operationsTransport->addResponse(null, $status); // Mock request - $updateMask = new FieldMask(); $hook = new Hook(); $hookTargetUri = 'hookTargetUri737306680'; $hook->setTargetUri($hookTargetUri); - $request = (new UpdateHookRequest())->setUpdateMask($updateMask)->setHook($hook); + $request = (new UpdateHookRequest())->setHook($hook); $response = $gapicClient->updateHook($request); $this->assertFalse($response->isDone()); $this->assertNull($response->getResult());