Skip to content

Commit f8c3901

Browse files
feat(firebaseappcheck): update the api
#### firebaseappcheck:v1beta The following keys were added: - resources.projects.resources.apps.resources.appAttestConfig.methods.batchGet (Total Keys: 14) - resources.projects.resources.apps.resources.appAttestConfig.methods.get (Total Keys: 11) - resources.projects.resources.apps.resources.appAttestConfig.methods.patch (Total Keys: 15) - resources.projects.resources.apps.resources.safetyNetConfig.methods.batchGet (Total Keys: 14) - resources.projects.resources.apps.resources.safetyNetConfig.methods.get (Total Keys: 11) - resources.projects.resources.apps.resources.safetyNetConfig.methods.patch (Total Keys: 15) - schemas.GoogleFirebaseAppcheckV1betaAppAttestConfig (Total Keys: 5) - schemas.GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse (Total Keys: 4) - schemas.GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse (Total Keys: 4) - schemas.GoogleFirebaseAppcheckV1betaDeviceCheckConfig.properties.tokenTtl (Total Keys: 2) - schemas.GoogleFirebaseAppcheckV1betaRecaptchaConfig.properties.tokenTtl (Total Keys: 2) - schemas.GoogleFirebaseAppcheckV1betaSafetyNetConfig (Total Keys: 5)
1 parent fbc224e commit f8c3901

6 files changed

