Class GetNotificationChannelVerificationCodeRequest (2.3.0)

public sealed class GetNotificationChannelVerificationCodeRequest : IMessage<GetNotificationChannelVerificationCodeRequest>, IEquatable<GetNotificationChannelVerificationCodeRequest>, IDeepCloneable<GetNotificationChannelVerificationCodeRequest>, IBufferMessage, IMessage

The GetNotificationChannelVerificationCode request.

Inheritance

Object > GetNotificationChannelVerificationCodeRequest

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

GetNotificationChannelVerificationCodeRequest()

public GetNotificationChannelVerificationCodeRequest()

GetNotificationChannelVerificationCodeRequest(GetNotificationChannelVerificationCodeRequest)

public GetNotificationChannelVerificationCodeRequest(GetNotificationChannelVerificationCodeRequest other)
Parameter
NameDescription
otherGetNotificationChannelVerificationCodeRequest

Properties

ExpireTime

public Timestamp ExpireTime { get; set; }

The desired expiration time. If specified, the API will guarantee that the returned code will not be valid after the specified timestamp; however, the API cannot guarantee that the returned code will be valid for at least as long as the requested time (the API puts an upper bound on the amount of time for which a code may be valid). If omitted, a default expiration will be used, which may be less than the max permissible expiration (so specifying an expiration may extend the code's lifetime over omitting an expiration, even though the API does impose an upper limit on the maximum expiration that is permitted).

Property Value
TypeDescription
Timestamp

Name

public string Name { get; set; }

Required. The notification channel for which a verification code is to be generated and retrieved. This must name a channel that is already verified; if the specified channel is not verified, the request will fail.

Property Value
TypeDescription
String

NotificationChannelName

public NotificationChannelName NotificationChannelName { get; set; }

NotificationChannelName-typed view over the Name resource name property.

Property Value
TypeDescription
NotificationChannelName

ResourceName

public IResourceName ResourceName { get; set; }

IResourceName-typed view over the Name resource name property.

Property Value
TypeDescription
IResourceName