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
#### artifactregistry:v1
The following keys were added:
- resources.projects.resources.locations.resources.repositories.resources.files.methods.delete (Total Keys: 11)
<pclass="firstline">Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.</p>
<pre>Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.
107
+
108
+
Args:
109
+
name: string, Required. The name of the file to delete. (required)
110
+
x__xgafv: string, V1 error format.
111
+
Allowed values
112
+
1 - v1 error format
113
+
2 - v2 error format
114
+
115
+
Returns:
116
+
An object of the form:
117
+
118
+
{ # This resource represents a long-running operation that is the result of a network API call.
119
+
"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.
120
+
"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.
121
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
122
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
123
+
{
124
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
125
+
},
126
+
],
127
+
"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.
128
+
},
129
+
"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.
130
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
131
+
},
132
+
"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}`.
133
+
"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`.
134
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
Copy file name to clipboardExpand all lines: docs/dyn/artifactregistry_v1.projects.locations.repositories.html
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -209,7 +209,7 @@ <h3>Method Details</h3>
209
209
"cleanupPolicyDryRun": True or False, # Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
210
210
"createTime": "A String", # Output only. The time when the repository was created.
211
211
"description": "A String", # The user-provided description of the repository.
212
-
"disallowUnspecifiedMode": True or False, # Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers.
212
+
"disallowUnspecifiedMode": True or False, # Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.
213
213
"dockerConfig": { # DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. # Docker repository config contains repository level configuration for the repositories of docker type.
214
214
"immutableTags": True or False, # The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
215
215
},
@@ -400,7 +400,7 @@ <h3>Method Details</h3>
400
400
"cleanupPolicyDryRun": True or False, # Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
401
401
"createTime": "A String", # Output only. The time when the repository was created.
402
402
"description": "A String", # The user-provided description of the repository.
403
-
"disallowUnspecifiedMode": True or False, # Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers.
403
+
"disallowUnspecifiedMode": True or False, # Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.
404
404
"dockerConfig": { # DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. # Docker repository config contains repository level configuration for the repositories of docker type.
405
405
"immutableTags": True or False, # The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
406
406
},
@@ -567,7 +567,7 @@ <h3>Method Details</h3>
567
567
"cleanupPolicyDryRun": True or False, # Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
568
568
"createTime": "A String", # Output only. The time when the repository was created.
569
569
"description": "A String", # The user-provided description of the repository.
570
-
"disallowUnspecifiedMode": True or False, # Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers.
570
+
"disallowUnspecifiedMode": True or False, # Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.
571
571
"dockerConfig": { # DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. # Docker repository config contains repository level configuration for the repositories of docker type.
572
572
"immutableTags": True or False, # The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
573
573
},
@@ -705,7 +705,7 @@ <h3>Method Details</h3>
705
705
"cleanupPolicyDryRun": True or False, # Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
706
706
"createTime": "A String", # Output only. The time when the repository was created.
707
707
"description": "A String", # The user-provided description of the repository.
708
-
"disallowUnspecifiedMode": True or False, # Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers.
708
+
"disallowUnspecifiedMode": True or False, # Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.
709
709
"dockerConfig": { # DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. # Docker repository config contains repository level configuration for the repositories of docker type.
710
710
"immutableTags": True or False, # The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
711
711
},
@@ -826,7 +826,7 @@ <h3>Method Details</h3>
826
826
"cleanupPolicyDryRun": True or False, # Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
827
827
"createTime": "A String", # Output only. The time when the repository was created.
828
828
"description": "A String", # The user-provided description of the repository.
829
-
"disallowUnspecifiedMode": True or False, # Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers.
829
+
"disallowUnspecifiedMode": True or False, # Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.
830
830
"dockerConfig": { # DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. # Docker repository config contains repository level configuration for the repositories of docker type.
831
831
"immutableTags": True or False, # The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/artifactregistry.v1.json
+27-2Lines changed: 27 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -945,6 +945,31 @@
945
945
},
946
946
"files": {
947
947
"methods": {
948
+
"delete": {
949
+
"description": "Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.",
"description": "Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers.",
3482
+
"description": "Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.",
0 commit comments