google-api-python-client 2.146.0__py2.py3-none-any.whl → 2.148.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. {google_api_python_client-2.146.0.dist-info → google_api_python_client-2.148.0.dist-info}/METADATA +1 -1
  2. {google_api_python_client-2.146.0.dist-info → google_api_python_client-2.148.0.dist-info}/RECORD +130 -128
  3. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +7 -2
  4. googleapiclient/discovery_cache/documents/admin.directory_v1.json +4 -4
  5. googleapiclient/discovery_cache/documents/admin.directoryv1.json +4 -4
  6. googleapiclient/discovery_cache/documents/aiplatform.v1.json +256 -12
  7. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +528 -12
  8. googleapiclient/discovery_cache/documents/alloydb.v1.json +131 -66
  9. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +106 -56
  10. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +106 -56
  11. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +3 -3
  12. googleapiclient/discovery_cache/documents/analyticsadmin.v1beta.json +3 -3
  13. googleapiclient/discovery_cache/documents/analyticshub.v1.json +2 -2
  14. googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json +9 -1
  15. googleapiclient/discovery_cache/documents/androidmanagement.v1.json +69 -7
  16. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +3 -3
  17. googleapiclient/discovery_cache/documents/apigee.v1.json +3 -3
  18. googleapiclient/discovery_cache/documents/artifactregistry.v1.json +572 -1
  19. googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +9 -5
  20. googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +300 -5
  21. googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1alpha.json +2 -2
  22. googleapiclient/discovery_cache/documents/backupdr.v1.json +84 -8
  23. googleapiclient/discovery_cache/documents/batch.v1.json +4 -4
  24. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +2 -2
  25. googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +117 -1
  26. googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +53 -3
  27. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +19 -2
  28. googleapiclient/discovery_cache/documents/chat.v1.json +19 -19
  29. googleapiclient/discovery_cache/documents/chromeuxreport.v1.json +2 -3
  30. googleapiclient/discovery_cache/documents/cloudbuild.v1.json +5 -3
  31. googleapiclient/discovery_cache/documents/clouddeploy.v1.json +757 -3
  32. googleapiclient/discovery_cache/documents/cloudidentity.v1.json +5 -5
  33. googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +11 -11
  34. googleapiclient/discovery_cache/documents/cloudkms.v1.json +6 -1
  35. googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +215 -1
  36. googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json +45 -1
  37. googleapiclient/discovery_cache/documents/composer.v1.json +8 -1
  38. googleapiclient/discovery_cache/documents/composer.v1beta1.json +8 -1
  39. googleapiclient/discovery_cache/documents/compute.alpha.json +114 -4
  40. googleapiclient/discovery_cache/documents/compute.beta.json +443 -4
  41. googleapiclient/discovery_cache/documents/compute.v1.json +8 -6
  42. googleapiclient/discovery_cache/documents/connectors.v1.json +13 -1
  43. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +3 -4
  44. googleapiclient/discovery_cache/documents/container.v1.json +7 -3
  45. googleapiclient/discovery_cache/documents/container.v1beta1.json +7 -3
  46. googleapiclient/discovery_cache/documents/containeranalysis.v1.json +5 -3
  47. googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +5 -3
  48. googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +5 -3
  49. googleapiclient/discovery_cache/documents/datamigration.v1.json +51 -2
  50. googleapiclient/discovery_cache/documents/dataplex.v1.json +69 -392
  51. googleapiclient/discovery_cache/documents/developerconnect.v1.json +168 -2
  52. googleapiclient/discovery_cache/documents/dfareporting.v4.json +295 -7
  53. googleapiclient/discovery_cache/documents/dialogflow.v2.json +45 -13
  54. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +35 -13
  55. googleapiclient/discovery_cache/documents/dialogflow.v3.json +24 -8
  56. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +66 -10
  57. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +198 -5
  58. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +202 -7
  59. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +202 -7
  60. googleapiclient/discovery_cache/documents/displayvideo.v2.json +14 -8
  61. googleapiclient/discovery_cache/documents/displayvideo.v3.json +14 -8
  62. googleapiclient/discovery_cache/documents/dlp.v2.json +281 -8
  63. googleapiclient/discovery_cache/documents/drive.v2.json +2 -2
  64. googleapiclient/discovery_cache/documents/drive.v3.json +2 -2
  65. googleapiclient/discovery_cache/documents/eventarc.v1.json +365 -1
  66. googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json +1831 -0
  67. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +57 -4
  68. googleapiclient/discovery_cache/documents/gkehub.v1.json +15 -3
  69. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +15 -3
  70. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +15 -3
  71. googleapiclient/discovery_cache/documents/healthcare.v1.json +26 -26
  72. googleapiclient/discovery_cache/documents/iam.v1.json +2 -2
  73. googleapiclient/discovery_cache/documents/integrations.v1.json +939 -38
  74. googleapiclient/discovery_cache/documents/logging.v2.json +2 -2
  75. googleapiclient/discovery_cache/documents/memcache.v1.json +389 -1
  76. googleapiclient/discovery_cache/documents/memcache.v1beta2.json +389 -1
  77. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +17 -16
  78. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +5 -2
  79. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +4 -4
  80. googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +48 -8
  81. googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +3 -3
  82. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +48 -8
  83. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +40 -8
  84. googleapiclient/discovery_cache/documents/networksecurity.v1.json +24 -3
  85. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +38 -17
  86. googleapiclient/discovery_cache/documents/networkservices.v1.json +50 -92
  87. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +48 -258
  88. googleapiclient/discovery_cache/documents/notebooks.v1.json +3 -3
  89. googleapiclient/discovery_cache/documents/notebooks.v2.json +2 -2
  90. googleapiclient/discovery_cache/documents/oracledatabase.v1.json +3764 -0
  91. googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +3 -3
  92. googleapiclient/discovery_cache/documents/places.v1.json +157 -2
  93. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1alpha1.json +10 -6
  94. googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json +10 -6
  95. googleapiclient/discovery_cache/documents/privateca.v1.json +3 -3
  96. googleapiclient/discovery_cache/documents/pubsub.v1.json +113 -2
  97. googleapiclient/discovery_cache/documents/redis.v1.json +44 -25
  98. googleapiclient/discovery_cache/documents/redis.v1beta1.json +44 -25
  99. googleapiclient/discovery_cache/documents/retail.v2.json +485 -1
  100. googleapiclient/discovery_cache/documents/retail.v2alpha.json +485 -1
  101. googleapiclient/discovery_cache/documents/retail.v2beta.json +485 -1
  102. googleapiclient/discovery_cache/documents/run.v1.json +3 -3
  103. googleapiclient/discovery_cache/documents/run.v2.json +15 -1
  104. googleapiclient/discovery_cache/documents/secretmanager.v1.json +3 -3
  105. googleapiclient/discovery_cache/documents/securitycenter.v1.json +9 -1
  106. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +9 -1
  107. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +89 -1
  108. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +20 -2
  109. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +20 -2
  110. googleapiclient/discovery_cache/documents/servicemanagement.v1.json +19 -1
  111. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +20 -2
  112. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +20 -2
  113. googleapiclient/discovery_cache/documents/serviceusage.v1.json +19 -1
  114. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +19 -1
  115. googleapiclient/discovery_cache/documents/sheets.v4.json +2 -2
  116. googleapiclient/discovery_cache/documents/spanner.v1.json +43 -2
  117. googleapiclient/discovery_cache/documents/sqladmin.v1.json +51 -2
  118. googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +51 -2
  119. googleapiclient/discovery_cache/documents/storage.v1.json +122 -2
  120. googleapiclient/discovery_cache/documents/testing.v1.json +17 -1
  121. googleapiclient/discovery_cache/documents/tpu.v2alpha1.json +8 -1
  122. googleapiclient/discovery_cache/documents/vmmigration.v1.json +5 -5
  123. googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +5 -5
  124. googleapiclient/discovery_cache/documents/walletobjects.v1.json +148 -1
  125. googleapiclient/discovery_cache/documents/workflowexecutions.v1.json +3 -3
  126. googleapiclient/discovery_cache/documents/youtube.v3.json +15 -5
  127. googleapiclient/version.py +1 -1
  128. {google_api_python_client-2.146.0.dist-info → google_api_python_client-2.148.0.dist-info}/LICENSE +0 -0
  129. {google_api_python_client-2.146.0.dist-info → google_api_python_client-2.148.0.dist-info}/WHEEL +0 -0
  130. {google_api_python_client-2.146.0.dist-info → google_api_python_client-2.148.0.dist-info}/top_level.txt +0 -0
