Show / Hide Table of Contents

Class ProjectsResource.AddFirebaseRequest

Adds Firebase resources and enables Firebase services in the specified existing Google Cloud Project. Since a FirebaseProject is actually also a Google Cloud Project, a FirebaseProject has the same underlying Google Cloud identifiers (projectNumber and projectId). This allows for easy interop with Google APIs. The result of this call is an Operation. Poll the Operation to track the provisioning process by calling GetOperation until done is true. When done is true, the Operation has either succeeded or failed. If the Operation succeeded, its response is set to a FirebaseProject; if the Operation failed, its error is set to a google.rpc.Status. The Operation is automatically deleted after completion, so there is no need to call DeleteOperation. This method does not modify any billing account information on the underlying Google Cloud Project. To call AddFirebase, a project member or service account must have the following permissions (the IAM roles of Editor and Owner contain these permissions): firebase.projects.update, resourcemanager.projects.get, serviceusage.services.enable, and serviceusage.services.get.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Operation>
FirebaseManagementBaseServiceRequest<Operation>
ProjectsResource.AddFirebaseRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
FirebaseManagementBaseServiceRequest<Operation>.Xgafv
FirebaseManagementBaseServiceRequest<Operation>.AccessToken
FirebaseManagementBaseServiceRequest<Operation>.Alt
FirebaseManagementBaseServiceRequest<Operation>.Callback
FirebaseManagementBaseServiceRequest<Operation>.Fields
FirebaseManagementBaseServiceRequest<Operation>.Key
FirebaseManagementBaseServiceRequest<Operation>.OauthToken
FirebaseManagementBaseServiceRequest<Operation>.PrettyPrint
FirebaseManagementBaseServiceRequest<Operation>.QuotaUser
FirebaseManagementBaseServiceRequest<Operation>.UploadType
FirebaseManagementBaseServiceRequest<Operation>.UploadProtocol
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(bool?)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetDefaultETagAction(string)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.ApiVersion
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.FirebaseManagement.v1beta1
Assembly: Google.Apis.FirebaseManagement.v1beta1.dll
Syntax
public class ProjectsResource.AddFirebaseRequest : FirebaseManagementBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest

Constructors

AddFirebaseRequest(IClientService, AddFirebaseRequest, string)

Constructs a new AddFirebase request.

Declaration
public AddFirebaseRequest(IClientService service, AddFirebaseRequest body, string project)
Parameters
Type Name Description
IClientService service
AddFirebaseRequest body
string project

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Operation>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Operation>.MethodName

Project

The resource name of the Google Cloud Project in which Firebase resources will be added and Firebase services enabled, in the format: projects/ PROJECT_IDENTIFIER Refer to the FirebaseProject name field for details about PROJECT_IDENTIFIER values. After calling AddFirebase, the unique Project identifiers ( projectNumber and projectId) of the underlying Google Cloud Project are also the identifiers of the FirebaseProject.

Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Operation>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Operation>.GetBody()

InitParameters()

Initializes AddFirebase parameter list.

Declaration
protected override void InitParameters()
Overrides
FirebaseManagementBaseServiceRequest<Operation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX