Skip to content

Commit

Permalink
feat(firebaseappcheck): update the API
Browse files Browse the repository at this point in the history
#### firebaseappcheck:v1beta

The following keys were added:
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.description
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.flatPath
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.httpMethod
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.id
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.parameterOrder
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.parameters.names.description
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.parameters.names.location
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.parameters.names.repeated
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.parameters.names.type
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.parameters.parent.description
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.parameters.parent.location
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.parameters.parent.pattern
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.parameters.parent.required
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.parameters.parent.type
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.path
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.response.$ref
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.batchGet.scopes
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.description
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.flatPath
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.httpMethod
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.id
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.parameterOrder
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.parameters.name.description
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.parameters.name.location
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.parameters.name.pattern
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.parameters.name.required
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.parameters.name.type
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.path
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.response.$ref
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.get.scopes
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.description
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.flatPath
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.httpMethod
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.id
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.parameterOrder
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.parameters.name.description
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.parameters.name.location
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.parameters.name.pattern
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.parameters.name.required
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.parameters.name.type
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.parameters.updateMask.description
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.parameters.updateMask.format
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.parameters.updateMask.location
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.parameters.updateMask.type
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.path
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.request.$ref
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.response.$ref
- resources.projects.resources.apps.resources.recaptchaV3Config.methods.patch.scopes
- schemas.GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse.description
- schemas.GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse.id
- schemas.GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse.properties.configs.description
- schemas.GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse.properties.configs.items.$ref
- schemas.GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse.properties.configs.type
- schemas.GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse.type
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.description
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.id
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.properties.name.description
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.properties.name.type
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.properties.siteSecret.description
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.properties.siteSecret.type
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.properties.siteSecretSet.description
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.properties.siteSecretSet.readOnly
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.properties.siteSecretSet.type
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.properties.tokenTtl.description
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.properties.tokenTtl.format
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.properties.tokenTtl.type
- schemas.GoogleFirebaseAppcheckV1betaRecaptchaV3Config.type
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 1, 2022
1 parent 4b509a6 commit 0613fe3
Show file tree
Hide file tree
Showing 2 changed files with 653 additions and 1 deletion.
138 changes: 137 additions & 1 deletion discovery/firebaseappcheck-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,103 @@
}
}
},
"recaptchaV3Config": {
"methods": {
"batchGet": {
"description": "Atomically gets the RecaptchaV3Configs for the specified list of apps. For security reasons, the `site_secret` field is never populated in the response.",
"flatPath": "v1beta/projects/{projectsId}/apps/-/recaptchaV3Config:batchGet",
"httpMethod": "GET",
"id": "firebaseappcheck.projects.apps.recaptchaV3Config.batchGet",
"parameterOrder": [
"parent"
],
"parameters": {
"names": {
"description": "Required. The relative resource names of the RecaptchaV3Configs to retrieve, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ``` A maximum of 100 objects can be retrieved in a batch.",
"location": "query",
"repeated": true,
"type": "string"
},
"parent": {
"description": "Required. The parent project name shared by all RecaptchaV3Configs 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.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta/{+parent}/apps/-/recaptchaV3Config:batchGet",
"response": {
"$ref": "GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
},
"get": {
"description": "Gets the RecaptchaV3Config for the specified app. For security reasons, the `site_secret` field is never populated in the response.",
"flatPath": "v1beta/projects/{projectsId}/apps/{appsId}/recaptchaV3Config",
"httpMethod": "GET",
"id": "firebaseappcheck.projects.apps.recaptchaV3Config.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The relative resource name of the RecaptchaV3Config, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ```",
"location": "path",
"pattern": "^projects/[^/]+/apps/[^/]+/recaptchaV3Config$",
"required": true,
"type": "string"
}
},
"path": "v1beta/{+name}",
"response": {
"$ref": "GoogleFirebaseAppcheckV1betaRecaptchaV3Config"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
},
"patch": {
"description": "Updates the RecaptchaV3Config for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange reCAPTCHA V3 tokens for App Check tokens. For security reasons, the `site_secret` field is never populated in the response.",
"flatPath": "v1beta/projects/{projectsId}/apps/{appsId}/recaptchaV3Config",
"httpMethod": "PATCH",
"id": "firebaseappcheck.projects.apps.recaptchaV3Config.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The relative resource name of the reCAPTCHA v3 configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ```",
"location": "path",
"pattern": "^projects/[^/]+/apps/[^/]+/recaptchaV3Config$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. A comma-separated list of names of fields in the RecaptchaV3Config to update. Example: `site_secret`.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1beta/{+name}",
"request": {
"$ref": "GoogleFirebaseAppcheckV1betaRecaptchaV3Config"
},
"response": {
"$ref": "GoogleFirebaseAppcheckV1betaRecaptchaV3Config"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/firebase"
]
}
}
},
"safetyNetConfig": {
"methods": {
"batchGet": {
Expand Down Expand Up @@ -1212,7 +1309,7 @@
}
}
},
"revision": "20220318",
"revision": "20220325",
"rootUrl": "https://firebaseappcheck.googleapis.com/",
"schemas": {
"GoogleFirebaseAppcheckV1betaAppAttestConfig": {
Expand Down Expand Up @@ -1323,6 +1420,20 @@
},
"type": "object"
},
"GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse": {
"description": "Response message for the BatchGetRecaptchaV3Configs method.",
"id": "GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse",
"properties": {
"configs": {
"description": "RecaptchaV3Configs retrieved.",
"items": {
"$ref": "GoogleFirebaseAppcheckV1betaRecaptchaV3Config"
},
"type": "array"
}
},
"type": "object"
},
"GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse": {
"description": "Response message for the BatchGetSafetyNetConfigs method.",
"id": "GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse",
Expand Down Expand Up @@ -1708,6 +1819,31 @@
},
"type": "object"
},
"GoogleFirebaseAppcheckV1betaRecaptchaV3Config": {
"description": "An app's reCAPTCHA v3 configuration object. This configuration is used by ExchangeRecaptchaV3Token to validate reCAPTCHA tokens issued to apps by reCAPTCHA v3. It also controls certain properties of the returned App Check token, such as its ttl.",
"id": "GoogleFirebaseAppcheckV1betaRecaptchaV3Config",
"properties": {
"name": {
"description": "Required. The relative resource name of the reCAPTCHA v3 configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ```",
"type": "string"
},
"siteSecret": {
"description": "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.",
"type": "string"
},
"siteSecretSet": {
"description": "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.",
"readOnly": true,
"type": "boolean"
},
"tokenTtl": {
"description": "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.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"GoogleFirebaseAppcheckV1betaSafetyNetConfig": {
"description": "An app's SafetyNet configuration object. This configuration controls certain properties of the App Check token returned by ExchangeSafetyNetToken, such as its ttl. Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by SafetyNet; please register them via the Firebase Console or programmatically via the [Firebase Management Service](https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.androidApps.sha/create).",
"id": "GoogleFirebaseAppcheckV1betaSafetyNetConfig",
Expand Down
Loading

0 comments on commit 0613fe3

Please sign in to comment.