@@ -1159,6 +1159,12 @@
1159
1159
  "parent"
1160
1160
  ],
1161
1161
  "parameters": {
1162
+ "overrideDeployPolicy": {
1163
+ "description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.",
1164
+ "location": "query",
1165
+ "repeated": true,
1166
+ "type": "string"
1167
+ },
1162
1168
  "parent": {
1163
1169
  "description": "Required. The parent collection in which the `Release` is created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.",
1164
1170
  "location": "path",
@@ -1361,6 +1367,12 @@
1361
1367
  "parent"
1362
1368
  ],
1363
1369
  "parameters": {
1370
+ "overrideDeployPolicy": {
1371
+ "description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.",
1372
+ "location": "query",
1373
+ "repeated": true,
1374
+ "type": "string"
1375
+ },
1364
1376
  "parent": {
1365
1377
  "description": "Required. The parent collection in which the `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.",
1366
1378
  "location": "path",
@@ -1638,6 +1650,218 @@
1638
1650
  }
1639
1651
  }
1640
1652
  },
1653
+ "deployPolicies": {
1654
+ "methods": {
1655
+ "create": {
1656
+ "description": "Creates a new DeployPolicy in a given project and location.",
1657
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployPolicies",
1658
+ "httpMethod": "POST",
1659
+ "id": "clouddeploy.projects.locations.deployPolicies.create",
1660
+ "parameterOrder": [
1661
+ "parent"
1662
+ ],
1663
+ "parameters": {
1664
+ "deployPolicyId": {
1665
+ "description": "Required. ID of the `DeployPolicy`.",
1666
+ "location": "query",
1667
+ "type": "string"
1668
+ },
1669
+ "parent": {
1670
+ "description": "Required. The parent collection in which the `DeployPolicy` must be created. The format is `projects/{project_id}/locations/{location_name}`.",
1671
+ "location": "path",
1672
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
1673
+ "required": true,
1674
+ "type": "string"
1675
+ },
1676
+ "requestId": {
1677
+ "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
1678
+ "location": "query",
1679
+ "type": "string"
1680
+ },
1681
+ "validateOnly": {
1682
+ "description": "Optional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.",
1683
+ "location": "query",
1684
+ "type": "boolean"
1685
+ }
1686
+ },
1687
+ "path": "v1/{+parent}/deployPolicies",
1688
+ "request": {
1689
+ "$ref": "DeployPolicy"
1690
+ },
1691
+ "response": {
1692
+ "$ref": "Operation"
1693
+ },
1694
+ "scopes": [
1695
+ "https://www.googleapis.com/auth/cloud-platform"
1696
+ ]
1697
+ },
1698
+ "delete": {
1699
+ "description": "Deletes a single DeployPolicy.",
1700
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployPolicies/{deployPoliciesId}",
1701
+ "httpMethod": "DELETE",
1702
+ "id": "clouddeploy.projects.locations.deployPolicies.delete",
1703
+ "parameterOrder": [
1704
+ "name"
1705
+ ],
1706
+ "parameters": {
1707
+ "allowMissing": {
1708
+ "description": "Optional. If set to true, then deleting an already deleted or non-existing `DeployPolicy` will succeed.",
1709
+ "location": "query",
1710
+ "type": "boolean"
1711
+ },
1712
+ "etag": {
1713
+ "description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
1714
+ "location": "query",
1715
+ "type": "string"
1716
+ },
1717
+ "name": {
1718
+ "description": "Required. The name of the `DeployPolicy` to delete. The format is `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`.",
1719
+ "location": "path",
1720
+ "pattern": "^projects/[^/]+/locations/[^/]+/deployPolicies/[^/]+$",
1721
+ "required": true,
1722
+ "type": "string"
1723
+ },
1724
+ "requestId": {
1725
+ "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
1726
+ "location": "query",
1727
+ "type": "string"
1728
+ },
1729
+ "validateOnly": {
1730
+ "description": "Optional. If set, validate the request and preview the review, but do not actually post it.",
1731
+ "location": "query",
1732
+ "type": "boolean"
1733
+ }
1734
+ },
1735
+ "path": "v1/{+name}",
1736
+ "response": {
1737
+ "$ref": "Operation"
1738
+ },
1739
+ "scopes": [
1740
+ "https://www.googleapis.com/auth/cloud-platform"
1741
+ ]
1742
+ },
1743
+ "get": {
1744
+ "description": "Gets details of a single DeployPolicy.",
1745
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployPolicies/{deployPoliciesId}",
1746
+ "httpMethod": "GET",
1747
+ "id": "clouddeploy.projects.locations.deployPolicies.get",
1748
+ "parameterOrder": [
1749
+ "name"
1750
+ ],
1751
+ "parameters": {
1752
+ "name": {
1753
+ "description": "Required. Name of the `DeployPolicy`. Format must be `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`.",
1754
+ "location": "path",
1755
+ "pattern": "^projects/[^/]+/locations/[^/]+/deployPolicies/[^/]+$",
1756
+ "required": true,
1757
+ "type": "string"
1758
+ }
1759
+ },
1760
+ "path": "v1/{+name}",
1761
+ "response": {
1762
+ "$ref": "DeployPolicy"
1763
+ },
1764
+ "scopes": [
1765
+ "https://www.googleapis.com/auth/cloud-platform"
1766
+ ]
1767
+ },
1768
+ "list": {
1769
+ "description": "Lists DeployPolicies in a given project and location.",
1770
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployPolicies",
1771
+ "httpMethod": "GET",
1772
+ "id": "clouddeploy.projects.locations.deployPolicies.list",
1773
+ "parameterOrder": [
1774
+ "parent"
1775
+ ],
1776
+ "parameters": {
1777
+ "filter": {
1778
+ "description": "Filter deploy policies to be returned. See https://google.aip.dev/160 for more details. All fields can be used in the filter.",
1779
+ "location": "query",
1780
+ "type": "string"
1781
+ },
1782
+ "orderBy": {
1783
+ "description": "Field to sort by. See https://google.aip.dev/132#ordering for more details.",
1784
+ "location": "query",
1785
+ "type": "string"
1786
+ },
1787
+ "pageSize": {
1788
+ "description": "The maximum number of deploy policies to return. The service may return fewer than this value. If unspecified, at most 50 deploy policies will be returned. The maximum value is 1000; values above 1000 will be set to 1000.",
1789
+ "format": "int32",
1790
+ "location": "query",
1791
+ "type": "integer"
1792
+ },
1793
+ "pageToken": {
1794
+ "description": "A page token, received from a previous `ListDeployPolicies` call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters match the call that provided the page token.",
1795
+ "location": "query",
1796
+ "type": "string"
1797
+ },
1798
+ "parent": {
1799
+ "description": "Required. The parent, which owns this collection of deploy policies. Format must be `projects/{project_id}/locations/{location_name}`.",
1800
+ "location": "path",
1801
+ "pattern": "^projects/[^/]+/locations/[^/]+$",
1802
+ "required": true,
1803
+ "type": "string"
1804
+ }
1805
+ },
1806
+ "path": "v1/{+parent}/deployPolicies",
1807
+ "response": {
1808
+ "$ref": "ListDeployPoliciesResponse"
1809
+ },
1810
+ "scopes": [
1811
+ "https://www.googleapis.com/auth/cloud-platform"
1812
+ ]
1813
+ },
1814
+ "patch": {
1815
+ "description": "Updates the parameters of a single DeployPolicy.",
1816
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployPolicies/{deployPoliciesId}",
1817
+ "httpMethod": "PATCH",
1818
+ "id": "clouddeploy.projects.locations.deployPolicies.patch",
1819
+ "parameterOrder": [
1820
+ "name"
1821
+ ],
1822
+ "parameters": {
1823
+ "allowMissing": {
1824
+ "description": "Optional. If set to true, updating a `DeployPolicy` that does not exist will result in the creation of a new `DeployPolicy`.",
1825
+ "location": "query",
1826
+ "type": "boolean"
1827
+ },
1828
+ "name": {
1829
+ "description": "Output only. Name of the `DeployPolicy`. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`. The `deployPolicy` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`",
1830
+ "location": "path",
1831
+ "pattern": "^projects/[^/]+/locations/[^/]+/deployPolicies/[^/]+$",
1832
+ "required": true,
1833
+ "type": "string"
1834
+ },
1835
+ "requestId": {
1836
+ "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
1837
+ "location": "query",
1838
+ "type": "string"
1839
+ },
1840
+ "updateMask": {
1841
+ "description": "Required. Field mask is used to specify the fields to be overwritten by the update in the `DeployPolicy` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten.",
1842
+ "format": "google-fieldmask",
1843
+ "location": "query",
1844
+ "type": "string"
1845
+ },
1846
+ "validateOnly": {
1847
+ "description": "Optional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.",
1848
+ "location": "query",
1849
+ "type": "boolean"
1850
+ }
1851
+ },
1852
+ "path": "v1/{+name}",
1853
+ "request": {
1854
+ "$ref": "DeployPolicy"
1855
+ },
1856
+ "response": {
1857
+ "$ref": "Operation"
1858
+ },
1859
+ "scopes": [
1860
+ "https://www.googleapis.com/auth/cloud-platform"
1861
+ ]
1862
+ }
1863
+ }
1864
+ },
1641
1865
  "operations": {
1642
1866
  "methods": {
1643
1867
  "cancel": {
@@ -2065,7 +2289,7 @@
2065
2289
  }
2066
2290
  }
2067
2291
  },
