google-api-python-client 2.147.0__py2.py3-none-any.whl → 2.149.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.
- {google_api_python_client-2.147.0.dist-info → google_api_python_client-2.149.0.dist-info}/METADATA +1 -1
- {google_api_python_client-2.147.0.dist-info → google_api_python_client-2.149.0.dist-info}/RECORD +144 -143
- googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +7 -2
- googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json +5 -5
- googleapiclient/discovery_cache/documents/admin.directory_v1.json +3 -3
- googleapiclient/discovery_cache/documents/admin.directoryv1.json +3 -3
- googleapiclient/discovery_cache/documents/aiplatform.v1.json +17 -4
- googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +5 -5
- googleapiclient/discovery_cache/documents/alloydb.v1.json +59 -48
- googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +59 -48
- googleapiclient/discovery_cache/documents/alloydb.v1beta.json +59 -48
- googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +2 -2
- googleapiclient/discovery_cache/documents/analyticshub.v1.json +2 -2
- googleapiclient/discovery_cache/documents/androidmanagement.v1.json +69 -7
- googleapiclient/discovery_cache/documents/androidpublisher.v3.json +1 -16
- googleapiclient/discovery_cache/documents/apigee.v1.json +324 -3
- googleapiclient/discovery_cache/documents/artifactregistry.v1.json +575 -10
- googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json +2 -2
- googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +292 -1
- googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json +5 -5
- googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1alpha.json +6 -6
- googleapiclient/discovery_cache/documents/backupdr.v1.json +71 -8
- googleapiclient/discovery_cache/documents/batch.v1.json +4 -4
- googleapiclient/discovery_cache/documents/beyondcorp.v1.json +721 -27
- googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +46 -93
- googleapiclient/discovery_cache/documents/bigquery.v2.json +74 -5
- googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +51 -1
- googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +53 -3
- googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +19 -2
- googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json +9 -9
- googleapiclient/discovery_cache/documents/calendar.v3.json +2 -2
- googleapiclient/discovery_cache/documents/chat.v1.json +95 -22
- googleapiclient/discovery_cache/documents/chromemanagement.v1.json +6 -4
- googleapiclient/discovery_cache/documents/chromepolicy.v1.json +3 -3
- googleapiclient/discovery_cache/documents/cloudbuild.v1.json +5 -3
- googleapiclient/discovery_cache/documents/clouddeploy.v1.json +862 -17
- googleapiclient/discovery_cache/documents/cloudidentity.v1.json +5 -5
- googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +12 -12
- googleapiclient/discovery_cache/documents/cloudkms.v1.json +2 -2
- googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +215 -1
- googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json +45 -1
- googleapiclient/discovery_cache/documents/connectors.v1.json +9 -1
- googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +3 -4
- googleapiclient/discovery_cache/documents/container.v1.json +75 -3
- googleapiclient/discovery_cache/documents/container.v1beta1.json +75 -3
- googleapiclient/discovery_cache/documents/containeranalysis.v1.json +5 -3
- googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +5 -3
- googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +5 -3
- googleapiclient/discovery_cache/documents/datamigration.v1.json +113 -1
- googleapiclient/discovery_cache/documents/dataplex.v1.json +2 -2
- googleapiclient/discovery_cache/documents/dataproc.v1.json +8950 -3781
- googleapiclient/discovery_cache/documents/developerconnect.v1.json +213 -2
- googleapiclient/discovery_cache/documents/dfareporting.v4.json +295 -7
- googleapiclient/discovery_cache/documents/dialogflow.v2.json +45 -13
- googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +35 -13
- googleapiclient/discovery_cache/documents/dialogflow.v3.json +24 -8
- googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +66 -10
- googleapiclient/discovery_cache/documents/discoveryengine.v1.json +248 -8
- googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +248 -8
- googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +315 -1
- googleapiclient/discovery_cache/documents/displayvideo.v2.json +5 -5
- googleapiclient/discovery_cache/documents/displayvideo.v3.json +6 -6
- googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json +6 -14
- googleapiclient/discovery_cache/documents/firebaseappcheck.v1.json +9 -9
- googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json +8 -8
- googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +52 -2
- googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json +1831 -0
- googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +55 -5
- googleapiclient/discovery_cache/documents/gkehub.v1.json +15 -3
- googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +15 -3
- googleapiclient/discovery_cache/documents/gkehub.v1beta.json +15 -3
- googleapiclient/discovery_cache/documents/iam.v1.json +2 -2
- googleapiclient/discovery_cache/documents/integrations.v1.json +880 -13
- googleapiclient/discovery_cache/documents/language.v1.json +27 -1
- googleapiclient/discovery_cache/documents/language.v1beta2.json +27 -1
- googleapiclient/discovery_cache/documents/language.v2.json +38 -1
- googleapiclient/discovery_cache/documents/memcache.v1.json +389 -1
- googleapiclient/discovery_cache/documents/memcache.v1beta2.json +389 -1
- googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +21 -34
- googleapiclient/discovery_cache/documents/merchantapi.conversions_v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/merchantapi.notifications_v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +4 -4
- googleapiclient/discovery_cache/documents/migrationcenter.v1.json +4 -3
- googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +8 -7
- googleapiclient/discovery_cache/documents/monitoring.v1.json +8 -6
- googleapiclient/discovery_cache/documents/monitoring.v3.json +153 -1
- googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +5 -5
- googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json +5 -5
- googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +48 -8
- googleapiclient/discovery_cache/documents/networkmanagement.v1.json +17 -5
- googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +9 -5
- googleapiclient/discovery_cache/documents/networksecurity.v1.json +24 -3
- googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +38 -17
- googleapiclient/discovery_cache/documents/networkservices.v1.json +7 -94
- googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +11 -266
- googleapiclient/discovery_cache/documents/notebooks.v1.json +3 -3
- googleapiclient/discovery_cache/documents/notebooks.v2.json +2 -2
- googleapiclient/discovery_cache/documents/oracledatabase.v1.json +73 -73
- googleapiclient/discovery_cache/documents/osconfig.v1.json +5 -5
- googleapiclient/discovery_cache/documents/osconfig.v1beta.json +5 -5
- googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +3 -3
- googleapiclient/discovery_cache/documents/places.v1.json +6 -2
- googleapiclient/discovery_cache/documents/playdeveloperreporting.v1alpha1.json +10 -6
- googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json +10 -6
- googleapiclient/discovery_cache/documents/privateca.v1.json +3 -3
- googleapiclient/discovery_cache/documents/pubsub.v1.json +112 -1
- googleapiclient/discovery_cache/documents/realtimebidding.v1.json +3 -3
- googleapiclient/discovery_cache/documents/redis.v1.json +29 -4
- googleapiclient/discovery_cache/documents/redis.v1beta1.json +29 -4
- googleapiclient/discovery_cache/documents/retail.v2.json +275 -1
- googleapiclient/discovery_cache/documents/retail.v2alpha.json +275 -1
- googleapiclient/discovery_cache/documents/retail.v2beta.json +275 -1
- googleapiclient/discovery_cache/documents/run.v1.json +6 -4
- googleapiclient/discovery_cache/documents/run.v2.json +10 -4
- googleapiclient/discovery_cache/documents/searchads360.v0.json +98 -4
- googleapiclient/discovery_cache/documents/secretmanager.v1.json +3 -3
- googleapiclient/discovery_cache/documents/securitycenter.v1.json +24 -208
- googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +24 -1
- googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +81 -1
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +20 -2
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +20 -2
- googleapiclient/discovery_cache/documents/servicemanagement.v1.json +20 -2
- googleapiclient/discovery_cache/documents/servicenetworking.v1.json +2 -2
- googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/serviceusage.v1.json +20 -2
- googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +20 -2
- googleapiclient/discovery_cache/documents/sheets.v4.json +2 -2
- googleapiclient/discovery_cache/documents/spanner.v1.json +22 -2
- googleapiclient/discovery_cache/documents/speech.v1.json +5 -3
- googleapiclient/discovery_cache/documents/speech.v1p1beta1.json +5 -3
- googleapiclient/discovery_cache/documents/sqladmin.v1.json +50 -1
- googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +50 -1
- googleapiclient/discovery_cache/documents/storage.v1.json +58 -2
- googleapiclient/discovery_cache/documents/storagetransfer.v1.json +7 -7
- googleapiclient/discovery_cache/documents/texttospeech.v1.json +178 -1
- googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +180 -1
- googleapiclient/discovery_cache/documents/walletobjects.v1.json +142 -1
- googleapiclient/discovery_cache/documents/workflows.v1.json +2 -2
- googleapiclient/discovery_cache/documents/youtube.v3.json +1 -5
- googleapiclient/version.py +1 -1
- {google_api_python_client-2.147.0.dist-info → google_api_python_client-2.149.0.dist-info}/LICENSE +0 -0
- {google_api_python_client-2.147.0.dist-info → google_api_python_client-2.149.0.dist-info}/WHEEL +0 -0
- {google_api_python_client-2.147.0.dist-info → google_api_python_client-2.149.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": "
|
|
2292
|
+
"revision": "20240929",
|
|
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` from proceeding.",
|
|
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"
|
|
@@ -3322,25 +3603,186 @@ true
|
|
|
3322
3603
|
"readOnly": true
|
|
3323
3604
|
}
|
|
3324
3605
|
},
|
|
3325
|
-
"type": "object"
|
|
3606
|
+
"type": "object"
|
|
3607
|
+
},
|
|
3608
|
+
"DeployParameters": {
|
|
3609
|
+
"description": "DeployParameters contains deploy parameters information.",
|
|
3610
|
+
"id": "DeployParameters",
|
|
3611
|
+
"properties": {
|
|
3612
|
+
"matchTargetLabels": {
|
|
3613
|
+
"additionalProperties": {
|
|
3614
|
+
"type": "string"
|
|
3615
|
+
},
|
|
3616
|
+
"description": "Optional. Deploy parameters are applied to targets with match labels. If unspecified, deploy parameters are applied to all targets (including child targets of a multi-target).",
|
|
3617
|
+
"type": "object"
|
|
3618
|
+
},
|
|
3619
|
+
"values": {
|
|
3620
|
+
"additionalProperties": {
|
|
3621
|
+
"type": "string"
|
|
3622
|
+
},
|
|
3623
|
+
"description": "Required. Values are deploy parameters in key-value pairs.",
|
|
3624
|
+
"type": "object"
|
|
3625
|
+
}
|
|
3626
|
+
},
|
|
3627
|
+
"type": "object"
|
|
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"
|
|
3326
3760
|
},
|
|
3327
|
-
"
|
|
3328
|
-
"description": "
|
|
3329
|
-
"id": "DeployParameters",
|
|
3330
|
-
"properties": {
|
|
3331
|
-
"matchTargetLabels": {
|
|
3332
|
-
"additionalProperties": {
|
|
3761
|
+
"ruleType": {
|
|
3762
|
+
"description": "Rule type (e.g. Restrict Rollouts).",
|
|
3333
3763
|
"type": "string"
|
|
3334
3764
|
},
|
|
3335
|
-
"
|
|
3336
|
-
"
|
|
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"
|
|
3337
3768
|
},
|
|
3338
|
-
"
|
|
3339
|
-
"
|
|
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.",
|
|
3340
3771
|
"type": "string"
|
|
3341
3772
|
},
|
|
3342
|
-
"
|
|
3343
|
-
"
|
|
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"
|
|
3344
3786
|
}
|
|
3345
3787
|
},
|
|
3346
3788
|
"type": "object"
|
|
@@ -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"
|
|
@@ -4949,10 +5517,31 @@ true
|
|
|
4949
5517
|
},
|
|
4950
5518
|
"type": "object"
|
|
4951
5519
|
},
|
|
5520
|
+
"RepairPhaseConfig": {
|
|
5521
|
+
"description": "Configuration of the repair phase.",
|
|
5522
|
+
"id": "RepairPhaseConfig",
|
|
5523
|
+
"properties": {
|
|
5524
|
+
"retry": {
|
|
5525
|
+
"$ref": "Retry",
|
|
5526
|
+
"description": "Optional. Retries a failed job."
|
|
5527
|
+
},
|
|
5528
|
+
"rollback": {
|
|
5529
|
+
"$ref": "Rollback",
|
|
5530
|
+
"description": "Optional. Rolls back a `Rollout`."
|
|
5531
|
+
}
|
|
5532
|
+
},
|
|
5533
|
+
"type": "object"
|
|
5534
|
+
},
|
|
4952
5535
|
"RepairRolloutOperation": {
|
|
4953
5536
|
"description": "Contains the information for an automated `repair rollout` operation.",
|
|
4954
5537
|
"id": "RepairRolloutOperation",
|
|
4955
5538
|
"properties": {
|
|
5539
|
+
"currentRepairPhaseIndex": {
|
|
5540
|
+
"description": "Output only. The index of the current repair action in the repair sequence.",
|
|
5541
|
+
"format": "int64",
|
|
5542
|
+
"readOnly": true,
|
|
5543
|
+
"type": "string"
|
|
5544
|
+
},
|
|
4956
5545
|
"jobId": {
|
|
4957
5546
|
"description": "Output only. The job ID for the Job to repair.",
|
|
4958
5547
|
"readOnly": true,
|
|
@@ -4998,6 +5587,51 @@ true
|
|
|
4998
5587
|
"type": "string"
|
|
4999
5588
|
},
|
|
5000
5589
|
"type": "array"
|
|
5590
|
+
},
|
|
5591
|
+
"phases": {
|
|
5592
|
+
"description": "Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.",
|
|
5593
|
+
"items": {
|
|
5594
|
+
"type": "string"
|
|
5595
|
+
},
|
|
5596
|
+
"type": "array"
|
|
5597
|
+
},
|
|
5598
|
+
"repairPhases": {
|
|
5599
|
+
"description": "Required. Defines the types of automatic repair phases for failed jobs.",
|
|
5600
|
+
"items": {
|
|
5601
|
+
"$ref": "RepairPhaseConfig"
|
|
5602
|
+
},
|
|
5603
|
+
"type": "array"
|
|
5604
|
+
}
|
|
5605
|
+
},
|
|
5606
|
+
"type": "object"
|
|
5607
|
+
},
|
|
5608
|
+
"Retry": {
|
|
5609
|
+
"description": "Retries the failed job.",
|
|
5610
|
+
"id": "Retry",
|
|
5611
|
+
"properties": {
|
|
5612
|
+
"attempts": {
|
|
5613
|
+
"description": "Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.",
|
|
5614
|
+
"format": "int64",
|
|
5615
|
+
"type": "string"
|
|
5616
|
+
},
|
|
5617
|
+
"backoffMode": {
|
|
5618
|
+
"description": "Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.",
|
|
5619
|
+
"enum": [
|
|
5620
|
+
"BACKOFF_MODE_UNSPECIFIED",
|
|
5621
|
+
"BACKOFF_MODE_LINEAR",
|
|
5622
|
+
"BACKOFF_MODE_EXPONENTIAL"
|
|
5623
|
+
],
|
|
5624
|
+
"enumDescriptions": [
|
|
5625
|
+
"No WaitMode is specified.",
|
|
5626
|
+
"Increases the wait time linearly.",
|
|
5627
|
+
"Increases the wait time exponentially."
|
|
5628
|
+
],
|
|
5629
|
+
"type": "string"
|
|
5630
|
+
},
|
|
5631
|
+
"wait": {
|
|
5632
|
+
"description": "Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.",
|
|
5633
|
+
"format": "google-duration",
|
|
5634
|
+
"type": "string"
|
|
5001
5635
|
}
|
|
5002
5636
|
},
|
|
5003
5637
|
"type": "object"
|
|
@@ -5057,6 +5691,13 @@ true
|
|
|
5057
5691
|
"description": "Required. The job ID for the Job to retry.",
|
|
5058
5692
|
"type": "string"
|
|
5059
5693
|
},
|
|
5694
|
+
"overrideDeployPolicy": {
|
|
5695
|
+
"description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.",
|
|
5696
|
+
"items": {
|
|
5697
|
+
"type": "string"
|
|
5698
|
+
},
|
|
5699
|
+
"type": "array"
|
|
5700
|
+
},
|
|
5060
5701
|
"phaseId": {
|
|
5061
5702
|
"description": "Required. The phase ID the Job to retry belongs to.",
|
|
5062
5703
|
"type": "string"
|
|
@@ -5106,6 +5747,21 @@ true
|
|
|
5106
5747
|
},
|
|
5107
5748
|
"type": "object"
|
|
5108
5749
|
},
|
|
5750
|
+
"Rollback": {
|
|
5751
|
+
"description": "Rolls back a `Rollout`.",
|
|
5752
|
+
"id": "Rollback",
|
|
5753
|
+
"properties": {
|
|
5754
|
+
"destinationPhase": {
|
|
5755
|
+
"description": "Optional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.",
|
|
5756
|
+
"type": "string"
|
|
5757
|
+
},
|
|
5758
|
+
"disableRollbackIfRolloutPending": {
|
|
5759
|
+
"description": "Optional. If pending rollout exists on the target, the rollback operation will be aborted.",
|
|
5760
|
+
"type": "boolean"
|
|
5761
|
+
}
|
|
5762
|
+
},
|
|
5763
|
+
"type": "object"
|
|
5764
|
+
},
|
|
5109
5765
|
"RollbackAttempt": {
|
|
5110
5766
|
"description": "RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.",
|
|
5111
5767
|
"id": "RollbackAttempt",
|
|
@@ -5115,6 +5771,11 @@ true
|
|
|
5115
5771
|
"readOnly": true,
|
|
5116
5772
|
"type": "string"
|
|
5117
5773
|
},
|
|
5774
|
+
"disableRollbackIfRolloutPending": {
|
|
5775
|
+
"description": "Output only. If active rollout exists on the target, abort this rollback.",
|
|
5776
|
+
"readOnly": true,
|
|
5777
|
+
"type": "boolean"
|
|
5778
|
+
},
|
|
5118
5779
|
"rolloutId": {
|
|
5119
5780
|
"description": "Output only. ID of the rollback `Rollout` to create.",
|
|
5120
5781
|
"readOnly": true,
|
|
@@ -5170,6 +5831,13 @@ true
|
|
|
5170
5831
|
"description": "The request object for `RollbackTarget`.",
|
|
5171
5832
|
"id": "RollbackTargetRequest",
|
|
5172
5833
|
"properties": {
|
|
5834
|
+
"overrideDeployPolicy": {
|
|
5835
|
+
"description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deploy_policy}`.",
|
|
5836
|
+
"items": {
|
|
5837
|
+
"type": "string"
|
|
5838
|
+
},
|
|
5839
|
+
"type": "array"
|
|
5840
|
+
},
|
|
5173
5841
|
"releaseId": {
|
|
5174
5842
|
"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
5843
|
"type": "string"
|
|
@@ -5212,6 +5880,11 @@ true
|
|
|
5212
5880
|
"description": "A `Rollout` resource in the Cloud Deploy API. A `Rollout` contains information around a specific deployment to a `Target`.",
|
|
5213
5881
|
"id": "Rollout",
|
|
5214
5882
|
"properties": {
|
|
5883
|
+
"activeRepairAutomationRun": {
|
|
5884
|
+
"description": "Output only. The AutomationRun actively repairing the rollout.",
|
|
5885
|
+
"readOnly": true,
|
|
5886
|
+
"type": "string"
|
|
5887
|
+
},
|
|
5215
5888
|
"annotations": {
|
|
5216
5889
|
"additionalProperties": {
|
|
5217
5890
|
"type": "string"
|
|
@@ -5440,6 +6113,7 @@ true
|
|
|
5440
6113
|
"TYPE_RESTRICTION_VIOLATED",
|
|
5441
6114
|
"TYPE_RESOURCE_DELETED",
|
|
5442
6115
|
"TYPE_ROLLOUT_UPDATE",
|
|
6116
|
+
"TYPE_DEPLOY_POLICY_EVALUATION",
|
|
5443
6117
|
"TYPE_RENDER_STATUES_CHANGE"
|
|
5444
6118
|
],
|
|
5445
6119
|
"enumDeprecated": [
|
|
@@ -5450,6 +6124,7 @@ false,
|
|
|
5450
6124
|
false,
|
|
5451
6125
|
false,
|
|
5452
6126
|
false,
|
|
6127
|
+
false,
|
|
5453
6128
|
true
|
|
5454
6129
|
],
|
|
5455
6130
|
"enumDescriptions": [
|
|
@@ -5460,6 +6135,7 @@ true
|
|
|
5460
6135
|
"Restriction check failed.",
|
|
5461
6136
|
"Resource deleted.",
|
|
5462
6137
|
"Rollout updated.",
|
|
6138
|
+
"Deploy Policy evaluation.",
|
|
5463
6139
|
"Deprecated: This field is never used. Use release_render log type instead."
|
|
5464
6140
|
],
|
|
5465
6141
|
"type": "string"
|
|
@@ -5467,6 +6143,67 @@ true
|
|
|
5467
6143
|
},
|
|
5468
6144
|
"type": "object"
|
|
5469
6145
|
},
|
|
6146
|
+
"RolloutRestriction": {
|
|
6147
|
+
"description": "Rollout restrictions.",
|
|
6148
|
+
"id": "RolloutRestriction",
|
|
6149
|
+
"properties": {
|
|
6150
|
+
"actions": {
|
|
6151
|
+
"description": "Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.",
|
|
6152
|
+
"items": {
|
|
6153
|
+
"enum": [
|
|
6154
|
+
"ROLLOUT_ACTIONS_UNSPECIFIED",
|
|
6155
|
+
"ADVANCE",
|
|
6156
|
+
"APPROVE",
|
|
6157
|
+
"CANCEL",
|
|
6158
|
+
"CREATE",
|
|
6159
|
+
"IGNORE_JOB",
|
|
6160
|
+
"RETRY_JOB",
|
|
6161
|
+
"ROLLBACK",
|
|
6162
|
+
"TERMINATE_JOBRUN"
|
|
6163
|
+
],
|
|
6164
|
+
"enumDescriptions": [
|
|
6165
|
+
"Unspecified.",
|
|
6166
|
+
"Advance the rollout to the next phase.",
|
|
6167
|
+
"Approve the rollout.",
|
|
6168
|
+
"Cancel the rollout.",
|
|
6169
|
+
"Create a rollout.",
|
|
6170
|
+
"Ignore a job result on the rollout.",
|
|
6171
|
+
"Retry a job for a rollout.",
|
|
6172
|
+
"Rollback a rollout.",
|
|
6173
|
+
"Terminate a jobrun."
|
|
6174
|
+
],
|
|
6175
|
+
"type": "string"
|
|
6176
|
+
},
|
|
6177
|
+
"type": "array"
|
|
6178
|
+
},
|
|
6179
|
+
"id": {
|
|
6180
|
+
"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])?`.",
|
|
6181
|
+
"type": "string"
|
|
6182
|
+
},
|
|
6183
|
+
"invokers": {
|
|
6184
|
+
"description": "Optional. What invoked the action. If left empty, all invoker types will be restricted.",
|
|
6185
|
+
"items": {
|
|
6186
|
+
"enum": [
|
|
6187
|
+
"INVOKER_UNSPECIFIED",
|
|
6188
|
+
"USER",
|
|
6189
|
+
"DEPLOY_AUTOMATION"
|
|
6190
|
+
],
|
|
6191
|
+
"enumDescriptions": [
|
|
6192
|
+
"Unspecified.",
|
|
6193
|
+
"The action is user-driven. For example, creating a rollout manually via a gcloud create command.",
|
|
6194
|
+
"Automated action by Cloud Deploy."
|
|
6195
|
+
],
|
|
6196
|
+
"type": "string"
|
|
6197
|
+
},
|
|
6198
|
+
"type": "array"
|
|
6199
|
+
},
|
|
6200
|
+
"timeWindows": {
|
|
6201
|
+
"$ref": "TimeWindows",
|
|
6202
|
+
"description": "Required. Time window within which actions are restricted."
|
|
6203
|
+
}
|
|
6204
|
+
},
|
|
6205
|
+
"type": "object"
|
|
6206
|
+
},
|
|
5470
6207
|
"RolloutUpdateEvent": {
|
|
5471
6208
|
"description": "Payload proto for \"clouddeploy.googleapis.com/rollout_update\" Platform Log event that describes the rollout update event.",
|
|
5472
6209
|
"id": "RolloutUpdateEvent",
|
|
@@ -5541,6 +6278,7 @@ true
|
|
|
5541
6278
|
"TYPE_RESTRICTION_VIOLATED",
|
|
5542
6279
|
"TYPE_RESOURCE_DELETED",
|
|
5543
6280
|
"TYPE_ROLLOUT_UPDATE",
|
|
6281
|
+
"TYPE_DEPLOY_POLICY_EVALUATION",
|
|
5544
6282
|
"TYPE_RENDER_STATUES_CHANGE"
|
|
5545
6283
|
],
|
|
5546
6284
|
"enumDeprecated": [
|
|
@@ -5551,6 +6289,7 @@ false,
|
|
|
5551
6289
|
false,
|
|
5552
6290
|
false,
|
|
5553
6291
|
false,
|
|
6292
|
+
false,
|
|
5554
6293
|
true
|
|
5555
6294
|
],
|
|
5556
6295
|
"enumDescriptions": [
|
|
@@ -5561,6 +6300,7 @@ true
|
|
|
5561
6300
|
"Restriction check failed.",
|
|
5562
6301
|
"Resource deleted.",
|
|
5563
6302
|
"Rollout updated.",
|
|
6303
|
+
"Deploy Policy evaluation.",
|
|
5564
6304
|
"Deprecated: This field is never used. Use release_render log type instead."
|
|
5565
6305
|
],
|
|
5566
6306
|
"type": "string"
|
|
@@ -5991,7 +6731,7 @@ true
|
|
|
5991
6731
|
"type": "object"
|
|
5992
6732
|
},
|
|
5993
6733
|
"TargetAttribute": {
|
|
5994
|
-
"description": "Contains criteria for selecting Targets.",
|
|
6734
|
+
"description": "Contains criteria for selecting Targets. This could be used to select targets for a Deploy Policy or for an Automation.",
|
|
5995
6735
|
"id": "TargetAttribute",
|
|
5996
6736
|
"properties": {
|
|
5997
6737
|
"id": {
|
|
@@ -6030,6 +6770,7 @@ true
|
|
|
6030
6770
|
"TYPE_RESTRICTION_VIOLATED",
|
|
6031
6771
|
"TYPE_RESOURCE_DELETED",
|
|
6032
6772
|
"TYPE_ROLLOUT_UPDATE",
|
|
6773
|
+
"TYPE_DEPLOY_POLICY_EVALUATION",
|
|
6033
6774
|
"TYPE_RENDER_STATUES_CHANGE"
|
|
6034
6775
|
],
|
|
6035
6776
|
"enumDeprecated": [
|
|
@@ -6040,6 +6781,7 @@ false,
|
|
|
6040
6781
|
false,
|
|
6041
6782
|
false,
|
|
6042
6783
|
false,
|
|
6784
|
+
false,
|
|
6043
6785
|
true
|
|
6044
6786
|
],
|
|
6045
6787
|
"enumDescriptions": [
|
|
@@ -6050,6 +6792,7 @@ true
|
|
|
6050
6792
|
"Restriction check failed.",
|
|
6051
6793
|
"Resource deleted.",
|
|
6052
6794
|
"Rollout updated.",
|
|
6795
|
+
"Deploy Policy evaluation.",
|
|
6053
6796
|
"Deprecated: This field is never used. Use release_render log type instead."
|
|
6054
6797
|
],
|
|
6055
6798
|
"type": "string"
|
|
@@ -6162,7 +6905,15 @@ true
|
|
|
6162
6905
|
"TerminateJobRunRequest": {
|
|
6163
6906
|
"description": "The request object used by `TerminateJobRun`.",
|
|
6164
6907
|
"id": "TerminateJobRunRequest",
|
|
6165
|
-
"properties": {
|
|
6908
|
+
"properties": {
|
|
6909
|
+
"overrideDeployPolicy": {
|
|
6910
|
+
"description": "Optional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.",
|
|
6911
|
+
"items": {
|
|
6912
|
+
"type": "string"
|
|
6913
|
+
},
|
|
6914
|
+
"type": "array"
|
|
6915
|
+
}
|
|
6916
|
+
},
|
|
6166
6917
|
"type": "object"
|
|
6167
6918
|
},
|
|
6168
6919
|
"TerminateJobRunResponse": {
|
|
@@ -6199,6 +6950,58 @@ true
|
|
|
6199
6950
|
},
|
|
6200
6951
|
"type": "object"
|
|
6201
6952
|
},
|
|
6953
|
+
"TimeOfDay": {
|
|
6954
|
+
"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`.",
|
|
6955
|
+
"id": "TimeOfDay",
|
|
6956
|
+
"properties": {
|
|
6957
|
+
"hours": {
|
|
6958
|
+
"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.",
|
|
6959
|
+
"format": "int32",
|
|
6960
|
+
"type": "integer"
|
|
6961
|
+
},
|
|
6962
|
+
"minutes": {
|
|
6963
|
+
"description": "Minutes of hour of day. Must be from 0 to 59.",
|
|
6964
|
+
"format": "int32",
|
|
6965
|
+
"type": "integer"
|
|
6966
|
+
},
|
|
6967
|
+
"nanos": {
|
|
6968
|
+
"description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
|
|
6969
|
+
"format": "int32",
|
|
6970
|
+
"type": "integer"
|
|
6971
|
+
},
|
|
6972
|
+
"seconds": {
|
|
6973
|
+
"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.",
|
|
6974
|
+
"format": "int32",
|
|
6975
|
+
"type": "integer"
|
|
6976
|
+
}
|
|
6977
|
+
},
|
|
6978
|
+
"type": "object"
|
|
6979
|
+
},
|
|
6980
|
+
"TimeWindows": {
|
|
6981
|
+
"description": "Time windows within which actions are restricted. See the [documentation](https://cloud.google.com/deploy/docs/deploy-policy#dates_times) for more information on how to configure dates/times.",
|
|
6982
|
+
"id": "TimeWindows",
|
|
6983
|
+
"properties": {
|
|
6984
|
+
"oneTimeWindows": {
|
|
6985
|
+
"description": "Optional. One-time windows within which actions are restricted.",
|
|
6986
|
+
"items": {
|
|
6987
|
+
"$ref": "OneTimeWindow"
|
|
6988
|
+
},
|
|
6989
|
+
"type": "array"
|
|
6990
|
+
},
|
|
6991
|
+
"timeZone": {
|
|
6992
|
+
"description": "Required. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York).",
|
|
6993
|
+
"type": "string"
|
|
6994
|
+
},
|
|
6995
|
+
"weeklyWindows": {
|
|
6996
|
+
"description": "Optional. Recurring weekly windows within which actions are restricted.",
|
|
6997
|
+
"items": {
|
|
6998
|
+
"$ref": "WeeklyWindow"
|
|
6999
|
+
},
|
|
7000
|
+
"type": "array"
|
|
7001
|
+
}
|
|
7002
|
+
},
|
|
7003
|
+
"type": "object"
|
|
7004
|
+
},
|
|
6202
7005
|
"VerifyJob": {
|
|
6203
7006
|
"description": "A verify Job.",
|
|
6204
7007
|
"id": "VerifyJob",
|
|
@@ -6252,6 +7055,48 @@ true
|
|
|
6252
7055
|
}
|
|
6253
7056
|
},
|
|
6254
7057
|
"type": "object"
|
|
7058
|
+
},
|
|
7059
|
+
"WeeklyWindow": {
|
|
7060
|
+
"description": "Weekly windows. For example, blocking actions every Saturday and Sunday. Another example would be blocking actions every weekday from 5pm to midnight.",
|
|
7061
|
+
"id": "WeeklyWindow",
|
|
7062
|
+
"properties": {
|
|
7063
|
+
"daysOfWeek": {
|
|
7064
|
+
"description": "Optional. Days of week. If left empty, all days of the week will be included.",
|
|
7065
|
+
"items": {
|
|
7066
|
+
"enum": [
|
|
7067
|
+
"DAY_OF_WEEK_UNSPECIFIED",
|
|
7068
|
+
"MONDAY",
|
|
7069
|
+
"TUESDAY",
|
|
7070
|
+
"WEDNESDAY",
|
|
7071
|
+
"THURSDAY",
|
|
7072
|
+
"FRIDAY",
|
|
7073
|
+
"SATURDAY",
|
|
7074
|
+
"SUNDAY"
|
|
7075
|
+
],
|
|
7076
|
+
"enumDescriptions": [
|
|
7077
|
+
"The day of the week is unspecified.",
|
|
7078
|
+
"Monday",
|
|
7079
|
+
"Tuesday",
|
|
7080
|
+
"Wednesday",
|
|
7081
|
+
"Thursday",
|
|
7082
|
+
"Friday",
|
|
7083
|
+
"Saturday",
|
|
7084
|
+
"Sunday"
|
|
7085
|
+
],
|
|
7086
|
+
"type": "string"
|
|
7087
|
+
},
|
|
7088
|
+
"type": "array"
|
|
7089
|
+
},
|
|
7090
|
+
"endTime": {
|
|
7091
|
+
"$ref": "TimeOfDay",
|
|
7092
|
+
"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."
|
|
7093
|
+
},
|
|
7094
|
+
"startTime": {
|
|
7095
|
+
"$ref": "TimeOfDay",
|
|
7096
|
+
"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."
|
|
7097
|
+
}
|
|
7098
|
+
},
|
|
7099
|
+
"type": "object"
|
|
6255
7100
|
}
|
|
6256
7101
|
},
|
|
6257
7102
|
"servicePath": "",
|