
target.apidocs.com.google.api.services.firebase.v1beta1.FirebaseManagement.Projects.AndroidApps.Sha.html Maven / Gradle / Ivy
FirebaseManagement.Projects.AndroidApps.Sha (Firebase Management API v1beta1-rev20230202-2.0.0)
com.google.api.services.firebase.v1beta1
Class FirebaseManagement.Projects.AndroidApps.Sha
- java.lang.Object
-
- com.google.api.services.firebase.v1beta1.FirebaseManagement.Projects.AndroidApps.Sha
-
- Enclosing class:
- FirebaseManagement.Projects.AndroidApps
public class FirebaseManagement.Projects.AndroidApps.Sha
extends Object
The "sha" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
FirebaseManagement.Projects.AndroidApps.Sha.Create
class
FirebaseManagement.Projects.AndroidApps.Sha.Delete
class
FirebaseManagement.Projects.AndroidApps.Sha.List
-
Constructor Summary
Constructors
Constructor and Description
Sha()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
FirebaseManagement.Projects.AndroidApps.Sha.Create
create(String parent,
ShaCertificate content)
Adds a ShaCertificate to the specified AndroidApp.
FirebaseManagement.Projects.AndroidApps.Sha.Delete
delete(String name)
Removes a ShaCertificate from the specified AndroidApp.
FirebaseManagement.Projects.AndroidApps.Sha.List
list(String parent)
Lists the SHA-1 and SHA-256 certificates for the specified AndroidApp.
-
-
Method Detail
-
create
public FirebaseManagement.Projects.AndroidApps.Sha.Create create(String parent,
ShaCertificate content)
throws IOException
Adds a ShaCertificate to the specified AndroidApp.
Create a request for the method "sha.create".
This request holds the parameters needed by the firebase server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- The resource name of the parent AndroidApp to which to add a ShaCertificate, in the format:
projects/PROJECT_IDENTIFIER/androidApps/ APP_ID Since an APP_ID is a unique identifier,
the Unique Resource from Sub-Collection access pattern may be used here, in the format:
projects/-/androidApps/APP_ID Refer to the `AndroidApp`
[`name`](../projects.androidApps#AndroidApp.FIELDS.name) field for details about
PROJECT_IDENTIFIER and APP_ID values.
content
- the ShaCertificate
- Returns:
- the request
- Throws:
IOException
-
delete
public FirebaseManagement.Projects.AndroidApps.Sha.Delete delete(String name)
throws IOException
Removes a ShaCertificate from the specified AndroidApp.
Create a request for the method "sha.delete".
This request holds the parameters needed by the firebase server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- The resource name of the ShaCertificate to remove from the parent AndroidApp, in the format:
projects/PROJECT_IDENTIFIER/androidApps/APP_ID /sha/SHA_HASH Refer to the `ShaCertificate`
[`name`](../projects.androidApps.sha#ShaCertificate.FIELDS.name) field for details about
PROJECT_IDENTIFIER, APP_ID, and SHA_HASH values. You can obtain the full resource name of
the `ShaCertificate` from the response of
[`ListShaCertificates`](../projects.androidApps.sha/list) or the original
[`CreateShaCertificate`](../projects.androidApps.sha/create).
- Returns:
- the request
- Throws:
IOException
-
list
public FirebaseManagement.Projects.AndroidApps.Sha.List list(String parent)
throws IOException
Lists the SHA-1 and SHA-256 certificates for the specified AndroidApp.
Create a request for the method "sha.list".
This request holds the parameters needed by the firebase server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- The resource name of the parent AndroidApp for which to list each associated ShaCertificate, in the
format: projects/PROJECT_IDENTIFIER /androidApps/APP_ID Since an APP_ID is a unique
identifier, the Unique Resource from Sub-Collection access pattern may be used here, in
the format: projects/-/androidApps/APP_ID Refer to the `AndroidApp`
[`name`](../projects.androidApps#AndroidApp.FIELDS.name) field for details about
PROJECT_IDENTIFIER and APP_ID values.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy