Show / Hide Table of Contents

Class AlertsResource.GetMetadataRequest

Returns the metadata of an alert. Attempting to get metadata for a non-existent alert returns NOT_FOUND error.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<AlertMetadata>
AlertCenterBaseServiceRequest<AlertMetadata>
AlertsResource.GetMetadataRequest
Implements
IClientServiceRequest<AlertMetadata>
IClientServiceRequest
Inherited Members
AlertCenterBaseServiceRequest<AlertMetadata>.Xgafv
AlertCenterBaseServiceRequest<AlertMetadata>.AccessToken
AlertCenterBaseServiceRequest<AlertMetadata>.Alt
AlertCenterBaseServiceRequest<AlertMetadata>.Callback
AlertCenterBaseServiceRequest<AlertMetadata>.Fields
AlertCenterBaseServiceRequest<AlertMetadata>.Key
AlertCenterBaseServiceRequest<AlertMetadata>.OauthToken
AlertCenterBaseServiceRequest<AlertMetadata>.PrettyPrint
AlertCenterBaseServiceRequest<AlertMetadata>.QuotaUser
AlertCenterBaseServiceRequest<AlertMetadata>.UploadType
AlertCenterBaseServiceRequest<AlertMetadata>.UploadProtocol
ClientServiceRequest<AlertMetadata>.Execute()
ClientServiceRequest<AlertMetadata>.ExecuteAsStream()
ClientServiceRequest<AlertMetadata>.ExecuteAsync()
ClientServiceRequest<AlertMetadata>.ExecuteAsync(CancellationToken)
ClientServiceRequest<AlertMetadata>.ExecuteAsStreamAsync()
ClientServiceRequest<AlertMetadata>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<AlertMetadata>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<AlertMetadata>.GenerateRequestUri()
ClientServiceRequest<AlertMetadata>.GetBody()
ClientServiceRequest<AlertMetadata>.GetDefaultETagAction(String)
ClientServiceRequest<AlertMetadata>.ETagAction
ClientServiceRequest<AlertMetadata>.ModifyRequest
ClientServiceRequest<AlertMetadata>.ValidateParameters
ClientServiceRequest<AlertMetadata>.RequestParameters
ClientServiceRequest<AlertMetadata>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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 GetMetadataRequest : AlertCenterBaseServiceRequest<AlertMetadata>, IClientServiceRequest<AlertMetadata>, IClientServiceRequest

Constructors

GetMetadataRequest(IClientService, String)

Constructs a new GetMetadata request.

Declaration
public GetMetadataRequest(IClientService service, string alertId)
Parameters
Type Name Description
IClientService service
System.String alertId

Properties

AlertId

Required. The identifier of the alert this metadata belongs to.

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 metadata 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.AlertMetadata>.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.AlertMetadata>.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.AlertMetadata>.RestPath

Methods

InitParameters()

Initializes GetMetadata parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.AlertCenter.v1beta1.AlertCenterBaseServiceRequest<Google.Apis.AlertCenter.v1beta1.Data.AlertMetadata>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top