Skip to content

Commit c7a6447

Browse files
build: [securesourcemanager] add scripts to publish to Bazel Central Registry (BCR) (#6541)
* build: add scripts to publish to Bazel Central Registry (BCR) PiperOrigin-RevId: 788097378 chore: regenerate gapic yaml and service yaml for privilegedaccessmanager by augmentation configs PiperOrigin-RevId: 788127000 chore: regenerate gapic yaml and service yaml for recaptchaenterprise beta by augmentation configs PiperOrigin-RevId: 788127088 chore: regenerate gapic yaml and service yaml for recaptchaenterprise by augmentation configs PiperOrigin-RevId: 788127191 chore: regenerate gapic yaml and service yaml for config by augmentation configs PiperOrigin-RevId: 788127291 chore: regenerate gapic yaml and service yaml for metastore alpha by augmentation configs PiperOrigin-RevId: 788127383 build: include all contents of the .bcr folder PiperOrigin-RevId: 788127546 feat: Remove private preview label from Model Armor protos PiperOrigin-RevId: 788251106 feat: add a FooBar API PiperOrigin-RevId: 788269006 feat: add the VeoTuningSpec PiperOrigin-RevId: 788536453 docs: update comments for rpc BatchCreatePullRequestComments, ResolvePullRequestComments and UnresolvePullRequestComments PiperOrigin-RevId: 788541778 build: include .bazelignore in this repository PiperOrigin-RevId: 788552876 Source-Link: googleapis/googleapis@8e5eb7e Source-Link: googleapis/googleapis-gen@c594542 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlY3VyZXNvdXJjZW1hbmFnZXIvLk93bEJvdC55YW1sIiwiaCI6ImM1OTQ1NDI0NWZkYzJiOGFjODI5Zjc2YjRjNzk3MmU0M2I0NmM3NmQifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a2fb5ec commit c7a6447

3 files changed

Lines changed: 40 additions & 12 deletions

File tree

packages/google-cloud-securesourcemanager/protos/google/cloud/securesourcemanager/v1/secure_source_manager.proto

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,11 @@ service SecureSourceManager {
512512
option (google.api.method_signature) = "parent";
513513
}
514514

515-
// Creates a pull request comment.
515+
// Creates a pull request comment. This function is used to create a single
516+
// PullRequestComment of type Comment, or a single PullRequestComment of type
517+
// Code that's replying to another PullRequestComment of type Code. Use
518+
// BatchCreatePullRequestComments to create multiple PullRequestComments for
519+
// code reviews.
516520
rpc CreatePullRequestComment(CreatePullRequestCommentRequest)
517521
returns (google.longrunning.Operation) {
518522
option (google.api.http) = {
@@ -553,7 +557,11 @@ service SecureSourceManager {
553557
};
554558
}
555559

556-
// Batch creates pull request comments.
560+
// Batch creates pull request comments. This function is used to create
561+
// multiple PullRequestComments for code review. There needs to be exactly one
562+
// PullRequestComment of type Review, and at most 100 PullRequestComments of
563+
// type Code per request. The Postition of the code comments must be unique
564+
// within the request.
557565
rpc BatchCreatePullRequestComments(BatchCreatePullRequestCommentsRequest)
558566
returns (google.longrunning.Operation) {
559567
option (google.api.http) = {
@@ -567,7 +575,10 @@ service SecureSourceManager {
567575
};
568576
}
569577

570-
// Resolves pull request comments.
578+
// Resolves pull request comments. A list of PullRequestComment names must be
579+
// provided. The PullRequestComment names must be in the same conversation
580+
// thread. If auto_fill is set, all comments in the conversation thread will
581+
// be resolved.
571582
rpc ResolvePullRequestComments(ResolvePullRequestCommentsRequest)
572583
returns (google.longrunning.Operation) {
573584
option (google.api.http) = {
@@ -581,7 +592,10 @@ service SecureSourceManager {
581592
};
582593
}
583594

584-
// Unresolves pull request comment.
595+
// Unresolves pull request comments. A list of PullRequestComment names must
596+
// be provided. The PullRequestComment names must be in the same conversation
597+
// thread. If auto_fill is set, all comments in the conversation thread will
598+
// be unresolved.
585599
rpc UnresolvePullRequestComments(UnresolvePullRequestCommentsRequest)
586600
returns (google.longrunning.Operation) {
587601
option (google.api.http) = {

packages/google-cloud-securesourcemanager/samples/generated/v1/snippet_metadata_google.cloud.securesourcemanager.v1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,7 +1871,7 @@
18711871
"regionTag": "securesourcemanager_v1_generated_SecureSourceManager_CreatePullRequestComment_async",
18721872
"title": "SecureSourceManager createPullRequestComment Sample",
18731873
"origin": "API_DEFINITION",
1874-
"description": " Creates a pull request comment.",
1874+
"description": " Creates a pull request comment. This function is used to create a single PullRequestComment of type Comment, or a single PullRequestComment of type Code that's replying to another PullRequestComment of type Code. Use BatchCreatePullRequestComments to create multiple PullRequestComments for code reviews.",
18751875
"canonical": true,
18761876
"file": "secure_source_manager.create_pull_request_comment.js",
18771877
"language": "JAVASCRIPT",
@@ -1999,7 +1999,7 @@
19991999
"regionTag": "securesourcemanager_v1_generated_SecureSourceManager_BatchCreatePullRequestComments_async",
20002000
"title": "SecureSourceManager batchCreatePullRequestComments Sample",
20012001
"origin": "API_DEFINITION",
2002-
"description": " Batch creates pull request comments.",
2002+
"description": " 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 within the request.",
20032003
"canonical": true,
20042004
"file": "secure_source_manager.batch_create_pull_request_comments.js",
20052005
"language": "JAVASCRIPT",
@@ -2043,7 +2043,7 @@
20432043
"regionTag": "securesourcemanager_v1_generated_SecureSourceManager_ResolvePullRequestComments_async",
20442044
"title": "SecureSourceManager resolvePullRequestComments Sample",
20452045
"origin": "API_DEFINITION",
2046-
"description": " Resolves pull request comments.",
2046+
"description": " Resolves pull request comments. A list of PullRequestComment names must be provided. The PullRequestComment names must be in the same conversation thread. If auto_fill is set, all comments in the conversation thread will be resolved.",
20472047
"canonical": true,
20482048
"file": "secure_source_manager.resolve_pull_request_comments.js",
20492049
"language": "JAVASCRIPT",
@@ -2091,7 +2091,7 @@
20912091
"regionTag": "securesourcemanager_v1_generated_SecureSourceManager_UnresolvePullRequestComments_async",
20922092
"title": "SecureSourceManager unresolvePullRequestComments Sample",
20932093
"origin": "API_DEFINITION",
2094-
"description": " Unresolves pull request comment.",
2094+
"description": " Unresolves pull request comments. A list of PullRequestComment names must be provided. The PullRequestComment names must be in the same conversation thread. If auto_fill is set, all comments in the conversation thread will be unresolved.",
20952095
"canonical": true,
20962096
"file": "secure_source_manager.unresolve_pull_request_comments.js",
20972097
"language": "JAVASCRIPT",

packages/google-cloud-securesourcemanager/src/v1/secure_source_manager_client.ts

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4198,7 +4198,11 @@ export class SecureSourceManagerClient {
41984198
return decodeOperation as LROperation<protos.google.cloud.securesourcemanager.v1.Issue, protos.google.cloud.securesourcemanager.v1.OperationMetadata>;
41994199
}
42004200
/**
4201-
* Creates a pull request comment.
4201+
* Creates a pull request comment. This function is used to create a single
4202+
* PullRequestComment of type Comment, or a single PullRequestComment of type
4203+
* Code that's replying to another PullRequestComment of type Code. Use
4204+
* BatchCreatePullRequestComments to create multiple PullRequestComments for
4205+
* code reviews.
42024206
*
42034207
* @param {Object} request
42044208
* The request object that will be sent.
@@ -4529,7 +4533,11 @@ export class SecureSourceManagerClient {
45294533
return decodeOperation as LROperation<protos.google.protobuf.Empty, protos.google.cloud.securesourcemanager.v1.OperationMetadata>;
45304534
}
45314535
/**
4532-
* Batch creates pull request comments.
4536+
* Batch creates pull request comments. This function is used to create
4537+
* multiple PullRequestComments for code review. There needs to be exactly one
4538+
* PullRequestComment of type Review, and at most 100 PullRequestComments of
4539+
* type Code per request. The Postition of the code comments must be unique
4540+
* within the request.
45334541
*
45344542
* @param {Object} request
45354543
* The request object that will be sent.
@@ -4643,7 +4651,10 @@ export class SecureSourceManagerClient {
46434651
return decodeOperation as LROperation<protos.google.cloud.securesourcemanager.v1.BatchCreatePullRequestCommentsResponse, protos.google.cloud.securesourcemanager.v1.OperationMetadata>;
46444652
}
46454653
/**
4646-
* Resolves pull request comments.
4654+
* Resolves pull request comments. A list of PullRequestComment names must be
4655+
* provided. The PullRequestComment names must be in the same conversation
4656+
* thread. If auto_fill is set, all comments in the conversation thread will
4657+
* be resolved.
46474658
*
46484659
* @param {Object} request
46494660
* The request object that will be sent.
@@ -4760,7 +4771,10 @@ export class SecureSourceManagerClient {
47604771
return decodeOperation as LROperation<protos.google.cloud.securesourcemanager.v1.ResolvePullRequestCommentsResponse, protos.google.cloud.securesourcemanager.v1.OperationMetadata>;
47614772
}
47624773
/**
4763-
* Unresolves pull request comment.
4774+
* Unresolves pull request comments. A list of PullRequestComment names must
4775+
* be provided. The PullRequestComment names must be in the same conversation
4776+
* thread. If auto_fill is set, all comments in the conversation thread will
4777+
* be unresolved.
47644778
*
47654779
* @param {Object} request
47664780
* The request object that will be sent.

0 commit comments

Comments
 (0)