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="firebasestorage_v1beta.html">Cloud Storage for Firebase API</a> . <a href="firebasestorage_v1beta.projects.html">projects</a> . <a href="firebasestorage_v1beta.projects.buckets.html">buckets</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#addFirebase">addFirebase(bucket, body=None, x__xgafv=None)</a></code></p> 79<p class="firstline">Links a Google Cloud Storage bucket to a Firebase project.</p> 80<p class="toc_element"> 81 <code><a href="#close">close()</a></code></p> 82<p class="firstline">Close httplib2 connections.</p> 83<p class="toc_element"> 84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 85<p class="firstline">Gets a single linked storage bucket.</p> 86<p class="toc_element"> 87 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> 88<p class="firstline">Lists the linked storage buckets for a project.</p> 89<p class="toc_element"> 90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 91<p class="firstline">Retrieves the next page of results.</p> 92<p class="toc_element"> 93 <code><a href="#removeFirebase">removeFirebase(bucket, body=None, x__xgafv=None)</a></code></p> 94<p class="firstline">Unlinks a linked Google Cloud Storage bucket from a Firebase project.</p> 95<h3>Method Details</h3> 96<div class="method"> 97 <code class="details" id="addFirebase">addFirebase(bucket, body=None, x__xgafv=None)</code> 98 <pre>Links a Google Cloud Storage bucket to a Firebase project. 99 100Args: 101 bucket: string, Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`. (required) 102 body: object, The request body. 103 The object takes the form of: 104 105{ # The request used to link a Google Cloud Storage bucket to a Firebase project. 106} 107 108 x__xgafv: string, V1 error format. 109 Allowed values 110 1 - v1 error format 111 2 - v2 error format 112 113Returns: 114 An object of the form: 115 116 { # A storage bucket and its relation to a parent Firebase project. 117 "location": "A String", # Output only. Location of the storage bucket. 118 "name": "A String", # Resource name of the bucket. 119 "reconciling": True or False, # Output only. Represents whether a bucket is being moved to a new location, in which case reconciling is set to true. 120}</pre> 121</div> 122 123<div class="method"> 124 <code class="details" id="close">close()</code> 125 <pre>Close httplib2 connections.</pre> 126</div> 127 128<div class="method"> 129 <code class="details" id="get">get(name, x__xgafv=None)</code> 130 <pre>Gets a single linked storage bucket. 131 132Args: 133 name: string, Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`. (required) 134 x__xgafv: string, V1 error format. 135 Allowed values 136 1 - v1 error format 137 2 - v2 error format 138 139Returns: 140 An object of the form: 141 142 { # A storage bucket and its relation to a parent Firebase project. 143 "location": "A String", # Output only. Location of the storage bucket. 144 "name": "A String", # Resource name of the bucket. 145 "reconciling": True or False, # Output only. Represents whether a bucket is being moved to a new location, in which case reconciling is set to true. 146}</pre> 147</div> 148 149<div class="method"> 150 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code> 151 <pre>Lists the linked storage buckets for a project. 152 153Args: 154 parent: string, Required. Resource name of the parent Firebase project, `projects/{project_number}`. (required) 155 pageSize: integer, The maximum number of buckets to return. If not set, the server will use a reasonable default. 156 pageToken: string, A page token, received from a previous `ListBuckets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBuckets` must match the call that provided the page token. 157 x__xgafv: string, V1 error format. 158 Allowed values 159 1 - v1 error format 160 2 - v2 error format 161 162Returns: 163 An object of the form: 164 165 { # The response returned by `ListBuckets`. 166 "buckets": [ # The list of linked buckets. 167 { # A storage bucket and its relation to a parent Firebase project. 168 "location": "A String", # Output only. Location of the storage bucket. 169 "name": "A String", # Resource name of the bucket. 170 "reconciling": True or False, # Output only. Represents whether a bucket is being moved to a new location, in which case reconciling is set to true. 171 }, 172 ], 173 "nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. 174}</pre> 175</div> 176 177<div class="method"> 178 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 179 <pre>Retrieves the next page of results. 180 181Args: 182 previous_request: The request for the previous page. (required) 183 previous_response: The response from the request for the previous page. (required) 184 185Returns: 186 A request object that you can call 'execute()' on to request the next 187 page. Returns None if there are no more items in the collection. 188 </pre> 189</div> 190 191<div class="method"> 192 <code class="details" id="removeFirebase">removeFirebase(bucket, body=None, x__xgafv=None)</code> 193 <pre>Unlinks a linked Google Cloud Storage bucket from a Firebase project. 194 195Args: 196 bucket: string, Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, `projects/{project_number}/buckets/{bucket_id}`. (required) 197 body: object, The request body. 198 The object takes the form of: 199 200{ # The request used to unlink a Google Cloud Storage bucket from a Firebase project. 201} 202 203 x__xgafv: string, V1 error format. 204 Allowed values 205 1 - v1 error format 206 2 - v2 error format 207 208Returns: 209 An object of the form: 210 211 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. 212}</pre> 213</div> 214 215</body></html>