Class ProjectsResource.DatabasesResource.UserCredsResource.CreateRequest
Create a user creds.
Inheritance
ProjectsResource.DatabasesResource.UserCredsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Firestore.v1
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class ProjectsResource.DatabasesResource.UserCredsResource.CreateRequest : FirestoreBaseServiceRequest<GoogleFirestoreAdminV1UserCreds>, IClientServiceRequest<GoogleFirestoreAdminV1UserCreds>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleFirestoreAdminV1UserCreds, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleFirestoreAdminV1UserCreds body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleFirestoreAdminV1UserCreds | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. A parent name of the form projects/{project_id}/databases/{database_id}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UserCredsId
Required. The ID to use for the user creds, which will become the final component of the user creds's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/.
Declaration
[RequestParameter("userCredsId", RequestParameterType.Query)]
public virtual string UserCredsId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()