- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ImportAptArtifactsGcsSource
- Examples
- Try it!
Imports Apt artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.
HTTP request
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The name of the parent resource where the artifacts will be imported. Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field source . The source location of the package binaries. source can be only one of the following: |
|
gcsSource |
Google Cloud Storage location where input content is located. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
ImportAptArtifactsGcsSource
Google Cloud Storage location where the artifacts currently reside.
JSON representation |
---|
{ "uris": [ string ], "useWildcards": boolean } |
Fields | |
---|---|
uris[] |
Cloud Storage paths URI (e.g., gs://my_bucket//my_object). |
useWildcards |
Supports URI wildcards for matching multiple objects from a single URI. |