Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class DenyMaintenancePeriod.
Deny maintenance Periods. This specifies a date range during when all CSA
rollout will be denied.
Generated from protobuf message google.cloud.sql.v1.DenyMaintenancePeriod
Namespace
Google \ Cloud \ Sql \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ start_date
string
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
↳ end_date
string
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
↳ time
string
Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
getStartDate
"deny maintenance period" start date. If the year of the start date is
empty, the year of the end date also must be empty. In this case, it means
the deny maintenance period recurs every year. The date is in format
yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
Returns
Type
Description
string
setStartDate
"deny maintenance period" start date. If the year of the start date is
empty, the year of the end date also must be empty. In this case, it means
the deny maintenance period recurs every year. The date is in format
yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEndDate
"deny maintenance period" end date. If the year of the end date is empty,
the year of the start date also must be empty. In this case, it means the
no maintenance interval recurs every year. The date is in format yyyy-mm-dd
i.e., 2020-11-01, or mm-dd, i.e., 11-01
Returns
Type
Description
string
setEndDate
"deny maintenance period" end date. If the year of the end date is empty,
the year of the start date also must be empty. In this case, it means the
no maintenance interval recurs every year. The date is in format yyyy-mm-dd
i.e., 2020-11-01, or mm-dd, i.e., 11-01
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTime
Time in UTC when the "deny maintenance period" starts on start_date and
ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
Returns
Type
Description
string
setTime
Time in UTC when the "deny maintenance period" starts on start_date and
ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
[[["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,["# Google Cloud Sql Admin V1 Client - Class DenyMaintenancePeriod (1.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.6 (latest)](/php/docs/reference/cloud-sql-admin/latest/V1.DenyMaintenancePeriod)\n- [1.2.5](/php/docs/reference/cloud-sql-admin/1.2.5/V1.DenyMaintenancePeriod)\n- [1.1.0](/php/docs/reference/cloud-sql-admin/1.1.0/V1.DenyMaintenancePeriod)\n- [1.0.0](/php/docs/reference/cloud-sql-admin/1.0.0/V1.DenyMaintenancePeriod)\n- [0.19.0](/php/docs/reference/cloud-sql-admin/0.19.0/V1.DenyMaintenancePeriod)\n- [0.18.0](/php/docs/reference/cloud-sql-admin/0.18.0/V1.DenyMaintenancePeriod)\n- [0.17.1](/php/docs/reference/cloud-sql-admin/0.17.1/V1.DenyMaintenancePeriod)\n- [0.16.1](/php/docs/reference/cloud-sql-admin/0.16.1/V1.DenyMaintenancePeriod)\n- [0.12.0](/php/docs/reference/cloud-sql-admin/0.12.0/V1.DenyMaintenancePeriod)\n- [0.11.0](/php/docs/reference/cloud-sql-admin/0.11.0/V1.DenyMaintenancePeriod)\n- [0.10.0](/php/docs/reference/cloud-sql-admin/0.10.0/V1.DenyMaintenancePeriod)\n- [0.9.0](/php/docs/reference/cloud-sql-admin/0.9.0/V1.DenyMaintenancePeriod)\n- [0.8.0](/php/docs/reference/cloud-sql-admin/0.8.0/V1.DenyMaintenancePeriod)\n- [0.7.0](/php/docs/reference/cloud-sql-admin/0.7.0/V1.DenyMaintenancePeriod)\n- [0.6.0](/php/docs/reference/cloud-sql-admin/0.6.0/V1.DenyMaintenancePeriod)\n- [0.5.0](/php/docs/reference/cloud-sql-admin/0.5.0/V1.DenyMaintenancePeriod)\n- [0.4.1](/php/docs/reference/cloud-sql-admin/0.4.1/V1.DenyMaintenancePeriod)\n- [0.3.1](/php/docs/reference/cloud-sql-admin/0.3.1/V1.DenyMaintenancePeriod)\n- [0.2.12](/php/docs/reference/cloud-sql-admin/0.2.12/V1.DenyMaintenancePeriod) \nReference documentation and code samples for the Google Cloud Sql Admin V1 Client class DenyMaintenancePeriod.\n\nDeny maintenance Periods. This specifies a date range during when all CSA\nrollout will be denied.\n\nGenerated from protobuf message `google.cloud.sql.v1.DenyMaintenancePeriod`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Sql \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStartDate\n\n\"deny maintenance period\" start date. If the year of the start date is\nempty, the year of the end date also must be empty. In this case, it means\nthe deny maintenance period recurs every year. The date is in format\nyyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01\n\n### setStartDate\n\n\"deny maintenance period\" start date. If the year of the start date is\nempty, the year of the end date also must be empty. In this case, it means\nthe deny maintenance period recurs every year. The date is in format\nyyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01\n\n### getEndDate\n\n\"deny maintenance period\" end date. If the year of the end date is empty,\nthe year of the start date also must be empty. In this case, it means the\nno maintenance interval recurs every year. The date is in format yyyy-mm-dd\ni.e., 2020-11-01, or mm-dd, i.e., 11-01\n\n### setEndDate\n\n\"deny maintenance period\" end date. If the year of the end date is empty,\nthe year of the start date also must be empty. In this case, it means the\nno maintenance interval recurs every year. The date is in format yyyy-mm-dd\ni.e., 2020-11-01, or mm-dd, i.e., 11-01\n\n### getTime\n\nTime in UTC when the \"deny maintenance period\" starts on start_date and\nends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00\n\n### setTime\n\nTime in UTC when the \"deny maintenance period\" starts on start_date and\nends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00"]]