+621
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
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="firebaseappcheck_v1beta.html">Firebase App Check API</a> . <a href="firebaseappcheck_v1beta.projects.html">projects</a> . <a href="firebaseappcheck_v1beta.projects.apps.html">apps</a> . <a href="firebaseappcheck_v1beta.projects.apps.appAttestConfig.html">appAttestConfig</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#batchGet">batchGet(parent, names=None, x__xgafv=None)</a></code></p>
79+
<p class="firstline">Gets the AppAttestConfigs for the specified list of apps atomically.</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 the AppAttestConfig for the specified app.</p>
86+
<p class="toc_element">
87+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Updates the AppAttestConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange AppAttest tokens for App Check tokens.</p>
89+
<h3>Method Details</h3>
90+
<div class="method">
91+
<code class="details" id="batchGet">batchGet(parent, names=None, x__xgafv=None)</code>
92+
<pre>Gets the AppAttestConfigs for the specified list of apps atomically.
93+
94+
Args:
95+
parent: string, Required. The parent project name shared by all AppAttestConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of any resource being retrieved must match this field, or the entire batch fails. (required)
96+
names: string, Required. The relative resource names of the AppAttestConfigs to retrieve, in the format ``` projects/{project_number}/apps/{app_id}/appAttestConfig ``` A maximum of 100 objects can be retrieved in a batch. (repeated)
97+
x__xgafv: string, V1 error format.
98+
Allowed values
99+
1 - v1 error format
100+
2 - v2 error format
101+
102+
Returns:
103+
An object of the form:
104+
105+
{ # Response message for the BatchGetAppAttestConfigs method.
106+
&quot;configs&quot;: [ # AppAttestConfigs retrieved.
107+
{ # An app&#x27;s App Attest configuration object. This configuration controls certain properties of the App Check token returned by ExchangeAppAttestAttestation and ExchangeAppAttestAttestation, such as its ttl. Note that the Team ID registered with your app is used as part of the validation process. Please register it via the Firebase Console or programmatically via the [Firebase Management Service](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.iosApps/patch).
108+
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the App Attest configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ```
109+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
110+
},
111+
],
112+
}</pre>
113+
</div>
114+
115+
<div class="method">
116+
<code class="details" id="close">close()</code>
117+
<pre>Close httplib2 connections.</pre>
118+
</div>
119+
120+
<div class="method">
121+
<code class="details" id="get">get(name, x__xgafv=None)</code>
122+
<pre>Gets the AppAttestConfig for the specified app.
123+
124+
Args:
125+
name: string, Required. The relative resource name of the AppAttestConfig, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ``` (required)
126+
x__xgafv: string, V1 error format.
127+
Allowed values
128+
1 - v1 error format
129+
2 - v2 error format
130+
131+
Returns:
132+
An object of the form:
133+
134+
{ # An app&#x27;s App Attest configuration object. This configuration controls certain properties of the App Check token returned by ExchangeAppAttestAttestation and ExchangeAppAttestAttestation, such as its ttl. Note that the Team ID registered with your app is used as part of the validation process. Please register it via the Firebase Console or programmatically via the [Firebase Management Service](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.iosApps/patch).
135+
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the App Attest configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ```
136+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
137+
}</pre>
138+
</div>
139+
140+
<div class="method">
141+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
142+
<pre>Updates the AppAttestConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange AppAttest tokens for App Check tokens.
143+
144+
Args:
145+
name: string, Required. The relative resource name of the App Attest configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ``` (required)
146+
body: object, The request body.
147+
The object takes the form of:
148+
149+
{ # An app&#x27;s App Attest configuration object. This configuration controls certain properties of the App Check token returned by ExchangeAppAttestAttestation and ExchangeAppAttestAttestation, such as its ttl. Note that the Team ID registered with your app is used as part of the validation process. Please register it via the Firebase Console or programmatically via the [Firebase Management Service](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.iosApps/patch).
150+
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the App Attest configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ```
151+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
152+
}
153+
154+
updateMask: string, Required. A comma-separated list of names of fields in the AppAttestConfig Gets to update. Example: `token_ttl`.
155+
x__xgafv: string, V1 error format.
156+
Allowed values
157+
1 - v1 error format
158+
2 - v2 error format
159+
160+
Returns:
161+
An object of the form:
162+
163+
{ # An app&#x27;s App Attest configuration object. This configuration controls certain properties of the App Check token returned by ExchangeAppAttestAttestation and ExchangeAppAttestAttestation, such as its ttl. Note that the Team ID registered with your app is used as part of the validation process. Please register it via the Firebase Console or programmatically via the [Firebase Management Service](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.iosApps/patch).
164+
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the App Attest configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ```
165+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
166+
}</pre>
167+
</div>
168+
169+
</body></html>

docs/dyn/firebaseappcheck_v1beta.projects.apps.deviceCheckConfig.html

+4
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ <h3>Method Details</h3>
109109
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the DeviceCheck configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ```
110110
&quot;privateKey&quot;: &quot;A String&quot;, # Required. Input only. The contents of the private key (`.p8`) file associated with the key specified by `key_id`. For security reasons, this field will never be populated in any response.
111111
&quot;privateKeySet&quot;: True or False, # Output only. Whether the `private_key` field was previously set. Since we will never return the `private_key` field, this field is the only way to find out whether it was previously set.
112+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from DeviceCheck tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
112113
},
113114
],
114115
}</pre>
@@ -138,6 +139,7 @@ <h3>Method Details</h3>
138139
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the DeviceCheck configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ```
139140
&quot;privateKey&quot;: &quot;A String&quot;, # Required. Input only. The contents of the private key (`.p8`) file associated with the key specified by `key_id`. For security reasons, this field will never be populated in any response.
140141
&quot;privateKeySet&quot;: True or False, # Output only. Whether the `private_key` field was previously set. Since we will never return the `private_key` field, this field is the only way to find out whether it was previously set.
142+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from DeviceCheck tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
141143
}</pre>
142144
</div>
143145

@@ -155,6 +157,7 @@ <h3>Method Details</h3>
155157
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the DeviceCheck configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ```
156158
&quot;privateKey&quot;: &quot;A String&quot;, # Required. Input only. The contents of the private key (`.p8`) file associated with the key specified by `key_id`. For security reasons, this field will never be populated in any response.
157159
&quot;privateKeySet&quot;: True or False, # Output only. Whether the `private_key` field was previously set. Since we will never return the `private_key` field, this field is the only way to find out whether it was previously set.
160+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from DeviceCheck tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
158161
}
159162

160163
updateMask: string, Required. A comma-separated list of names of fields in the DeviceCheckConfig Gets to update. Example: `key_id,private_key`.
@@ -171,6 +174,7 @@ <h3>Method Details</h3>
171174
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the DeviceCheck configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ```
172175
&quot;privateKey&quot;: &quot;A String&quot;, # Required. Input only. The contents of the private key (`.p8`) file associated with the key specified by `key_id`. For security reasons, this field will never be populated in any response.
173176
&quot;privateKeySet&quot;: True or False, # Output only. Whether the `private_key` field was previously set. Since we will never return the `private_key` field, this field is the only way to find out whether it was previously set.
177+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from DeviceCheck tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.
174178
}</pre>
175179
</div>
176180

docs/dyn/firebaseappcheck_v1beta.projects.apps.html

+10
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="firebaseappcheck_v1beta.html">Firebase App Check API</a> . <a href="firebaseappcheck_v1beta.projects.html">projects</a> . <a href="firebaseappcheck_v1beta.projects.apps.html">apps</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="firebaseappcheck_v1beta.projects.apps.appAttestConfig.html">appAttestConfig()</a></code>
79+
</p>
80+
<p class="firstline">Returns the appAttestConfig Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="firebaseappcheck_v1beta.projects.apps.debugTokens.html">debugTokens()</a></code>
7984
</p>
@@ -89,6 +94,11 @@ <h2>Instance Methods</h2>
8994
</p>
9095
<p class="firstline">Returns the recaptchaConfig Resource.</p>
9196

97+
<p class="toc_element">
98+
<code><a href="firebaseappcheck_v1beta.projects.apps.safetyNetConfig.html">safetyNetConfig()</a></code>
99+
</p>
100+
<p class="firstline">Returns the safetyNetConfig Resource.</p>
101+
92102
<p class="toc_element">
93103
<code><a href="#close">close()</a></code></p>
94104
<p class="firstline">Close httplib2 connections.</p>

docs/dyn/firebaseappcheck_v1beta.projects.apps.recaptchaConfig.html

+4
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ <h3>Method Details</h3>
108108
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the reCAPTCHA v3 configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaConfig ```
109109
&quot;siteSecret&quot;: &quot;A String&quot;, # Required. Input only. The site secret used to identify your service for reCAPTCHA v3 verification. For security reasons, this field will never be populated in any response.
110110
&quot;siteSecretSet&quot;: True or False, # Output only. Whether the `site_secret` field was previously set. Since we will never return the `site_secret` field, this field is the only way to find out whether it was previously set.
111+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from reCAPTCHA tokens will be valid. If unset, a default value of 1 day is assumed. Must be between 30 minutes and 7 days, inclusive.
111112
},
112113
],
113114
}</pre>
@@ -136,6 +137,7 @@ <h3>Method Details</h3>
136137
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the reCAPTCHA v3 configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaConfig ```
137138
&quot;siteSecret&quot;: &quot;A String&quot;, # Required. Input only. The site secret used to identify your service for reCAPTCHA v3 verification. For security reasons, this field will never be populated in any response.
138139
&quot;siteSecretSet&quot;: True or False, # Output only. Whether the `site_secret` field was previously set. Since we will never return the `site_secret` field, this field is the only way to find out whether it was previously set.
140+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from reCAPTCHA tokens will be valid. If unset, a default value of 1 day is assumed. Must be between 30 minutes and 7 days, inclusive.
139141
}</pre>
140142
</div>
141143

@@ -152,6 +154,7 @@ <h3>Method Details</h3>
152154
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the reCAPTCHA v3 configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaConfig ```
153155
&quot;siteSecret&quot;: &quot;A String&quot;, # Required. Input only. The site secret used to identify your service for reCAPTCHA v3 verification. For security reasons, this field will never be populated in any response.
154156
&quot;siteSecretSet&quot;: True or False, # Output only. Whether the `site_secret` field was previously set. Since we will never return the `site_secret` field, this field is the only way to find out whether it was previously set.
157+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from reCAPTCHA tokens will be valid. If unset, a default value of 1 day is assumed. Must be between 30 minutes and 7 days, inclusive.
155158
}
156159

157160
updateMask: string, Required. A comma-separated list of names of fields in the RecaptchaConfig to update. Example: `site_secret`.
@@ -167,6 +170,7 @@ <h3>Method Details</h3>
167170
&quot;name&quot;: &quot;A String&quot;, # Required. The relative resource name of the reCAPTCHA v3 configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaConfig ```
168171
&quot;siteSecret&quot;: &quot;A String&quot;, # Required. Input only. The site secret used to identify your service for reCAPTCHA v3 verification. For security reasons, this field will never be populated in any response.
169172
&quot;siteSecretSet&quot;: True or False, # Output only. Whether the `site_secret` field was previously set. Since we will never return the `site_secret` field, this field is the only way to find out whether it was previously set.
173+
&quot;tokenTtl&quot;: &quot;A String&quot;, # Specifies the duration for which App Check tokens exchanged from reCAPTCHA tokens will be valid. If unset, a default value of 1 day is assumed. Must be between 30 minutes and 7 days, inclusive.
170174
}</pre>
171175
</div>
172176

0 commit comments

Comments
 (0)