Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame^] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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 | |
| 91 | Args: |
| 92 | parent: string, The parent App to which a SHA certificate will be added, in the format: |
| 93 | <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var></code> |
| 94 | <br>As an <var>appId</var> is a unique identifier, the Unique Resource |
| 95 | from Sub-Collection access pattern may be used here, in the format: |
| 96 | <br><code>projects/-/androidApps/<var>appId</var></code> (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 | "name": "A String", # The fully qualified resource name of the `sha-key`, in the format: |
| 102 | # <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var>/sha/<var>shaId</var></code> |
| 103 | "shaHash": "A String", # The certificate hash for the App. |
| 104 | "certType": "A String", # 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 | |
| 112 | Returns: |
| 113 | An object of the form: |
| 114 | |
| 115 | { # A SHA-1 or SHA-256 certificate associated with the AndroidApp. |
| 116 | "name": "A String", # The fully qualified resource name of the `sha-key`, in the format: |
| 117 | # <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var>/sha/<var>shaId</var></code> |
| 118 | "shaHash": "A String", # The certificate hash for the App. |
| 119 | "certType": "A String", # 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 | |
| 127 | Args: |
| 128 | name: string, The fully qualified resource name of the `sha-key`, in the format: |
| 129 | <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var>/sha/<var>shaId</var></code> |
| 130 | <br>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 | |
| 138 | Returns: |
| 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 |
| 156 | AndroidApp. |
| 157 | |
| 158 | Args: |
| 159 | parent: string, The parent App for which to list SHA certificates, in the format: |
| 160 | <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var></code> |
| 161 | <br>As an <var>appId</var> is a unique identifier, the Unique Resource |
| 162 | from Sub-Collection access pattern may be used here, in the format: |
| 163 | <br><code>projects/-/androidApps/<var>appId</var></code> (required) |
| 164 | x__xgafv: string, V1 error format. |
| 165 | Allowed values |
| 166 | 1 - v1 error format |
| 167 | 2 - v2 error format |
| 168 | |
| 169 | Returns: |
| 170 | An object of the form: |
| 171 | |
| 172 | { |
| 173 | "certificates": [ # The list of SHA certificates associated with the App. |
| 174 | { # A SHA-1 or SHA-256 certificate associated with the AndroidApp. |
| 175 | "name": "A String", # The fully qualified resource name of the `sha-key`, in the format: |
| 176 | # <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var>/sha/<var>shaId</var></code> |
| 177 | "shaHash": "A String", # The certificate hash for the App. |
| 178 | "certType": "A String", # The SHA certificate type. |
| 179 | }, |
| 180 | ], |
| 181 | }</pre> |
| 182 | </div> |
| 183 | |
| 184 | </body></html> |