Class AlertsResource.GetRequest
Gets the specified alert. Attempting to get a nonexistent alert returns NOT_FOUND error.
Inheritance
System.Object
AlertsResource.GetRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AlertCenter.v1beta1
Assembly: Google.Apis.AlertCenter.v1beta1.dll
Syntax
public class GetRequest : AlertCenterBaseServiceRequest<Alert>, IClientServiceRequest<Alert>, IClientServiceRequest
Constructors
GetRequest(IClientService, String)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string alertId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | alertId |
Properties
AlertId
Required. The identifier of the alert to retrieve.
Declaration
[RequestParameter("alertId", RequestParameterType.Path)]
public virtual string AlertId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
CustomerId
Optional. The unique identifier of the Google Workspace organization account of the customer the alert is associated with. Inferred from the caller identity if not provided.
Declaration
[RequestParameter("customerId", RequestParameterType.Query)]
public virtual string CustomerId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AlertCenter.v1beta1.Data.Alert>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AlertCenter.v1beta1.Data.Alert>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AlertCenter.v1beta1.Data.Alert>.RestPath
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.AlertCenter.v1beta1.AlertCenterBaseServiceRequest<Google.Apis.AlertCenter.v1beta1.Data.Alert>.InitParameters()