1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="artifactregistry_v1beta2.html">Artifact Registry API</a> . <a href="artifactregistry_v1beta2.projects.html">projects</a> . <a href="artifactregistry_v1beta2.projects.locations.html">locations</a> . <a href="artifactregistry_v1beta2.projects.locations.repositories.html">repositories</a> . <a href="artifactregistry_v1beta2.projects.locations.repositories.files.html">files</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 82<p class="firstline">Gets a file.</p> 83<p class="toc_element"> 84 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Lists files.</p> 86<p class="toc_element"> 87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 88<p class="firstline">Retrieves the next page of results.</p> 89<h3>Method Details</h3> 90<div class="method"> 91 <code class="details" id="close">close()</code> 92 <pre>Close httplib2 connections.</pre> 93</div> 94 95<div class="method"> 96 <code class="details" id="get">get(name, x__xgafv=None)</code> 97 <pre>Gets a file. 98 99Args: 100 name: string, The name of the file to retrieve. (required) 101 x__xgafv: string, V1 error format. 102 Allowed values 103 1 - v1 error format 104 2 - v2 error format 105 106Returns: 107 An object of the form: 108 109 { # Files store content that is potentially associated with Packages or Versions. 110 "createTime": "A String", # The time when the File was created. 111 "hashes": [ # The hashes of the file content. 112 { # A hash of file content. 113 "type": "A String", # The algorithm used to compute the hash value. 114 "value": "A String", # The hash value. 115 }, 116 ], 117 "name": "A String", # The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped. 118 "owner": "A String", # The name of the Package or Version that owns this file, if any. 119 "sizeBytes": "A String", # The size of the File in bytes. 120 "updateTime": "A String", # The time when the File was last updated. 121}</pre> 122</div> 123 124<div class="method"> 125 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code> 126 <pre>Lists files. 127 128Args: 129 parent: string, The name of the parent resource whose files will be listed. (required) 130 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="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`. 131 pageSize: integer, The maximum number of files to return. 132 pageToken: string, The next_page_token value returned from a previous list request, if any. 133 x__xgafv: string, V1 error format. 134 Allowed values 135 1 - v1 error format 136 2 - v2 error format 137 138Returns: 139 An object of the form: 140 141 { # The response from listing files. 142 "files": [ # The files returned. 143 { # Files store content that is potentially associated with Packages or Versions. 144 "createTime": "A String", # The time when the File was created. 145 "hashes": [ # The hashes of the file content. 146 { # A hash of file content. 147 "type": "A String", # The algorithm used to compute the hash value. 148 "value": "A String", # The hash value. 149 }, 150 ], 151 "name": "A String", # The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped. 152 "owner": "A String", # The name of the Package or Version that owns this file, if any. 153 "sizeBytes": "A String", # The size of the File in bytes. 154 "updateTime": "A String", # The time when the File was last updated. 155 }, 156 ], 157 "nextPageToken": "A String", # The token to retrieve the next page of files, or empty if there are no more files to return. 158}</pre> 159</div> 160 161<div class="method"> 162 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 163 <pre>Retrieves the next page of results. 164 165Args: 166 previous_request: The request for the previous page. (required) 167 previous_response: The response from the request for the previous page. (required) 168 169Returns: 170 A request object that you can call 'execute()' on to request the next 171 page. Returns None if there are no more items in the collection. 172 </pre> 173</div> 174 175</body></html>