2068
- "revision": "20240809",
2292
+ "revision": "20240920",
2069
2293
  "rootUrl": "https://clouddeploy.googleapis.com/",
2070
2294
  "schemas": {
2071
2295
  "AbandonReleaseRequest": {
@@ -2135,6 +2359,13 @@
2135
2359
  "description": "The request object used by `AdvanceRollout`.",
2136
2360
  "id": "AdvanceRolloutRequest",
2137
2361
  "properties": {
2362
+ "overrideDeployPolicy": {
2363
+ "description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.",
2364
+ "items": {
2365
+ "type": "string"
2366
+ },
2367
+ "type": "array"
2368
+ },
2138
2369
  "phaseId": {
2139
2370
  "description": "Required. The phase ID to advance the `Rollout` to.",
2140
2371
  "type": "string"
@@ -2194,6 +2425,13 @@
2194
2425
  "approved": {
2195
2426
  "description": "Required. True = approve; false = reject",
2196
2427
  "type": "boolean"
2428
+ },
2429
+ "overrideDeployPolicy": {
2430
+ "description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.",
2431
+ "items": {
2432
+ "type": "string"
2433
+ },
2434
+ "type": "array"
2197
2435
  }
2198
2436
  },
2199
2437
  "type": "object"
@@ -2348,6 +2586,7 @@
2348
2586
  "TYPE_RESTRICTION_VIOLATED",
2349
2587
  "TYPE_RESOURCE_DELETED",
2350
2588
  "TYPE_ROLLOUT_UPDATE",
2589
+ "TYPE_DEPLOY_POLICY_EVALUATION",
2351
2590
  "TYPE_RENDER_STATUES_CHANGE"
2352
2591
  ],
2353
2592
  "enumDeprecated": [
@@ -2358,6 +2597,7 @@ false,
2358
2597
  false,
2359
2598
  false,
2360
2599
  false,
2600
+ false,
2361
2601
  true
2362
2602
  ],
2363
2603
  "enumDescriptions": [
@@ -2368,6 +2608,7 @@ true
2368
2608
  "Restriction check failed.",
2369
2609
  "Resource deleted.",
2370
2610
  "Rollout updated.",
2611
+ "Deploy Policy evaluation.",
2371
2612
  "Deprecated: This field is never used. Use release_render log type instead."
2372
2613
  ],
2373
2614
  "type": "string"
@@ -2488,6 +2729,11 @@ true
2488
2729
  "readOnly": true,
2489
2730
  "type": "string"
2490
2731
  },
2732
+ "policyViolation": {
2733
+ "$ref": "PolicyViolation",
2734
+ "description": "Output only. Contains information about what policies prevented the `AutomationRun` to proceed.",
2735
+ "readOnly": true
2736
+ },
2491
2737
  "promoteReleaseOperation": {
2492
2738
  "$ref": "PromoteReleaseOperation",
2493
2739
  "description": "Output only. Promotes a release to a specified 'Target'.",
@@ -2594,6 +2840,7 @@ true
2594
2840
  "TYPE_RESTRICTION_VIOLATED",
2595
2841
  "TYPE_RESOURCE_DELETED",
2596
2842
  "TYPE_ROLLOUT_UPDATE",
2843
+ "TYPE_DEPLOY_POLICY_EVALUATION",
2597
2844
  "TYPE_RENDER_STATUES_CHANGE"
2598
2845
  ],
2599
2846
  "enumDeprecated": [
@@ -2604,6 +2851,7 @@ false,
2604
2851
  false,
2605
2852
  false,
2606
2853
  false,
2854
+ false,
2607
2855
  true
2608
2856
  ],
2609
2857
  "enumDescriptions": [
@@ -2614,6 +2862,7 @@ true
2614
2862
  "Restriction check failed.",
2615
2863
  "Resource deleted.",
2616
2864
  "Rollout updated.",
2865
+ "Deploy Policy evaluation.",
2617
2866
  "Deprecated: This field is never used. Use release_render log type instead."
2618
2867
  ],
2619
2868
  "type": "string"
@@ -2725,7 +2974,15 @@ true
2725
2974
  "CancelRolloutRequest": {
2726
2975
  "description": "The request object used by `CancelRollout`.",
2727
2976
  "id": "CancelRolloutRequest",
2728
- "properties": {},
2977
+ "properties": {
2978
+ "overrideDeployPolicy": {
2979
+ "description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.",
2980
+ "items": {
2981
+ "type": "string"
2982
+ },
2983
+ "type": "array"
2984
+ }
2985
+ },
2729
2986
  "type": "object"
2730
2987
  },
2731
2988
  "CancelRolloutResponse": {
@@ -3046,6 +3303,7 @@ true
3046
3303
  "TYPE_RESTRICTION_VIOLATED",
3047
3304
  "TYPE_RESOURCE_DELETED",
3048
3305
  "TYPE_ROLLOUT_UPDATE",
3306
+ "TYPE_DEPLOY_POLICY_EVALUATION",
3049
3307
  "TYPE_RENDER_STATUES_CHANGE"
3050
3308
  ],
3051
3309
  "enumDeprecated": [
@@ -3056,6 +3314,7 @@ false,
3056
3314
  false,
3057
3315
  false,
3058
3316
  false,
3317
+ false,
3059
3318
  true
3060
3319
  ],
3061
3320
  "enumDescriptions": [
@@ -3066,6 +3325,7 @@ true
3066
3325
  "Restriction check failed.",
3067
3326
  "Resource deleted.",
3068
3327
  "Rollout updated.",
3328
+ "Deploy Policy evaluation.",
3069
3329
  "Deprecated: This field is never used. Use release_render log type instead."
3070
3330
  ],
3071
3331
  "type": "string"
@@ -3173,6 +3433,24 @@ true
3173
3433
  },
