Skip to main content

Gcp/securesourcemanager

@swamp/gcp/securesourcemanagerv2026.10.23.1· AGPL-3.0-or-later· 3d agoBEHAVIORS
01README

Google Cloud securesourcemanager infrastructure models

02Release Notes
  • Updated: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
03Behaviors9
@swamp/gcp/securesourcemanager/instancesv2026.10.23.1instances.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
kmsKey?stringOptional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.
labels?recordOptional. 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).
name?stringIdentifier. 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. `location_id`: Refers to the region where the instance will be deployed. Since Secure Source Manager is a regional service, it must be one of the valid GCP regions. `instance_id`: User provided name for the instance, must be unique for a project_number and location_id co
privateConfig?objectOptional. Private settings for private instance.
workforceIdentityFederationConfig?objectOptional. Configuration for Workforce Identity Federation to support third party identity provider. If unset, defaults to the Google OIDC IdP.
instanceId?stringRequired. ID of the instance to be created.
requestId?stringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID w
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create(waitForReady?: boolean)
Create a instances
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a instances
ArgumentTypeDescription
identifierstringThe name of the instances
fn delete(identifier: string)
Delete the instances
ArgumentTypeDescription
identifierstringThe name of the instances
fn sync(identifier?: string)
Sync instances state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific instances by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List instances resources
ArgumentTypeDescription
filter?stringOptional. Filter for filtering results.
orderBy?stringOptional. Hint for how to order the results.
pageSize?numberOptional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
ArgumentTypeDescription
options_requestedPolicyVersion?any
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
ArgumentTypeDescription
policy?any
updateMask?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— A resource that represents a Secure Source Manager instance.
@swamp/gcp/securesourcemanager/locationsv2026.10.23.1locations.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
namestringThe resource that owns the locations collection, if applicable.
fn get(identifier: string)
Get a locations
ArgumentTypeDescription
identifierstringThe name of the locations
fn sync(identifier?: string)
Sync locations state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific locations by name (e.g. one discovered by list)
fn list(extraLocationTypes?: string, filter?: string, pageSize?: number, maxPages?: number)
List locations resources
ArgumentTypeDescription
extraLocationTypes?stringOptional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
filter?stringA filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
pageSize?numberThe maximum number of results to return. If not set, the service selects a default.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/securesourcemanager/repositoriesv2026.10.23.1repositories.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
description?stringOptional. Description of the repository, which cannot exceed 500 characters.
initialConfig?objectInput only. Initial configurations for the repository.
name?stringIdentifier. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}`
scanConfig?objectOptional. Provides configuration for scanning.
serviceAccount?stringOptional. Repository level service account (BYOSA).
repositoryId?stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a repositories
fn get(identifier: string)
Get a repositories
ArgumentTypeDescription
identifierstringThe name of the repositories
fn update(identifier?: string)
Update repositories attributes
ArgumentTypeDescription
identifier?stringTarget a specific repositories by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the repositories
ArgumentTypeDescription
identifierstringThe name of the repositories
fn sync(identifier?: string)
Sync repositories state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific repositories by name (e.g. one discovered by list)
fn list(filter?: string, instance?: string, pageSize?: number, maxPages?: number)
List repositories resources
ArgumentTypeDescription
filter?stringOptional. Filter results.
instance?stringOptional. The name of the instance in which the repository is hosted, formatted as `projects/{project_number}/locations/{location_id}/instances/{instance_id}`. When listing repositories via securesourcemanager.googleapis.com, this field is required. When listing repositories via *.sourcemanager.dev, this field is ignored.
pageSize?numberOptional. 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.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn fetch_blob(sha?: any)
fetch blob
ArgumentTypeDescription
sha?any
fn fetch_refs(pageSize?: any, pageToken?: any, type?: any)
fetch refs
ArgumentTypeDescription
pageSize?any
pageToken?any
type?any
fn fetch_tree(pageSize?: any, pageToken?: any, recursive?: any, ref?: any)
fetch tree
ArgumentTypeDescription
pageSize?any
pageToken?any
recursive?any
ref?any
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
ArgumentTypeDescription
options_requestedPolicyVersion?any
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
ArgumentTypeDescription
policy?any
updateMask?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any

Resources

state(infinite)— Metadata of a Secure Source Manager repository.
@swamp/gcp/securesourcemanager/repositories-branchrulesv2026.10.23.1repositories_branchrules.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
allowStaleReviews?booleanOptional. Determines if allow stale reviews or approvals before merging to the branch.
annotations?recordOptional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
disabled?booleanOptional. Determines if the branch rule is disabled or not.
includePattern?stringOptional. The pattern of the branch that can match to this BranchRule. Specified as regex..* for all branches. Examples: main, (main|release.*). Current MVP phase only support `.*` for wildcard.
minimumApprovalsCount?numberOptional. The minimum number of approvals required for the branch rule to be matched.
minimumReviewsCount?numberOptional. The minimum number of reviews required for the branch rule to be matched.
name?stringIdentifier. A unique identifier for a BranchRule. The name should be of the format: `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`
requireCodeOwnerApproval?booleanOptional. Determines if code owners must approve before merging to the branch.
requireCommentsResolved?booleanOptional. Determines if require comments resolved before merging to the branch.
requireLinearHistory?booleanOptional. Determines if require linear history before merging to the branch.
requirePullRequest?booleanOptional. Determines if the branch rule requires a pull request or not.
requiredStatusChecks?arrayOptional. List of required status checks before merging to the branch.
branchRuleId?stringThe branchRuleId for this resource
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a branchRules
fn get(identifier: string)
Get a branchRules
ArgumentTypeDescription
identifierstringThe name of the branchRules
fn update(identifier?: string)
Update branchRules attributes
ArgumentTypeDescription
identifier?stringTarget a specific branchRules by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the branchRules
ArgumentTypeDescription
identifierstringThe name of the branchRules
fn sync(identifier?: string)
Sync branchRules state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific branchRules by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List branchRules resources
ArgumentTypeDescription
pageSize?numberOptional. 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.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Metadata of a BranchRule. BranchRule is the protection rule to enforce pre-de...
@swamp/gcp/securesourcemanager/repositories-hooksv2026.10.23.1repositories_hooks.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
disabled?booleanOptional. Determines if the hook disabled or not. Set to true to stop sending traffic.
events?arrayOptional. The events that trigger hook on.
name?stringIdentifier. A unique identifier for a Hook. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`
pushOption?objectOptional. The trigger option for push events.
sensitiveQueryString?stringOptional. The sensitive query string to be appended to the target URI.
serviceAccountAuth?booleanOptional. Determines if the hook uses the Repository Service Account to generate an OIDC ID Token for webhook authentication.
targetUri?stringRequired. The target URI to which the payloads will be delivered.
hookId?stringRequired. The ID to use for the hook, which will become the final component of the hook's resource name. This value restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a hooks
fn get(identifier: string)
Get a hooks
ArgumentTypeDescription
identifierstringThe name of the hooks
fn update(identifier?: string)
Update hooks attributes
ArgumentTypeDescription
identifier?stringTarget a specific hooks by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the hooks
ArgumentTypeDescription
identifierstringThe name of the hooks
fn sync(identifier?: string)
Sync hooks state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific hooks by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List hooks resources
ArgumentTypeDescription
pageSize?numberOptional. 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.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Metadata of a Secure Source Manager Hook.
@swamp/gcp/securesourcemanager/repositories-issuesv2026.10.23.1repositories_issues.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
body?stringOptional. Issue body. Provides a detailed description of the issue.
name?stringIdentifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`
title?stringRequired. Issue title.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a issues
fn get(identifier: string)
Get a issues
ArgumentTypeDescription
identifierstringThe name of the issues
fn update(identifier?: string)
Update issues attributes
ArgumentTypeDescription
identifier?stringTarget a specific issues by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the issues
ArgumentTypeDescription
identifierstringThe name of the issues
fn sync(identifier?: string)
Sync issues state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific issues by name (e.g. one discovered by list)
fn list(filter?: string, pageSize?: number, maxPages?: number)
List issues resources
ArgumentTypeDescription
filter?stringOptional. Used to filter the resulting issues list.
pageSize?numberOptional. 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.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn close(etag?: any)
close
ArgumentTypeDescription
etag?any
fn open(etag?: any)
open
ArgumentTypeDescription
etag?any

Resources

state(infinite)— Metadata of an Issue.
@swamp/gcp/securesourcemanager/repositories-issues-issuecommentsv2026.10.23.1repositories_issues_issuecomments.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
body?stringRequired. The comment body.
name?stringIdentifier. Unique identifier for an issue comment. The comment id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}`
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a issueComments
fn get(identifier: string)
Get a issueComments
ArgumentTypeDescription
identifierstringThe name of the issueComments
fn update(identifier?: string)
Update issueComments attributes
ArgumentTypeDescription
identifier?stringTarget a specific issueComments by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the issueComments
ArgumentTypeDescription
identifierstringThe name of the issueComments
fn sync(identifier?: string)
Sync issueComments state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific issueComments by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List issueComments resources
ArgumentTypeDescription
pageSize?numberOptional. 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.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— IssueComment represents a comment on an issue.
@swamp/gcp/securesourcemanager/repositories-pullrequestsv2026.10.23.1repositories_pullrequests.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
base?objectRequired. The branch to merge changes in.
body?stringOptional. The pull request body. Provides a detailed description of the changes.
head?objectImmutable. The branch containing the changes to be merged.
title?stringRequired. The pull request title.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a pullRequests
fn get(identifier: string)
Get a pullRequests
ArgumentTypeDescription
identifierstringThe name of the pullRequests
fn update(identifier?: string)
Update pullRequests attributes
ArgumentTypeDescription
identifier?stringTarget a specific pullRequests by name (e.g. one discovered by list)
fn sync(identifier?: string)
Sync pullRequests state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific pullRequests by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List pullRequests resources
ArgumentTypeDescription
pageSize?numberOptional. 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.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn close()
close
fn list_file_diffs(pageSize?: any, pageToken?: any)
list file diffs
ArgumentTypeDescription
pageSize?any
pageToken?any
fn merge()
merge
fn open()
open

