Skip to main content

@swamp/gcp/securesourcemanager

v2026.04.23.1

Google Cloud securesourcemanager infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudsecuresourcemanagercloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/securesourcemanager

@swamp/gcp/securesourcemanager/instancesv2026.04.23.1instances.ts

Global Arguments

ArgumentTypeDescription
hostConfig?objectHostConfig has different instance endpoints.
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?objectPrivateConfig includes settings for private instance.
workforceIdentityFederationConfig?objectWorkforceIdentityFederationConfig allows this instance to support users from external identity providers.
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')
createCreate a instances
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a instances
ArgumentTypeDescription
identifierstringThe name of the instances
deleteDelete the instances
ArgumentTypeDescription
identifierstringThe name of the instances
syncSync instances state from GCP

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a locations
ArgumentTypeDescription
identifierstringThe name of the locations
syncSync locations state from GCP

Resources

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

Global Arguments

ArgumentTypeDescription
description?stringOptional. Description of the repository, which cannot exceed 500 characters.
initialConfig?objectRepository initialization configuration.
name?stringIdentifier. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}`
uris?objectURIs for the repository.
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')
createCreate a repositories
getGet a repositories
ArgumentTypeDescription
identifierstringThe name of the repositories
updateUpdate repositories attributes
deleteDelete the repositories
ArgumentTypeDescription
identifierstringThe name of the repositories
syncSync repositories state from GCP
fetch_blobfetch blob
fetch_treefetch tree

Resources

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

Global Arguments

ArgumentTypeDescription
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
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a branchRules
getGet a branchRules
ArgumentTypeDescription
identifierstringThe name of the branchRules
updateUpdate branchRules attributes
deleteDelete the branchRules
ArgumentTypeDescription
identifierstringThe name of the branchRules
syncSync branchRules state from GCP

Resources

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

Global Arguments

ArgumentTypeDescription
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?object
sensitiveQueryString?stringOptional. The sensitive query string to be appended to the target URI.
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.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a hooks
getGet a hooks
ArgumentTypeDescription
identifierstringThe name of the hooks
updateUpdate hooks attributes
deleteDelete the hooks
ArgumentTypeDescription
identifierstringThe name of the hooks
syncSync hooks state from GCP

Resources

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

Global Arguments

ArgumentTypeDescription
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.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a issues
getGet a issues
ArgumentTypeDescription
identifierstringThe name of the issues
updateUpdate issues attributes
deleteDelete the issues
ArgumentTypeDescription
identifierstringThe name of the issues
syncSync issues state from GCP
closeclose
ArgumentTypeDescription
etag?any
openopen
ArgumentTypeDescription
etag?any

Resources

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

Global Arguments

ArgumentTypeDescription
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}`
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a issueComments
getGet a issueComments
ArgumentTypeDescription
identifierstringThe name of the issueComments
updateUpdate issueComments attributes
deleteDelete the issueComments
ArgumentTypeDescription
identifierstringThe name of the issueComments
syncSync issueComments state from GCP

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
base?objectBranch represents a branch involved in a pull request.
body?stringOptional. The pull request body. Provides a detailed description of the changes.
head?objectBranch represents a branch involved in a pull request.
title?stringRequired. The pull request title.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a pullRequests
getGet a pullRequests
ArgumentTypeDescription
identifierstringThe name of the pullRequests
updateUpdate pullRequests attributes
syncSync pullRequests state from GCP
closeclose
list_file_diffslist file diffs
mergemerge
openopen

Resources

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

Global Arguments

ArgumentTypeDescription
code?objectThe comment on a code line.
comment?objectThe 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?objectThe review summary comment.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a pullRequestComments
getGet a pullRequestComments
ArgumentTypeDescription
identifierstringThe name of the pullRequestComments
updateUpdate pullRequestComments attributes
deleteDelete the pullRequestComments
ArgumentTypeDescription
identifierstringThe name of the pullRequestComments
syncSync pullRequestComments state from GCP
batch_createbatch create
ArgumentTypeDescription
requests?any
resolveresolve
ArgumentTypeDescription
autoFill?any
names?any
unresolveunresolve
ArgumentTypeDescription
autoFill?any
names?any

Resources

state(infinite)— PullRequestComment represents a comment on a pull request.