3174
3434
  "type": "object"
3175
3435
  },
3436
+ "DeliveryPipelineAttribute": {
3437
+ "description": "Contains criteria for selecting DeliveryPipelines.",
3438
+ "id": "DeliveryPipelineAttribute",
3439
+ "properties": {
3440
+ "id": {
3441
+ "description": "ID of the `DeliveryPipeline`. The value of this field could be one of the following: * The last segment of a pipeline name * \"*\", all delivery pipelines in a location",
3442
+ "type": "string"
3443
+ },
3444
+ "labels": {
3445
+ "additionalProperties": {
3446
+ "type": "string"
3447
+ },
3448
+ "description": "DeliveryPipeline labels.",
3449
+ "type": "object"
3450
+ }
3451
+ },
3452
+ "type": "object"
3453
+ },
3176
3454
  "DeliveryPipelineNotificationEvent": {
3177
3455
  "description": "Payload proto for \"clouddeploy.googleapis.com/deliverypipeline_notification\" Platform Log event that describes the failure to send delivery pipeline status change Pub/Sub notification.",
3178
3456
  "id": "DeliveryPipelineNotificationEvent",
@@ -3199,6 +3477,7 @@ true
3199
3477
  "TYPE_RESTRICTION_VIOLATED",
3200
3478
  "TYPE_RESOURCE_DELETED",
3201
3479
  "TYPE_ROLLOUT_UPDATE",
3480
+ "TYPE_DEPLOY_POLICY_EVALUATION",
3202
3481
  "TYPE_RENDER_STATUES_CHANGE"
3203
3482
  ],
3204
3483
  "enumDeprecated": [
@@ -3209,6 +3488,7 @@ false,
3209
3488
  false,
3210
3489
  false,
3211
3490
  false,
3491
+ false,
3212
3492
  true
3213
3493
  ],
3214
3494
  "enumDescriptions": [
@@ -3219,6 +3499,7 @@ true
3219
3499
  "Restriction check failed.",
3220
3500
  "Resource deleted.",
3221
3501
  "Rollout updated.",
3502
+ "Deploy Policy evaluation.",
3222
3503
  "Deprecated: This field is never used. Use release_render log type instead."
3223
3504
  ],
3224
3505
  "type": "string"
@@ -3345,6 +3626,167 @@ true
3345
3626
  },
3346
3627
  "type": "object"
3347
3628
  },
