Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Daily.
Used to schedule the query to run every so many days.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#execution_time
defexecution_time()->::Google::Type::TimeOfDay
Returns
(::Google::Type::TimeOfDay) — Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
value (::Google::Type::TimeOfDay) — Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
Returns
(::Google::Type::TimeOfDay) — Optional. The time of day (in UTC) at which the query should run. If
left unspecified, the server picks an arbitrary time of day and runs
the query at the same time each day.
#periodicity
defperiodicity()->::Integer
Returns
(::Integer) — Required. The number of days between runs. Must be greater than or
equal to 1 day and less than or equal to 31 days.
#periodicity=
defperiodicity=(value)->::Integer
Parameter
value (::Integer) — Required. The number of days between runs. Must be greater than or
equal to 1 day and less than or equal to 31 days.
Returns
(::Integer) — Required. The number of days between runs. Must be greater than or
equal to 1 day and less than or equal to 31 days.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Daily (v1.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.1 (latest)](/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [1.6.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.6.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [1.5.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.5.1/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [1.4.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.4.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [1.3.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.3.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [1.2.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.2.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [1.1.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.1.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [1.0.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.0.1/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.18.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.18.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.17.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.17.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.16.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.16.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.15.2](/ruby/docs/reference/google-cloud-monitoring-v3/0.15.2/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.14.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.14.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.13.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.13.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.12.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.12.1/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.11.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.11.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.10.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.10.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.9.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.9.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.8.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.8.0/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily)\n- [0.7.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.7.1/Google-Cloud-Monitoring-V3-AlertPolicy-Condition-SqlCondition-Daily) \nReference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::AlertPolicy::Condition::SqlCondition::Daily.\n\nUsed to schedule the query to run every so many days. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #execution_time\n\n def execution_time() -\u003e ::Google::Type::TimeOfDay\n\n**Returns**\n\n- ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Optional. The time of day (in UTC) at which the query should run. If left unspecified, the server picks an arbitrary time of day and runs the query at the same time each day.\n\n### #execution_time=\n\n def execution_time=(value) -\u003e ::Google::Type::TimeOfDay\n\n**Parameter**\n\n- **value** ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Optional. The time of day (in UTC) at which the query should run. If left unspecified, the server picks an arbitrary time of day and runs the query at the same time each day. \n**Returns**\n\n- ([::Google::Type::TimeOfDay](./Google-Type-TimeOfDay)) --- Optional. The time of day (in UTC) at which the query should run. If left unspecified, the server picks an arbitrary time of day and runs the query at the same time each day.\n\n### #periodicity\n\n def periodicity() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Required. The number of days between runs. Must be greater than or equal to 1 day and less than or equal to 31 days.\n\n### #periodicity=\n\n def periodicity=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Required. The number of days between runs. Must be greater than or equal to 1 day and less than or equal to 31 days. \n**Returns**\n\n- (::Integer) --- Required. The number of days between runs. Must be greater than or equal to 1 day and less than or equal to 31 days."]]