Skip to content

Commit

Permalink
feat(artifactregistry): update the api
Browse files Browse the repository at this point in the history
#### artifactregistry:v1

The following keys were deleted:
- resources.projects.resources.locations.resources.repositories.resources.gooGetArtifacts.methods.import (Total Keys: 12)
- resources.projects.resources.locations.resources.repositories.resources.googetArtifacts.methods.upload (Total Keys: 16)
- schemas.ImportGooGetArtifactsGcsSource (Total Keys: 5)
- schemas.ImportGooGetArtifactsRequest (Total Keys: 3)
- schemas.UploadGooGetArtifactMediaResponse (Total Keys: 3)
- schemas.UploadGooGetArtifactRequest (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Mar 15, 2022
1 parent 6cd7b46 commit 48c242e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 141 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h3>Method Details</h3>
<pre>Lists files.

Args:
parent: string, The name of the parent resource whose files will be listed. (required)
parent: string, The name of the repository whose files will be listed. For example: &quot;projects/p1/locations/us-central1/repositories/repo1 (required)
filter: string, An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a filter: * `name=&quot;projects/p1/locations/us-central1/repositories/repo1/files/a/b/*&quot;` --&gt; Files with an ID starting with &quot;a/b/&quot;. * `owner=&quot;projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0&quot;` --&gt; Files owned by the version `1.0` in package `pkg1`.
orderBy: string, The field to order the results by.
pageSize: integer, The maximum number of files to return.
Expand Down
10 changes: 0 additions & 10 deletions docs/dyn/artifactregistry_v1.projects.locations.repositories.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,6 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the files Resource.</p>

<p class="toc_element">
<code><a href="artifactregistry_v1.projects.locations.repositories.gooGetArtifacts.html">gooGetArtifacts()</a></code>
</p>
<p class="firstline">Returns the gooGetArtifacts Resource.</p>

<p class="toc_element">
<code><a href="artifactregistry_v1.projects.locations.repositories.googetArtifacts.html">googetArtifacts()</a></code>
</p>
<p class="firstline">Returns the googetArtifacts Resource.</p>

<p class="toc_element">
<code><a href="artifactregistry_v1.projects.locations.repositories.packages.html">packages()</a></code>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h3>Method Details</h3>
<pre>Lists files.

Args:
parent: string, The name of the parent resource whose files will be listed. (required)
parent: string, The name of the repository whose files will be listed. For example: &quot;projects/p1/locations/us-central1/repositories/repo1 (required)
filter: string, An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a filter: * `name=&quot;projects/p1/locations/us-central1/repositories/repo1/files/a/b/*&quot;` --&gt; Files with an ID starting with &quot;a/b/&quot;. * `owner=&quot;projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0&quot;` --&gt; Files owned by the version `1.0` in package `pkg1`.
pageSize: integer, The maximum number of files to return.
pageToken: string, The next_page_token value returned from a previous list request, if any.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ <h3>Method Details</h3>
<pre>Lists files.

Args:
parent: string, The name of the parent resource whose files will be listed. (required)
parent: string, The name of the repository whose files will be listed. For example: &quot;projects/p1/locations/us-central1/repositories/repo1 (required)
filter: string, An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a filter: * `name=&quot;projects/p1/locations/us-central1/repositories/repo1/files/a/b/*&quot;` --&gt; Files with an ID starting with &quot;a/b/&quot;. * `owner=&quot;projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0&quot;` --&gt; Files owned by the version `1.0` in package `pkg1`.
pageSize: integer, The maximum number of files to return.
pageToken: string, The next_page_token value returned from a previous list request, if any.
Expand Down
126 changes: 2 additions & 124 deletions googleapiclient/discovery_cache/documents/artifactregistry.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@
"type": "string"
},
"parent": {
"description": "The name of the parent resource whose files will be listed.",
"description": "The name of the repository whose files will be listed. For example: \"projects/p1/locations/us-central1/repositories/repo1",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
"required": true,
Expand All @@ -668,82 +668,6 @@
}
}
},
"gooGetArtifacts": {
"methods": {
"import": {
"description": "Imports GooGet 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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/gooGetArtifacts:import",
"httpMethod": "POST",
"id": "artifactregistry.projects.locations.repositories.gooGetArtifacts.import",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The name of the parent resource where the artifacts will be imported.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/gooGetArtifacts:import",
"request": {
"$ref": "ImportGooGetArtifactsRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"googetArtifacts": {
"methods": {
"upload": {
"description": "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.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/googetArtifacts:create",
"httpMethod": "POST",
"id": "artifactregistry.projects.locations.repositories.googetArtifacts.upload",
"mediaUpload": {
"accept": [
"*/*"
],
"protocols": {
"simple": {
"multipart": true,
"path": "/upload/v1/{+parent}/googetArtifacts:create"
}
}
},
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The name of the parent resource where the artifacts will be uploaded.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/googetArtifacts:create",
"request": {
"$ref": "UploadGooGetArtifactRequest"
},
"response": {
"$ref": "UploadGooGetArtifactMediaResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"supportsMediaUpload": true
}
}
},
"packages": {
"methods": {
"delete": {
Expand Down Expand Up @@ -1213,7 +1137,7 @@
}
}
},
"revision": "20220225",
"revision": "20220307",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"Binding": {
Expand Down Expand Up @@ -1400,35 +1324,6 @@
},
"type": "object"
},
"ImportGooGetArtifactsGcsSource": {
"description": "Google Cloud Storage location where the artifacts currently reside.",
"id": "ImportGooGetArtifactsGcsSource",
"properties": {
"uris": {
"description": "Cloud Storage paths URI (e.g., gs://my_bucket/my_object).",
"items": {
"type": "string"
},
"type": "array"
},
"useWildcards": {
"description": "Supports URI wildcards for matching multiple objects from a single URI.",
"type": "boolean"
}
},
"type": "object"
},
"ImportGooGetArtifactsRequest": {
"description": "The request to import new googet artifacts.",
"id": "ImportGooGetArtifactsRequest",
"properties": {
"gcsSource": {
"$ref": "ImportGooGetArtifactsGcsSource",
"description": "Google Cloud Storage location where input content is located."
}
},
"type": "object"
},
"ImportYumArtifactsGcsSource": {
"description": "Google Cloud Storage location where the artifacts currently reside.",
"id": "ImportYumArtifactsGcsSource",
Expand Down Expand Up @@ -1862,23 +1757,6 @@
"properties": {},
"type": "object"
},
"UploadGooGetArtifactMediaResponse": {
"description": "The response to upload an artifact.",
"id": "UploadGooGetArtifactMediaResponse",
"properties": {
"operation": {
"$ref": "Operation",
"description": "Operation to be returned to the user."
}
},
"type": "object"
},
"UploadGooGetArtifactRequest": {
"description": "The request to upload an artifact.",
"id": "UploadGooGetArtifactRequest",
"properties": {},
"type": "object"
},
"UploadYumArtifactMediaResponse": {
"description": "The response to upload an artifact.",
"id": "UploadYumArtifactMediaResponse",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@
"type": "string"
},
"parent": {
"description": "The name of the parent resource whose files will be listed.",
"description": "The name of the repository whose files will be listed. For example: \"projects/p1/locations/us-central1/repositories/repo1",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
"required": true,
Expand Down Expand Up @@ -929,7 +929,7 @@
}
}
},
"revision": "20220225",
"revision": "20220307",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"Binding": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@
"type": "string"
},
"parent": {
"description": "The name of the parent resource whose files will be listed.",
"description": "The name of the repository whose files will be listed. For example: \"projects/p1/locations/us-central1/repositories/repo1",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1135,7 +1135,7 @@
}
}
},
"revision": "20220225",
"revision": "20220307",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down

0 comments on commit 48c242e

Please sign in to comment.