Resources

state(infinite)— Metadata of a PullRequest. PullRequest is the request from a user to merge a ...
@swamp/gcp/securesourcemanager/repositories-pullrequests-pullrequestcommentsv2026.10.23.1repositories_pullrequests_pullrequestcomments.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
code?objectOptional. The comment on a code line.
comment?objectOptional. The general pull request comment.
name?stringIdentifier. Unique identifier for the pull request comment. The comment id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}`
review?objectOptional. The review summary comment.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a pullRequestComments
fn get(identifier: string)
Get a pullRequestComments
ArgumentTypeDescription
identifierstringThe name of the pullRequestComments
fn update(identifier?: string)
Update pullRequestComments attributes
ArgumentTypeDescription
identifier?stringTarget a specific pullRequestComments by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the pullRequestComments
ArgumentTypeDescription
identifierstringThe name of the pullRequestComments
fn sync(identifier?: string)
Sync pullRequestComments state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific pullRequestComments by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List pullRequestComments resources
ArgumentTypeDescription
pageSize?numberOptional. 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.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn batch_create(requests?: any)
batch create
ArgumentTypeDescription
requests?any
fn resolve(autoFill?: any, names?: any)
resolve
ArgumentTypeDescription
autoFill?any
names?any
fn unresolve(autoFill?: any, names?: any)
unresolve
ArgumentTypeDescription
autoFill?any
names?any

Resources

state(infinite)— PullRequestComment represents a comment on a pull request.
04Previous Versions19
2026.10.22.1AGPL-3.0-or-later(was none)
  • Updated: repositories
2026.10.13.1
  • Updated: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
2026.09.22.1
  • Updated: repositories_hooks
2026.09.07.2
  • Updated: instances, repositories
2026.08.18.1
  • Updated: instances, repositories_hooks
2026.08.12.2
  • Updated: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
2026.07.29.1
  • Updated: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
2026.07.21.4
  • Updated: locations, repositories
2026.07.21.1
  • Updated: instances, repositories, repositories_hooks, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
2026.07.20.2
  • Updated: locations, repositories

Modified 1 behaviors

2026.07.20.1
  • Updated: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments

Modified 1 behaviors

2026.07.19.2
  • Updated: locations
2026.07.19.1
  • Updated: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
2026.07.18.2
  • Updated: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
2026.07.17.2
  • Updated: instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
2026.07.17.1
  • Updated: instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
2026.07.08.1
  • Updated: repositories

Modified 1 behaviors

2026.06.24.1
  • Updated: repositories
2026.06.08.2
  • Updated: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
05Stats
A
100 / 100
Downloads
35
Archive size
102.9 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels