You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.</p>
repository: string, Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository} (required)
388
+
body: object, The request body.
389
+
The object takes the form of:
390
+
391
+
{ # The request for exporting an artifact to a destination.
392
+
"gcsPath": "A String", # The Cloud Storage path to export the artifact to. Should start with the bucket name, and optionally have a directory path. Examples: `dst_bucket`, `dst_bucket/sub_dir`. Existing objects with the same path will be overwritten.
393
+
"sourceTag": "A String", # The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
394
+
"sourceVersion": "A String", # The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
395
+
}
396
+
397
+
x__xgafv: string, V1 error format.
398
+
Allowed values
399
+
1 - v1 error format
400
+
2 - v2 error format
401
+
402
+
Returns:
403
+
An object of the form:
404
+
405
+
{ # This resource represents a long-running operation that is the result of a network API call.
406
+
"done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
407
+
"error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
408
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
409
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
410
+
{
411
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
412
+
},
413
+
],
414
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
415
+
},
416
+
"metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
417
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
418
+
},
419
+
"name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
420
+
"response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
421
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
"description": "The LRO metadata for exporting an artifact.",
2882
+
"id": "ExportArtifactMetadata",
2883
+
"properties": {
2884
+
"exportedFiles": {
2885
+
"description": "The exported artifact files.",
2886
+
"items": {
2887
+
"$ref": "ExportedFile"
2888
+
},
2889
+
"type": "array"
2890
+
}
2891
+
},
2892
+
"type": "object"
2893
+
},
2894
+
"ExportArtifactRequest": {
2895
+
"description": "The request for exporting an artifact to a destination.",
2896
+
"id": "ExportArtifactRequest",
2897
+
"properties": {
2898
+
"gcsPath": {
2899
+
"description": "The Cloud Storage path to export the artifact to. Should start with the bucket name, and optionally have a directory path. Examples: `dst_bucket`, `dst_bucket/sub_dir`. Existing objects with the same path will be overwritten.",
2900
+
"type": "string"
2901
+
},
2902
+
"sourceTag": {
2903
+
"description": "The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}",
2904
+
"type": "string"
2905
+
},
2906
+
"sourceVersion": {
2907
+
"description": "The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}",
2908
+
"type": "string"
2909
+
}
2910
+
},
2911
+
"type": "object"
2912
+
},
2913
+
"ExportArtifactResponse": {
2914
+
"description": "The response for exporting an artifact to a destination.",
2915
+
"id": "ExportArtifactResponse",
2916
+
"properties": {
2917
+
"exportedVersion": {
2918
+
"$ref": "Version",
2919
+
"description": "The exported version. Should be the same as the request version with fingerprint resource name."
2920
+
}
2921
+
},
2922
+
"type": "object"
2923
+
},
2924
+
"ExportedFile": {
2925
+
"description": "The exported artifact file.",
2926
+
"id": "ExportedFile",
2927
+
"properties": {
2928
+
"gcsObjectPath": {
2929
+
"description": "Cloud Storage Object path of the exported file. Examples: `dst_bucket/file1`, `dst_bucket/sub_dir/file1`",
2930
+
"type": "string"
2931
+
},
2932
+
"hashes": {
2933
+
"description": "The hashes of the file content.",
2934
+
"items": {
2935
+
"$ref": "Hash"
2936
+
},
2937
+
"type": "array"
2938
+
},
2939
+
"name": {
2940
+
"description": "Name of the exported artifact file. Format: `projects/p1/locations/us/repositories/repo1/files/file1`",
2941
+
"type": "string"
2942
+
}
2943
+
},
2944
+
"type": "object"
2945
+
},
2852
2946
"Expr": {
2853
2947
"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
2854
2948
"id": "Expr",
@@ -4115,7 +4209,8 @@ false
4115
4209
"PYTHON",
4116
4210
"KFP",
4117
4211
"GO",
4118
-
"GENERIC"
4212
+
"GENERIC",
4213
+
"RUBY"
4119
4214
],
4120
4215
"enumDescriptions": [
4121
4216
"Unspecified package format.",
@@ -4128,7 +4223,8 @@ false
4128
4223
"Python package format.",
4129
4224
"Kubeflow Pipelines package format.",
4130
4225
"Go package format.",
4131
-
"Generic package format."
4226
+
"Generic package format.",
4227
+
"Ruby package format."
4132
4228
],
4133
4229
"type": "string"
4134
4230
},
@@ -4666,7 +4762,7 @@ false
4666
4762
"DISABLED"
4667
4763
],
4668
4764
"enumDescriptions": [
4669
-
"Not set. This will be treated as INHERITED.",
4765
+
"Not set. This will be treated as INHERITED for Docker repositories and DISABLED for non-Docker repositories.",
4670
4766
"Scanning is Enabled, but dependent on API enablement.",
4671
4767
"No automatic vulnerability scanning will be performed for this repository."
0 commit comments