3629
+ "DeployPolicy": {
3630
+ "description": "A `DeployPolicy` resource in the Cloud Deploy API. A `DeployPolicy` inhibits manual or automation driven actions within a Delivery Pipeline or Target.",
3631
+ "id": "DeployPolicy",
3632
+ "properties": {
3633
+ "annotations": {
3634
+ "additionalProperties": {
3635
+ "type": "string"
3636
+ },
3637
+ "description": "User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.",
3638
+ "type": "object"
3639
+ },
3640
+ "createTime": {
3641
+ "description": "Output only. Time at which the deploy policy was created.",
3642
+ "format": "google-datetime",
3643
+ "readOnly": true,
3644
+ "type": "string"
3645
+ },
3646
+ "description": {
3647
+ "description": "Description of the `DeployPolicy`. Max length is 255 characters.",
3648
+ "type": "string"
3649
+ },
3650
+ "etag": {
3651
+ "description": "The weak etag of the `Automation` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
3652
+ "type": "string"
3653
+ },
3654
+ "labels": {
3655
+ "additionalProperties": {
3656
+ "type": "string"
3657
+ },
3658
+ "description": "Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.",
3659
+ "type": "object"
3660
+ },
3661
+ "name": {
3662
+ "description": "Output only. Name of the `DeployPolicy`. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`. The `deployPolicy` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`",
3663
+ "readOnly": true,
3664
+ "type": "string"
3665
+ },
3666
+ "rules": {
3667
+ "description": "Required. Rules to apply. At least one rule must be present.",
3668
+ "items": {
3669
+ "$ref": "PolicyRule"
3670
+ },
3671
+ "type": "array"
3672
+ },
3673
+ "selectors": {
3674
+ "description": "Required. Selected resources to which the policy will be applied. At least one selector is required. If one selector matches the resource the policy applies. For example, if there are two selectors and the action being attempted matches one of them, the policy will apply to that action.",
3675
+ "items": {
3676
+ "$ref": "DeployPolicyResourceSelector"
3677
+ },
3678
+ "type": "array"
3679
+ },
3680
+ "suspended": {
3681
+ "description": "When suspended, the policy will not prevent actions from occurring, even if the action violates the policy.",
3682
+ "type": "boolean"
3683
+ },
3684
+ "uid": {
3685
+ "description": "Output only. Unique identifier of the `DeployPolicy`.",
3686
+ "readOnly": true,
3687
+ "type": "string"
3688
+ },
3689
+ "updateTime": {
3690
+ "description": "Output only. Most recent time at which the deploy policy was updated.",
3691
+ "format": "google-datetime",
3692
+ "readOnly": true,
3693
+ "type": "string"
3694
+ }
3695
+ },
3696
+ "type": "object"
3697
+ },
3698
+ "DeployPolicyEvaluationEvent": {
3699
+ "description": "Payload proto for \"clouddeploy.googleapis.com/deploypolicy_evaluation\" Platform Log event that describes the deploy policy evaluation event.",
3700
+ "id": "DeployPolicyEvaluationEvent",
3701
+ "properties": {
3702
+ "allowed": {
3703
+ "description": "Whether the request is allowed. Allowed is set as true if: (1) the request complies with the policy; or (2) the request doesn't comply with the policy but the policy was overridden; or (3) the request doesn't comply with the policy but the policy was suspended",
3704
+ "type": "boolean"
3705
+ },
3706
+ "deliveryPipeline": {
3707
+ "description": "The name of the `Delivery Pipeline`.",
3708
+ "type": "string"
3709
+ },
3710
+ "deployPolicy": {
3711
+ "description": "The name of the `DeployPolicy`.",
3712
+ "type": "string"
3713
+ },
3714
+ "deployPolicyUid": {
3715
+ "description": "Unique identifier of the `DeployPolicy`.",
3716
+ "type": "string"
3717
+ },
3718
+ "invoker": {
3719
+ "description": "What invoked the action (e.g. a user or automation).",
3720
+ "enum": [
3721
+ "INVOKER_UNSPECIFIED",
3722
+ "USER",
3723
+ "DEPLOY_AUTOMATION"
3724
+ ],
3725
+ "enumDescriptions": [
3726
+ "Unspecified.",
3727
+ "The action is user-driven. For example, creating a rollout manually via a gcloud create command.",
3728
+ "Automated action by Cloud Deploy."
3729
+ ],
3730
+ "type": "string"
3731
+ },
3732
+ "message": {
3733
+ "description": "Debug message for when a deploy policy event occurs.",
3734
+ "type": "string"
3735
+ },
3736
+ "overrides": {
3737
+ "description": "Things that could have overridden the policy verdict. Overrides together with verdict decide whether the request is allowed.",
3738
+ "items": {
3739
+ "enum": [
3740
+ "POLICY_VERDICT_OVERRIDE_UNSPECIFIED",
3741
+ "POLICY_OVERRIDDEN",
3742
+ "POLICY_SUSPENDED"
3743
+ ],
3744
+ "enumDescriptions": [
3745
+ "This should never happen.",
3746
+ "The policy was overridden.",
3747
+ "The policy was suspended."
3748
+ ],
3749
+ "type": "string"
3750
+ },
3751
+ "type": "array"
3752
+ },
3753
+ "pipelineUid": {
3754
+ "description": "Unique identifier of the `Delivery Pipeline`.",
3755
+ "type": "string"
3756
+ },
3757
+ "rule": {
3758
+ "description": "Rule id.",
3759
+ "type": "string"
3760
+ },
3761
+ "ruleType": {
3762
+ "description": "Rule type (e.g. Restrict Rollouts).",
3763
+ "type": "string"
3764
+ },
3765
+ "target": {
3766
+ "description": "The name of the `Target`. This is an optional field, as a `Target` may not always be applicable to a policy.",
3767
+ "type": "string"
3768
+ },
3769
+ "targetUid": {
3770
+ "description": "Unique identifier of the `Target`. This is an optional field, as a `Target` may not always be applicable to a policy.",
3771
+ "type": "string"
3772
+ },
3773
+ "verdict": {
3774
+ "description": "The policy verdict of the request.",
3775
+ "enum": [
3776
+ "POLICY_VERDICT_UNSPECIFIED",
3777
+ "ALLOWED_BY_POLICY",
3778
+ "DENIED_BY_POLICY"
3779
+ ],
3780
+ "enumDescriptions": [
3781
+ "This should never happen.",
3782
+ "Allowed by policy. This enum value is not currently used but may be used in the future. Currently logs are only generated when a request is denied by policy.",
3783
+ "Denied by policy."
3784
+ ],
3785
+ "type": "string"
3786
+ }
3787
+ },
3788
+ "type": "object"
3789
+ },
3348
3790
  "DeployPolicyNotificationEvent": {
3349
3791
  "description": "Payload proto for \"clouddeploy.googleapis.com/deploypolicy_notification\". Platform Log event that describes the failure to send a pub/sub notification when there is a DeployPolicy status change.",
3350
3792
  "id": "DeployPolicyNotificationEvent",
@@ -3371,6 +3813,7 @@ true
3371
3813
  "TYPE_RESTRICTION_VIOLATED",
3372
3814
  "TYPE_RESOURCE_DELETED",
3373
3815
  "TYPE_ROLLOUT_UPDATE",
3816
+ "TYPE_DEPLOY_POLICY_EVALUATION",
3374
3817
  "TYPE_RENDER_STATUES_CHANGE"
3375
3818
  ],
3376
3819
  "enumDeprecated": [
@@ -3381,6 +3824,7 @@ false,
3381
3824
  false,
3382
3825
  false,
3383
3826
  false,
3827
+ false,
3384
3828
  true
3385
3829
  ],
3386
3830
  "enumDescriptions": [
@@ -3391,6 +3835,7 @@ true
3391
3835
  "Restriction check failed.",
3392
3836
  "Resource deleted.",
3393
3837
  "Rollout updated.",
3838
+ "Deploy Policy evaluation.",
3394
3839
  "Deprecated: This field is never used. Use release_render log type instead."
3395
3840
  ],
3396
3841
  "type": "string"
@@ -3398,6 +3843,21 @@ true
3398
3843
  },
