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">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.</p>
<pclass="firstline">Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.</p>
<pre>Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.
142
+
143
+
Args:
144
+
parent: string, The name of the parent resource where the artifacts will be uploaded. (required)
145
+
body: object, The request body.
146
+
The object takes the form of:
147
+
148
+
{ # The request to upload an artifact.
149
+
}
150
+
151
+
media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
152
+
media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
153
+
x__xgafv: string, V1 error format.
154
+
Allowed values
155
+
1 - v1 error format
156
+
2 - v2 error format
157
+
158
+
Returns:
159
+
An object of the form:
160
+
161
+
{ # The response to upload an artifact.
162
+
"operation": { # This resource represents a long-running operation that is the result of a network API call. # Operation to be returned to the user.
163
+
"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.
164
+
"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.
165
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
166
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
167
+
{
168
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
169
+
},
170
+
],
171
+
"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.
172
+
},
173
+
"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.
174
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
175
+
},
176
+
"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}`.
177
+
"response": { # The normal response of the operation in case of success. 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`.
178
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
<pclass="firstline">Directly uploads a GooGet artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.</p>
<pre>Directly uploads a GooGet artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.
92
+
93
+
Args:
94
+
parent: string, The name of the parent resource where the artifacts will be uploaded. (required)
95
+
body: object, The request body.
96
+
The object takes the form of:
97
+
98
+
{ # The request to upload an artifact.
99
+
}
100
+
101
+
media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
102
+
media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
103
+
x__xgafv: string, V1 error format.
104
+
Allowed values
105
+
1 - v1 error format
106
+
2 - v2 error format
107
+
108
+
Returns:
109
+
An object of the form:
110
+
111
+
{ # The response to upload an artifact.
112
+
"operation": { # This resource represents a long-running operation that is the result of a network API call. # Operation to be returned to the user.
113
+
"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.
114
+
"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.
115
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
116
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
117
+
{
118
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
119
+
},
120
+
],
121
+
"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.
122
+
},
123
+
"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.
124
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
125
+
},
126
+
"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}`.
127
+
"response": { # The normal response of the operation in case of success. 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`.
128
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
"createTime": "A String", # The time when the repository was created.
169
159
"description": "A String", # The user-provided description of the repository.
170
160
"format": "A String", # The format of packages that are stored in the repository.
171
-
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
161
+
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
172
162
"labels": { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
173
163
"a_key": "A String",
174
164
},
@@ -263,7 +253,7 @@ <h3>Method Details</h3>
263
253
"createTime": "A String", # The time when the repository was created.
264
254
"description": "A String", # The user-provided description of the repository.
265
255
"format": "A String", # The format of packages that are stored in the repository.
266
-
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
256
+
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
267
257
"labels": { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
268
258
"a_key": "A String",
269
259
},
@@ -334,7 +324,7 @@ <h3>Method Details</h3>
334
324
"createTime": "A String", # The time when the repository was created.
335
325
"description": "A String", # The user-provided description of the repository.
336
326
"format": "A String", # The format of packages that are stored in the repository.
337
-
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
327
+
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
338
328
"labels": { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
339
329
"a_key": "A String",
340
330
},
@@ -376,7 +366,7 @@ <h3>Method Details</h3>
376
366
"createTime": "A String", # The time when the repository was created.
377
367
"description": "A String", # The user-provided description of the repository.
378
368
"format": "A String", # The format of packages that are stored in the repository.
379
-
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
369
+
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
380
370
"labels": { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
381
371
"a_key": "A String",
382
372
},
@@ -401,7 +391,7 @@ <h3>Method Details</h3>
401
391
"createTime": "A String", # The time when the repository was created.
402
392
"description": "A String", # The user-provided description of the repository.
403
393
"format": "A String", # The format of packages that are stored in the repository.
404
-
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
394
+
"kmsKeyName": "A String", # The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
405
395
"labels": { # Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
0 commit comments