Class: Google::Apis::MonitoringV3::GetNotificationChannelVerificationCodeRequest
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::GetNotificationChannelVerificationCodeRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/monitoring_v3/classes.rb,
generated/google/apis/monitoring_v3/representations.rb,
generated/google/apis/monitoring_v3/representations.rb
Overview
The GetNotificationChannelVerificationCode request.
Instance Attribute Summary collapse
-
#expire_time ⇒ String
The desired expiration time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetNotificationChannelVerificationCodeRequest
constructor
A new instance of GetNotificationChannelVerificationCodeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetNotificationChannelVerificationCodeRequest
Returns a new instance of GetNotificationChannelVerificationCodeRequest
951 952 953 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 951 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expire_time ⇒ String
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).
Corresponds to the JSON property expireTime
949 950 951 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 949 def expire_time @expire_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
956 957 958 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 956 def update!(**args) @expire_time = args[:expire_time] if args.key?(:expire_time) end |