3399
3844
  "type": "object"
3400
3845
  },
3846
+ "DeployPolicyResourceSelector": {
3847
+ "description": "Contains information on the resources to select for a deploy policy. Attributes provided must all match the resource in order for policy restrictions to apply. For example, if delivery pipelines attributes given are an id \"prod\" and labels \"foo: bar\", a delivery pipeline resource must match both that id and have that label in order to be subject to the policy.",
3848
+ "id": "DeployPolicyResourceSelector",
3849
+ "properties": {
3850
+ "deliveryPipeline": {
3851
+ "$ref": "DeliveryPipelineAttribute",
3852
+ "description": "Optional. Contains attributes about a delivery pipeline."
3853
+ },
3854
+ "target": {
3855
+ "$ref": "TargetAttribute",
3856
+ "description": "Optional. Contains attributes about a target."
3857
+ }
3858
+ },
3859
+ "type": "object"
3860
+ },
3401
3861
  "DeploymentJobs": {
3402
3862
  "description": "Deployment job composition.",
3403
3863
  "id": "DeploymentJobs",
@@ -3573,6 +4033,13 @@ true
3573
4033
  "description": "Required. The job ID for the Job to ignore.",
3574
4034
  "type": "string"
3575
4035
  },
4036
+ "overrideDeployPolicy": {
4037
+ "description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.",
4038
+ "items": {
4039
+ "type": "string"
4040
+ },
4041
+ "type": "array"
4042
+ },
3576
4043
  "phaseId": {
3577
4044
  "description": "Required. The phase ID the Job to ignore belongs to.",
3578
4045
  "type": "string"
@@ -3811,6 +4278,7 @@ true
3811
4278
  "TYPE_RESTRICTION_VIOLATED",
3812
4279
  "TYPE_RESOURCE_DELETED",
3813
4280
  "TYPE_ROLLOUT_UPDATE",
4281
+ "TYPE_DEPLOY_POLICY_EVALUATION",
3814
4282
  "TYPE_RENDER_STATUES_CHANGE"
3815
4283
  ],
3816
4284
  "enumDeprecated": [
@@ -3821,6 +4289,7 @@ false,
3821
4289
  false,
3822
4290
  false,
3823
4291
  false,
4292
+ false,
3824
4293
  true
3825
4294
  ],
3826
4295
  "enumDescriptions": [
@@ -3831,6 +4300,7 @@ true
3831
4300
  "Restriction check failed.",
3832
4301
  "Resource deleted.",
3833
4302
  "Rollout updated.",
4303
+ "Deploy Policy evaluation.",
3834
4304
  "Deprecated: This field is never used. Use release_render log type instead."
3835
4305
  ],
3836
4306
  "type": "string"
@@ -3953,6 +4423,31 @@ true
3953
4423
  },
3954
4424
  "type": "object"
3955
4425
  },
4426
+ "ListDeployPoliciesResponse": {
4427
+ "description": "The response object from `ListDeployPolicies`.",
4428
+ "id": "ListDeployPoliciesResponse",
4429
+ "properties": {
4430
+ "deployPolicies": {
4431
+ "description": "The `DeployPolicy` objects.",
4432
+ "items": {
4433
+ "$ref": "DeployPolicy"
4434
+ },
4435
+ "type": "array"
4436
+ },
4437
+ "nextPageToken": {
4438
+ "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
4439
+ "type": "string"
4440
+ },
4441
+ "unreachable": {
4442
+ "description": "Locations that could not be reached.",
4443
+ "items": {
4444
+ "type": "string"
4445
+ },
4446
+ "type": "array"
4447
+ }
4448
+ },
4449
+ "type": "object"
4450
+ },
3956
4451
  "ListJobRunsResponse": {
3957
4452
  "description": "ListJobRunsResponse is the response object returned by `ListJobRuns`.",
3958
4453
  "id": "ListJobRunsResponse",
@@ -4159,6 +4654,29 @@ true
4159
4654
  },
4160
4655
  "type": "object"
4161
4656
  },
4657
+ "OneTimeWindow": {
4658
+ "description": "One-time window within which actions are restricted. For example, blocking actions over New Year's Eve from December 31st at 5pm to January 1st at 9am.",
4659
+ "id": "OneTimeWindow",
4660
+ "properties": {
4661
+ "endDate": {
4662
+ "$ref": "Date",
4663
+ "description": "Required. End date."
4664
+ },
4665
+ "endTime": {
4666
+ "$ref": "TimeOfDay",
4667
+ "description": "Required. End time (exclusive). You may use 24:00 for the end of the day."
4668
+ },
4669
+ "startDate": {
4670
+ "$ref": "Date",
4671
+ "description": "Required. Start date."
4672
+ },
4673
+ "startTime": {
4674
+ "$ref": "TimeOfDay",
4675
+ "description": "Required. Start time (inclusive). Use 00:00 for the beginning of the day."
4676
+ }
4677
+ },
4678
+ "type": "object"
4679
+ },
4162
4680
  "Operation": {
4163
4681
  "description": "This resource represents a long-running operation that is the result of a network API call.",
4164
4682
  "id": "Operation",
@@ -4411,6 +4929,50 @@ true
4411
4929
  },
4412
4930
  "type": "object"
4413
4931
  },
4932
+ "PolicyRule": {
4933
+ "description": "Deploy Policy rule.",
4934
+ "id": "PolicyRule",
4935
+ "properties": {
4936
+ "rolloutRestriction": {
4937
+ "$ref": "RolloutRestriction",
4938
+ "description": "Rollout restrictions."
4939
+ }
4940
+ },
4941
+ "type": "object"
4942
+ },
4943
+ "PolicyViolation": {
4944
+ "description": "Returned from an action if one or more policies were violated, and therefore the action was prevented. Contains information about what policies were violated and why.",
4945
+ "id": "PolicyViolation",
4946
+ "properties": {
4947
+ "policyViolationDetails": {
4948
+ "description": "Policy violation details.",
4949
+ "items": {
4950
+ "$ref": "PolicyViolationDetails"
4951
+ },
4952
+ "type": "array"
4953
+ }
4954
+ },
4955
+ "type": "object"
4956
+ },
4957
+ "PolicyViolationDetails": {
4958
+ "description": "Policy violation details.",
4959
+ "id": "PolicyViolationDetails",
4960
+ "properties": {
4961
+ "failureMessage": {
4962
+ "description": "User readable message about why the request violated a policy. This is not intended for machine parsing.",
4963
+ "type": "string"
4964
+ },
4965
+ "policy": {
4966
+ "description": "Name of the policy that was violated. Policy resource will be in the format of `projects/{project}/locations/{location}/policies/{policy}`.",
4967
+ "type": "string"
4968
+ },
4969
+ "ruleId": {
4970
+ "description": "Id of the rule that triggered the policy violation.",
4971
+ "type": "string"
4972
+ }
4973
+ },
4974
+ "type": "object"
4975
+ },
4414
4976
  "Postdeploy": {
4415
4977
  "description": "Postdeploy contains the postdeploy job configuration information.",
4416
4978
  "id": "Postdeploy",
@@ -4808,6 +5370,7 @@ true
4808
5370
  "TYPE_RESTRICTION_VIOLATED",
4809
5371
  "TYPE_RESOURCE_DELETED",
4810
5372
  "TYPE_ROLLOUT_UPDATE",
5373
+ "TYPE_DEPLOY_POLICY_EVALUATION",
4811
5374
  "TYPE_RENDER_STATUES_CHANGE"
4812
5375
  ],
