blob: 88805733fb55ddacc3cd6bce7882ee792d0521bb [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<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="firebase_v1beta1.html">Firebase Management API</a> . <a href="firebase_v1beta1.projects.html">projects</a> . <a href="firebase_v1beta1.projects.androidApps.html">androidApps</a> . <a href="firebase_v1beta1.projects.androidApps.sha.html">sha</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Adds a SHA certificate to the specified AndroidApp.</p>
80<p class="toc_element">
81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Removes a SHA certificate from the specified AndroidApp.</p>
83<p class="toc_element">
84 <code><a href="#list">list(parent, x__xgafv=None)</a></code></p>
85<p class="firstline">Returns the list of SHA-1 and SHA-256 certificates for the specified</p>
86<h3>Method Details</h3>
87<div class="method">
88 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
89 <pre>Adds a SHA certificate to the specified AndroidApp.
90
91Args:
92 parent: string, The parent App to which a SHA certificate will be added, in the format:
93&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
94&lt;br&gt;As an &lt;var&gt;appId&lt;/var&gt; is a unique identifier, the Unique Resource
95from Sub-Collection access pattern may be used here, in the format:
96&lt;br&gt;&lt;code&gt;projects/-/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt; (required)
97 body: object, The request body.
98 The object takes the form of:
99
100{ # A SHA-1 or SHA-256 certificate associated with the AndroidApp.
101 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the `sha-key`, in the format:
102 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;/sha/&lt;var&gt;shaId&lt;/var&gt;&lt;/code&gt;
103 &quot;shaHash&quot;: &quot;A String&quot;, # The certificate hash for the App.
104 &quot;certType&quot;: &quot;A String&quot;, # The SHA certificate type.
105}
106
107 x__xgafv: string, V1 error format.
108 Allowed values
109 1 - v1 error format
110 2 - v2 error format
111
112Returns:
113 An object of the form:
114
115 { # A SHA-1 or SHA-256 certificate associated with the AndroidApp.
116 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the `sha-key`, in the format:
117 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;/sha/&lt;var&gt;shaId&lt;/var&gt;&lt;/code&gt;
118 &quot;shaHash&quot;: &quot;A String&quot;, # The certificate hash for the App.
119 &quot;certType&quot;: &quot;A String&quot;, # The SHA certificate type.
120 }</pre>
121</div>
122
123<div class="method">
124 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
125 <pre>Removes a SHA certificate from the specified AndroidApp.
126
127Args:
128 name: string, The fully qualified resource name of the `sha-key`, in the format:
129&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;/sha/&lt;var&gt;shaId&lt;/var&gt;&lt;/code&gt;
130&lt;br&gt;You can obtain the full name from the response of
131[`ListShaCertificates`](../projects.androidApps.sha/list) or the original
132[`CreateShaCertificate`](../projects.androidApps.sha/create). (required)
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 { # A generic empty message that you can re-use to avoid defining duplicated
142 # empty messages in your APIs. A typical example is to use it as the request
143 # or the response type of an API method. For instance:
144 #
145 # service Foo {
146 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
147 # }
148 #
149 # The JSON representation for `Empty` is empty JSON object `{}`.
150 }</pre>
151</div>
152
153<div class="method">
154 <code class="details" id="list">list(parent, x__xgafv=None)</code>
155 <pre>Returns the list of SHA-1 and SHA-256 certificates for the specified
156AndroidApp.
157
158Args:
159 parent: string, The parent App for which to list SHA certificates, in the format:
160&lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt;
161&lt;br&gt;As an &lt;var&gt;appId&lt;/var&gt; is a unique identifier, the Unique Resource
162from Sub-Collection access pattern may be used here, in the format:
163&lt;br&gt;&lt;code&gt;projects/-/androidApps/&lt;var&gt;appId&lt;/var&gt;&lt;/code&gt; (required)
164 x__xgafv: string, V1 error format.
165 Allowed values
166 1 - v1 error format
167 2 - v2 error format
168
169Returns:
170 An object of the form:
171
172 {
173 &quot;certificates&quot;: [ # The list of SHA certificates associated with the App.
174 { # A SHA-1 or SHA-256 certificate associated with the AndroidApp.
175 &quot;name&quot;: &quot;A String&quot;, # The fully qualified resource name of the `sha-key`, in the format:
176 # &lt;br&gt;&lt;code&gt;projects/&lt;var&gt;projectId&lt;/var&gt;/androidApps/&lt;var&gt;appId&lt;/var&gt;/sha/&lt;var&gt;shaId&lt;/var&gt;&lt;/code&gt;
177 &quot;shaHash&quot;: &quot;A String&quot;, # The certificate hash for the App.
178 &quot;certType&quot;: &quot;A String&quot;, # The SHA certificate type.
179 },
180 ],
181 }</pre>
182</div>
183
184</body></html>