Reference documentation and code samples for the Web Security Scanner V1beta API class Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Schedule.
Scan schedule configuration.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#interval_duration_days
definterval_duration_days()->::Integer
Returns
(::Integer) — Required. The duration of time between executions in days.
#interval_duration_days=
definterval_duration_days=(value)->::Integer
Parameter
value (::Integer) — Required. The duration of time between executions in days.
Returns
(::Integer) — Required. The duration of time between executions in days.
#schedule_time
defschedule_time()->::Google::Protobuf::Timestamp
Returns
(::Google::Protobuf::Timestamp) — A timestamp indicates when the next run will be scheduled. The value is
refreshed by the server after each run. If unspecified, it will default
to current server time, which means the scan will be scheduled to start
immediately.
value (::Google::Protobuf::Timestamp) — A timestamp indicates when the next run will be scheduled. The value is
refreshed by the server after each run. If unspecified, it will default
to current server time, which means the scan will be scheduled to start
immediately.
Returns
(::Google::Protobuf::Timestamp) — A timestamp indicates when the next run will be scheduled. The value is
refreshed by the server after each run. If unspecified, it will default
to current server time, which means the scan will be scheduled to start
immediately.
[[["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-08-28 UTC."],[],[],null,["# Web Security Scanner V1beta API - Class Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Schedule (v0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Schedule)\n- [0.11.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.11.1/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Schedule)\n- [0.10.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.10.0/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Schedule)\n- [0.9.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.9.1/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Schedule)\n- [0.8.2](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.8.2/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Schedule)\n- [0.7.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.7.0/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Schedule)\n- [0.6.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.6.1/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Schedule)\n- [0.5.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.5.0/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Schedule)\n- [0.4.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.4.0/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Schedule)\n- [0.3.5](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.3.5/Google-Cloud-WebSecurityScanner-V1beta-ScanConfig-Schedule) \nReference documentation and code samples for the Web Security Scanner V1beta API class Google::Cloud::WebSecurityScanner::V1beta::ScanConfig::Schedule.\n\nScan schedule configuration. \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### #interval_duration_days\n\n def interval_duration_days() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Required. The duration of time between executions in days.\n\n### #interval_duration_days=\n\n def interval_duration_days=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Required. The duration of time between executions in days. \n**Returns**\n\n- (::Integer) --- Required. The duration of time between executions in days.\n\n### #schedule_time\n\n def schedule_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.\n\n### #schedule_time=\n\n def schedule_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately."]]