4813
5376
  "enumDeprecated": [
@@ -4818,6 +5381,7 @@ false,
4818
5381
  false,
4819
5382
  false,
4820
5383
  false,
5384
+ false,
4821
5385
  true
4822
5386
  ],
4823
5387
  "enumDescriptions": [
@@ -4828,6 +5392,7 @@ true
4828
5392
  "Restriction check failed.",
4829
5393
  "Resource deleted.",
4830
5394
  "Rollout updated.",
5395
+ "Deploy Policy evaluation.",
4831
5396
  "Deprecated: This field is never used. Use release_render log type instead."
4832
5397
  ],
4833
5398
  "type": "string"
@@ -4888,6 +5453,7 @@ true
4888
5453
  "TYPE_RESTRICTION_VIOLATED",
4889
5454
  "TYPE_RESOURCE_DELETED",
4890
5455
  "TYPE_ROLLOUT_UPDATE",
5456
+ "TYPE_DEPLOY_POLICY_EVALUATION",
4891
5457
  "TYPE_RENDER_STATUES_CHANGE"
4892
5458
  ],
4893
5459
  "enumDeprecated": [
@@ -4898,6 +5464,7 @@ false,
4898
5464
  false,
4899
5465
  false,
4900
5466
  false,
5467
+ false,
4901
5468
  true
4902
5469
  ],
4903
5470
  "enumDescriptions": [
@@ -4908,6 +5475,7 @@ true
4908
5475
  "Restriction check failed.",
4909
5476
  "Resource deleted.",
4910
5477
  "Rollout updated.",
5478
+ "Deploy Policy evaluation.",
4911
5479
  "Deprecated: This field is never used. Use release_render log type instead."
4912
5480
  ],
4913
5481
  "type": "string"
@@ -5057,6 +5625,13 @@ true
5057
5625
  "description": "Required. The job ID for the Job to retry.",
5058
5626
  "type": "string"
5059
5627
  },
5628
+ "overrideDeployPolicy": {
5629
+ "description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.",
5630
+ "items": {
5631
+ "type": "string"
5632
+ },
5633
+ "type": "array"
5634
+ },
5060
5635
  "phaseId": {
5061
5636
  "description": "Required. The phase ID the Job to retry belongs to.",
5062
5637
  "type": "string"
@@ -5170,6 +5745,13 @@ true
5170
5745
  "description": "The request object for `RollbackTarget`.",
5171
5746
  "id": "RollbackTargetRequest",
5172
5747
  "properties": {
5748
+ "overrideDeployPolicy": {
5749
+ "description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deploy_policy}`.",
5750
+ "items": {
5751
+ "type": "string"
5752
+ },
5753
+ "type": "array"
5754
+ },
5173
5755
  "releaseId": {
5174
5756
  "description": "Optional. ID of the `Release` to roll back to. If this isn't specified, the previous successful `Rollout` to the specified target will be used to determine the `Release`.",
5175
5757
  "type": "string"
@@ -5440,6 +6022,7 @@ true
5440
6022
  "TYPE_RESTRICTION_VIOLATED",
5441
6023
  "TYPE_RESOURCE_DELETED",
5442
6024
  "TYPE_ROLLOUT_UPDATE",
6025
+ "TYPE_DEPLOY_POLICY_EVALUATION",
5443
6026
  "TYPE_RENDER_STATUES_CHANGE"
5444
6027
  ],
5445
6028
  "enumDeprecated": [
@@ -5450,6 +6033,7 @@ false,
5450
6033
  false,
5451
6034
  false,
5452
6035
  false,
6036
+ false,
5453
6037
  true
5454
6038
  ],
5455
6039
  "enumDescriptions": [
@@ -5460,6 +6044,7 @@ true
5460
6044
  "Restriction check failed.",
5461
6045
  "Resource deleted.",
5462
6046
  "Rollout updated.",
6047
+ "Deploy Policy evaluation.",
5463
6048
  "Deprecated: This field is never used. Use release_render log type instead."
5464
6049
  ],
5465
6050
  "type": "string"
@@ -5467,6 +6052,67 @@ true
5467
6052
  },
5468
6053
  "type": "object"
5469
6054
  },
6055
+ "RolloutRestriction": {
6056
+ "description": "Rollout restrictions.",
6057
+ "id": "RolloutRestriction",
6058
+ "properties": {
6059
+ "actions": {
6060
+ "description": "Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.",
6061
+ "items": {
6062
+ "enum": [
6063
+ "ROLLOUT_ACTIONS_UNSPECIFIED",
6064
+ "ADVANCE",
6065
+ "APPROVE",
6066
+ "CANCEL",
6067
+ "CREATE",
6068
+ "IGNORE_JOB",
6069
+ "RETRY_JOB",
6070
+ "ROLLBACK",
6071
+ "TERMINATE_JOBRUN"
6072
+ ],
6073
+ "enumDescriptions": [
6074
+ "Unspecified.",
6075
+ "Advance the rollout to the next phase.",
6076
+ "Approve the rollout.",
6077
+ "Cancel the rollout.",
6078
+ "Create a rollout.",
6079
+ "Ignore a job result on the rollout.",
6080
+ "Retry a job for a rollout.",
6081
+ "Rollback a rollout.",
6082
+ "Terminate a jobrun."
6083
+ ],
6084
+ "type": "string"
6085
+ },
6086
+ "type": "array"
6087
+ },
6088
+ "id": {
6089
+ "description": "Required. Restriction rule ID. Required and must be unique within a DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.",
6090
+ "type": "string"
6091
+ },
6092
+ "invokers": {
6093
+ "description": "Optional. What invoked the action. If left empty, all invoker types will be restricted.",
6094
+ "items": {
6095
+ "enum": [
6096
+ "INVOKER_UNSPECIFIED",
6097
+ "USER",
6098
+ "DEPLOY_AUTOMATION"
6099
+ ],
6100
+ "enumDescriptions": [
6101
+ "Unspecified.",
6102
+ "The action is user-driven. For example, creating a rollout manually via a gcloud create command.",
6103
+ "Automated action by Cloud Deploy."
6104
+ ],
6105
+ "type": "string"
6106
+ },
6107
+ "type": "array"
6108
+ },
6109
+ "timeWindows": {
6110
+ "$ref": "TimeWindows",
6111
+ "description": "Required. Time window within which actions are restricted."
6112
+ }
6113
+ },
6114
+ "type": "object"
6115
+ },
5470
6116
  "RolloutUpdateEvent": {
5471
6117
  "description": "Payload proto for \"clouddeploy.googleapis.com/rollout_update\" Platform Log event that describes the rollout update event.",
5472
6118
  "id": "RolloutUpdateEvent",
@@ -5541,6 +6187,7 @@ true
5541
6187
  "TYPE_RESTRICTION_VIOLATED",
5542
6188
  "TYPE_RESOURCE_DELETED",
5543
6189
  "TYPE_ROLLOUT_UPDATE",
6190
+ "TYPE_DEPLOY_POLICY_EVALUATION",
5544
6191
  "TYPE_RENDER_STATUES_CHANGE"
5545
6192
  ],
