@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 SwampHow well-documented and verifiable this extension is.
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
| Argument | Type | Description |
|---|---|---|
| hostConfig? | object | HostConfig has different instance endpoints. |
| kmsKey? | string | Optional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*. |
| labels? | record | 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). |
| name? | string | 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. `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? | object | PrivateConfig includes settings for private instance. |
| workforceIdentityFederationConfig? | object | WorkforceIdentityFederationConfig allows this instance to support users from external identity providers. |
| instanceId? | string | Required. ID of the instance to be created. |
| requestId? | string | Optional. 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? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a instances
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a instances
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instances |
deleteDelete the instances
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a locations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| description? | string | Optional. Description of the repository, which cannot exceed 500 characters. |
| initialConfig? | object | Repository initialization configuration. |
| name? | string | Identifier. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}` |
| uris? | object | URIs for the repository. |
| repositoryId? | string | Required. 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? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a repositories
getGet a repositories
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the repositories |
updateUpdate repositories attributes
deleteDelete the repositories
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| allowStaleReviews? | boolean | Optional. Determines if allow stale reviews or approvals before merging to the branch. |
| annotations? | record | Optional. 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? | boolean | Optional. Determines if the branch rule is disabled or not. |
| includePattern? | string | Optional. 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? | number | Optional. The minimum number of approvals required for the branch rule to be matched. |
| minimumReviewsCount? | number | Optional. The minimum number of reviews required for the branch rule to be matched. |
| name? | string | Identifier. A unique identifier for a BranchRule. The name should be of the format: `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` |
| requireCodeOwnerApproval? | boolean | Optional. Determines if code owners must approve before merging to the branch. |
| requireCommentsResolved? | boolean | Optional. Determines if require comments resolved before merging to the branch. |
| requireLinearHistory? | boolean | Optional. Determines if require linear history before merging to the branch. |
| requirePullRequest? | boolean | Optional. Determines if the branch rule requires a pull request or not. |
| requiredStatusChecks? | array | Optional. List of required status checks before merging to the branch. |
| branchRuleId? | string | The branchRuleId for this resource |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a branchRules
getGet a branchRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the branchRules |
updateUpdate branchRules attributes
deleteDelete the branchRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| disabled? | boolean | Optional. Determines if the hook disabled or not. Set to true to stop sending traffic. |
| events? | array | Optional. The events that trigger hook on. |
| name? | string | Identifier. 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? | string | Optional. The sensitive query string to be appended to the target URI. |
| targetUri? | string | Required. The target URI to which the payloads will be delivered. |
| hookId? | string | Required. 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? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a hooks
getGet a hooks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the hooks |
updateUpdate hooks attributes
deleteDelete the hooks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| body? | string | Optional. Issue body. Provides a detailed description of the issue. |
| name? | string | Identifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}` |
| title? | string | Required. Issue title. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a issues
getGet a issues
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the issues |
updateUpdate issues attributes
deleteDelete the issues
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the issues |
syncSync issues state from GCP
closeclose
| Argument | Type | Description |
|---|---|---|
| etag? | any |
openopen
| Argument | Type | Description |
|---|---|---|
| etag? | any |
Resources
state(infinite)— Metadata of an Issue.
@swamp/gcp/securesourcemanager/repositories-issues-issuecommentsv2026.04.23.1repositories_issues_issuecomments.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| body? | string | Required. The comment body. |
| name? | string | Identifier. 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? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a issueComments
getGet a issueComments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the issueComments |
updateUpdate issueComments attributes
deleteDelete the issueComments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| base? | object | Branch represents a branch involved in a pull request. |
| body? | string | Optional. The pull request body. Provides a detailed description of the changes. |
| head? | object | Branch represents a branch involved in a pull request. |
| title? | string | Required. The pull request title. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a pullRequests
getGet a pullRequests
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| code? | object | The comment on a code line. |
| comment? | object | The general pull request comment. |
| name? | string | Identifier. 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? | object | The review summary comment. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a pullRequestComments
getGet a pullRequestComments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the pullRequestComments |
updateUpdate pullRequestComments attributes
deleteDelete the pullRequestComments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the pullRequestComments |
syncSync pullRequestComments state from GCP
batch_createbatch create
| Argument | Type | Description |
|---|---|---|
| requests? | any |
resolveresolve
| Argument | Type | Description |
|---|---|---|
| autoFill? | any | |
| names? | any |
unresolveunresolve
| Argument | Type | Description |
|---|---|---|
| autoFill? | any | |
| names? | any |
Resources
state(infinite)— PullRequestComment represents a comment on a pull request.
2026.04.03.347.2 KBApr 3, 2026
Google Cloud securesourcemanager infrastructure models
Release Notes
- Updated: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudsecuresourcemanagercloudinfrastructure
2026.04.03.143.3 KBApr 3, 2026
Google Cloud securesourcemanager infrastructure models
Release Notes
- Updated: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudsecuresourcemanagercloudinfrastructure
2026.04.02.243.2 KBApr 2, 2026
Google Cloud securesourcemanager infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudsecuresourcemanagercloudinfrastructure
2026.03.27.140.6 KBMar 27, 2026
Google Cloud securesourcemanager infrastructure models
Release Notes
- Added: locations, instances, repositories, repositories_branchrules, repositories_hooks, repositories_issues, repositories_issues_issuecomments, repositories_pullrequests, repositories_pullrequests_pullrequestcomments
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudsecuresourcemanagercloudinfrastructure