Class ProjectsResource.AppsResource.GenerateAlertPolicyRequest
Creates a Cloud Monitoring AlertPolicy for the requested Crashlytics Web alert type and returns the created resource reference.
Inheritance
ProjectsResource.AppsResource.GenerateAlertPolicyRequest
Inherited Members
Namespace: Google.Apis.FirebaseCrashlytics.v1alpha
Assembly: Google.Apis.FirebaseCrashlytics.v1alpha.dll
Syntax
public class ProjectsResource.AppsResource.GenerateAlertPolicyRequest : FirebaseCrashlyticsBaseServiceRequest<GenerateAlertPolicyResponse>, IClientServiceRequest<GenerateAlertPolicyResponse>, IClientServiceRequest
Constructors
GenerateAlertPolicyRequest(IClientService, GenerateAlertPolicyRequest, string)
Constructs a new GenerateAlertPolicy request.
Declaration
public GenerateAlertPolicyRequest(IClientService service, GenerateAlertPolicyRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GenerateAlertPolicyRequest | body | |
| string | name |
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
Name
Required. The firebase application. Format: "projects/{project}/apps/{app_id}".
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes GenerateAlertPolicy parameter list.
Declaration
protected override void InitParameters()