5546
6193
  "enumDeprecated": [
@@ -5551,6 +6198,7 @@ false,
5551
6198
  false,
5552
6199
  false,
5553
6200
  false,
6201
+ false,
5554
6202
  true
5555
6203
  ],
5556
6204
  "enumDescriptions": [
@@ -5561,6 +6209,7 @@ true
5561
6209
  "Restriction check failed.",
5562
6210
  "Resource deleted.",
5563
6211
  "Rollout updated.",
6212
+ "Deploy Policy evaluation.",
5564
6213
  "Deprecated: This field is never used. Use release_render log type instead."
5565
6214
  ],
5566
6215
  "type": "string"
@@ -6030,6 +6679,7 @@ true
6030
6679
  "TYPE_RESTRICTION_VIOLATED",
6031
6680
  "TYPE_RESOURCE_DELETED",
6032
6681
  "TYPE_ROLLOUT_UPDATE",
6682
+ "TYPE_DEPLOY_POLICY_EVALUATION",
6033
6683
  "TYPE_RENDER_STATUES_CHANGE"
6034
6684
  ],
6035
6685
  "enumDeprecated": [
@@ -6040,6 +6690,7 @@ false,
6040
6690
  false,
6041
6691
  false,
6042
6692
  false,
6693
+ false,
6043
6694
  true
6044
6695
  ],
6045
6696
  "enumDescriptions": [
@@ -6050,6 +6701,7 @@ true
6050
6701
  "Restriction check failed.",
6051
6702
  "Resource deleted.",
6052
6703
  "Rollout updated.",
6704
+ "Deploy Policy evaluation.",
6053
6705
  "Deprecated: This field is never used. Use release_render log type instead."
6054
6706
  ],
6055
6707
  "type": "string"
@@ -6162,7 +6814,15 @@ true
6162
6814
  "TerminateJobRunRequest": {
6163
6815
  "description": "The request object used by `TerminateJobRun`.",
6164
6816
  "id": "TerminateJobRunRequest",
6165
- "properties": {},
6817
+ "properties": {
6818
+ "overrideDeployPolicy": {
6819
+ "description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.",
6820
+ "items": {
6821
+ "type": "string"
6822
+ },
6823
+ "type": "array"
6824
+ }
6825
+ },
6166
6826
  "type": "object"
6167
6827
  },
6168
6828
  "TerminateJobRunResponse": {
@@ -6199,6 +6859,58 @@ true
6199
6859
  },
6200
6860
  "type": "object"
6201
6861
  },
6862
+ "TimeOfDay": {
6863
+ "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.",
6864
+ "id": "TimeOfDay",
6865
+ "properties": {
6866
+ "hours": {
6867
+ "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
6868
+ "format": "int32",
6869
+ "type": "integer"
6870
+ },
6871
+ "minutes": {
6872
+ "description": "Minutes of hour of day. Must be from 0 to 59.",
6873
+ "format": "int32",
6874
+ "type": "integer"
6875
+ },
6876
+ "nanos": {
6877
+ "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
6878
+ "format": "int32",
6879
+ "type": "integer"
6880
+ },
6881
+ "seconds": {
6882
+ "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.",
6883
+ "format": "int32",
6884
+ "type": "integer"
6885
+ }
6886
+ },
6887
+ "type": "object"
6888
+ },
6889
+ "TimeWindows": {
6890
+ "description": "Time windows within which actions are restricted.",
6891
+ "id": "TimeWindows",
6892
+ "properties": {
6893
+ "oneTimeWindows": {
6894
+ "description": "Optional. One-time windows within which actions are restricted.",
6895
+ "items": {
6896
+ "$ref": "OneTimeWindow"
6897
+ },
6898
+ "type": "array"
6899
+ },
6900
+ "timeZone": {
6901
+ "description": "Required. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York).",
6902
+ "type": "string"
6903
+ },
6904
+ "weeklyWindows": {
6905
+ "description": "Optional. Recurring weekly windows within which actions are restricted.",
6906
+ "items": {
6907
+ "$ref": "WeeklyWindow"
6908
+ },
6909
+ "type": "array"
6910
+ }
6911
+ },
6912
+ "type": "object"
6913
+ },
6202
6914
  "VerifyJob": {
6203
6915
  "description": "A verify Job.",
6204
6916
  "id": "VerifyJob",
@@ -6252,6 +6964,48 @@ true
6252
6964
  }
6253
6965
  },
6254
6966
  "type": "object"
6967
+ },
6968
+ "WeeklyWindow": {
6969
+ "description": "Weekly windows. For example, blocking actions every Saturday and Sunday. Another example would be blocking actions every weekday from 5pm to midnight.",
6970
+ "id": "WeeklyWindow",
6971
+ "properties": {
6972
+ "daysOfWeek": {
6973
+ "description": "Optional. Days of week. If left empty, all days of the week will be included.",
6974
+ "items": {
6975
+ "enum": [
6976
+ "DAY_OF_WEEK_UNSPECIFIED",
6977
+ "MONDAY",
6978
+ "TUESDAY",
6979
+ "WEDNESDAY",
6980
+ "THURSDAY",
6981
+ "FRIDAY",
6982
+ "SATURDAY",
6983
+ "SUNDAY"
6984
+ ],
6985
+ "enumDescriptions": [
6986
+ "The day of the week is unspecified.",
6987
+ "Monday",
6988
+ "Tuesday",
6989
+ "Wednesday",
6990
+ "Thursday",
6991
+ "Friday",
6992
+ "Saturday",
6993
+ "Sunday"
6994
+ ],
6995
+ "type": "string"
6996
+ },
6997
+ "type": "array"
6998
+ },
6999
+ "endTime": {
7000
+ "$ref": "TimeOfDay",
7001
+ "description": "Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week."
7002
+ },
7003
+ "startTime": {
7004
+ "$ref": "TimeOfDay",
7005
+ "description": "Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week."
7006
+ }
7007
+ },
7008
+ "type": "object"
6255
7009
  }
6256
7010
  },
6257
7011
  "servicePath": "",