Skip to content

Commit da3f8b7

Browse files
feat(osconfig): update the api
#### osconfig:v1 The following keys were added: - schemas.VulnerabilityReportVulnerability.properties.availableInventoryItemIds.deprecated (Total Keys: 1) - schemas.VulnerabilityReportVulnerability.properties.installedInventoryItemIds.deprecated (Total Keys: 1) #### osconfig:v1alpha The following keys were added: - schemas.InstanceOSPoliciesCompliance.deprecated (Total Keys: 1) - schemas.InstanceOSPoliciesComplianceOSPolicyCompliance.deprecated (Total Keys: 1) - schemas.ListInstanceOSPoliciesCompliancesResponse.deprecated (Total Keys: 1) - schemas.OSPolicyAssignmentInstanceFilter.properties.osShortNames.deprecated (Total Keys: 1) - schemas.OSPolicyResourceCompliance.deprecated (Total Keys: 1) - schemas.OSPolicyResourceComplianceExecResourceOutput.deprecated (Total Keys: 1) - schemas.OSPolicyResourceConfigStep.deprecated (Total Keys: 1) - schemas.OSPolicyResourceGroup.properties.osFilter.deprecated (Total Keys: 1) - schemas.VulnerabilityReportVulnerability.properties.availableInventoryItemIds.deprecated (Total Keys: 1) - schemas.VulnerabilityReportVulnerability.properties.installedInventoryItemIds.deprecated (Total Keys: 1)
1 parent aa5cfb3 commit da3f8b7

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

googleapiclient/discovery_cache/documents/osconfig.v1.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@
10001000
}
10011001
}
10021002
},
1003-
"revision": "20230618",
1003+
"revision": "20230703",
10041004
"rootUrl": "https://osconfig.googleapis.com/",
10051005
"schemas": {
10061006
"AptSettings": {
@@ -3460,6 +3460,7 @@
34603460
"id": "VulnerabilityReportVulnerability",
34613461
"properties": {
34623462
"availableInventoryItemIds": {
3463+
"deprecated": true,
34633464
"description": "Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.",
34643465
"items": {
34653466
"type": "string"
@@ -3476,6 +3477,7 @@
34763477
"description": "Contains metadata as per the upstream feed of the operating system and NVD."
34773478
},
34783479
"installedInventoryItemIds": {
3480+
"deprecated": true,
34793481
"description": "Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.",
34803482
"items": {
34813483
"type": "string"

googleapiclient/discovery_cache/documents/osconfig.v1alpha.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@
687687
}
688688
}
689689
},
690-
"revision": "20230618",
690+
"revision": "20230703",
691691
"rootUrl": "https://osconfig.googleapis.com/",
692692
"schemas": {
693693
"CVSSv3": {
@@ -943,6 +943,7 @@
943943
"type": "object"
944944
},
945945
"InstanceOSPoliciesCompliance": {
946+
"deprecated": true,
946947
"description": "This API resource represents the OS policies compliance data for a Compute Engine virtual machine (VM) instance at a given point in time. A Compute Engine VM can have multiple OS policy assignments, and each assignment can have multiple OS policies. As a result, multiple OS policies could be applied to a single VM. You can use this API resource to determine both the compliance state of your VM as well as the compliance state of an individual OS policy. For more information, see [View compliance](https://cloud.google.com/compute/docs/os-configuration-management/view-compliance).",
947948
"id": "InstanceOSPoliciesCompliance",
948949
"properties": {
@@ -1008,6 +1009,7 @@
10081009
"type": "object"
10091010
},
10101011
"InstanceOSPoliciesComplianceOSPolicyCompliance": {
1012+
"deprecated": true,
10111013
"description": "Compliance data for an OS policy",
10121014
"id": "InstanceOSPoliciesComplianceOSPolicyCompliance",
10131015
"properties": {
@@ -1378,6 +1380,7 @@
13781380
"type": "object"
13791381
},
13801382
"ListInstanceOSPoliciesCompliancesResponse": {
1383+
"deprecated": true,
13811384
"description": "A response message for listing OS policies compliance data for all Compute Engine VMs in the given location.",
13821385
"id": "ListInstanceOSPoliciesCompliancesResponse",
13831386
"properties": {
@@ -1639,6 +1642,7 @@
16391642
"type": "array"
16401643
},
16411644
"osShortNames": {
1645+
"deprecated": true,
16421646
"description": "Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.",
16431647
"items": {
16441648
"type": "string"
@@ -1958,6 +1962,7 @@
19581962
"type": "object"
19591963
},
19601964
"OSPolicyResourceCompliance": {
1965+
"deprecated": true,
19611966
"description": "Compliance data for an OS policy resource.",
19621967
"id": "OSPolicyResourceCompliance",
19631968
"properties": {
@@ -1998,6 +2003,7 @@
19982003
"type": "object"
19992004
},
20002005
"OSPolicyResourceComplianceExecResourceOutput": {
2006+
"deprecated": true,
20012007
"description": "ExecResource specific output.",
20022008
"id": "OSPolicyResourceComplianceExecResourceOutput",
20032009
"properties": {
@@ -2010,6 +2016,7 @@
20102016
"type": "object"
20112017
},
20122018
"OSPolicyResourceConfigStep": {
2019+
"deprecated": true,
20132020
"description": "Step performed by the OS Config agent for configuring an `OSPolicyResource` to its desired state.",
20142021
"id": "OSPolicyResourceConfigStep",
20152022
"properties": {
@@ -2219,6 +2226,7 @@
22192226
},
22202227
"osFilter": {
22212228
"$ref": "OSPolicyOSFilter",
2229+
"deprecated": true,
22222230
"description": "Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group"
22232231
},
22242232
"resources": {
@@ -2595,6 +2603,7 @@
25952603
"id": "VulnerabilityReportVulnerability",
25962604
"properties": {
25972605
"availableInventoryItemIds": {
2606+
"deprecated": true,
25982607
"description": "Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.",
25992608
"items": {
26002609
"type": "string"
@@ -2611,6 +2620,7 @@
26112620
"description": "Contains metadata as per the upstream feed of the operating system and NVD."
26122621
},
26132622
"installedInventoryItemIds": {
2623+
"deprecated": true,
26142624
"description": "Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.",
26152625
"items": {
26162626
"type": "string"

googleapiclient/discovery_cache/documents/osconfig.v1beta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@
689689
}
690690
}
691691
},
692-
"revision": "20230618",
692+
"revision": "20230703",
693693
"rootUrl": "https://osconfig.googleapis.com/",
694694
"schemas": {
695695
"AptRepository": {

0 commit comments

Comments
 (0)