Skip to content

Commit

Permalink
fix: use require() to load JSON protos (#225)
Browse files Browse the repository at this point in the history
The library is regenerated with gapic-generator-typescript v1.3.1.

Committer: @alexander-fenster
PiperOrigin-RevId: 372468161

Source-Link: googleapis/googleapis@75880c3

Source-Link: googleapis/googleapis-gen@77b1804
  • Loading branch information
gcf-owl-bot[bot] authored May 11, 2021
1 parent ad5118a commit 8ce8aac
Show file tree
Hide file tree
Showing 5 changed files with 481 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,24 @@ message RepoSource {
map<string, string> substitutions = 9;
}

// Location of the source manifest in Google Cloud Storage.
// This feature is in Preview.
message StorageSourceManifest {
// Google Cloud Storage bucket containing the source manifest (see [Bucket
// Name
// Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
string bucket = 1;

// Google Cloud Storage object containing the source manifest.
//
// This object must be a JSON file.
string object = 2;

// Google Cloud Storage generation for the object. If the generation is
// omitted, the latest generation will be used.
int64 generation = 3;
}

// Location of the source in a supported storage service.
message Source {
// Location of source.
Expand All @@ -380,6 +398,10 @@ message Source {
// If provided, get the source from this location in a Cloud Source
// Repository.
RepoSource repo_source = 3;

// If provided, get the source from this manifest in Google Cloud Storage.
// This feature is in Preview.
StorageSourceManifest storage_source_manifest = 8;
}
}

Expand Down Expand Up @@ -803,6 +825,11 @@ message SourceProvenance {
// revisions resolved.
RepoSource resolved_repo_source = 6;

// A copy of the build's `source.storage_source_manifest`, if exists, with any
// revisions resolved.
// This feature is in Preview.
StorageSourceManifest resolved_storage_source_manifest = 9;

// Output only. Hash(es) of the build source, which can be used to verify that
// the original source integrity was maintained in the build. Note that
// `FileHashes` will only be populated if `BuildOptions` has requested a
Expand Down
116 changes: 115 additions & 1 deletion packages/google-devtools-cloudbuild/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8ce8aac

Please sign in to comment.