Skip to content

Commit 9ad37fd

Browse files
feat(osconfig): update the api
#### osconfig:v1 The following keys were added: - schemas.OSPolicy.properties.fingerprint.type (Total Keys: 1)
1 parent 0b6e2a9 commit 9ad37fd

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

docs/dyn/osconfig_v1.projects.locations.osPolicyAssignments.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ <h3>Method Details</h3>
154154
{ # An OS policy defines the desired state configuration for a VM.
155155
&quot;allowNoResourceGroupMatch&quot;: True or False, # This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
156156
&quot;description&quot;: &quot;A String&quot;, # Policy description. Length of the description is limited to 1024 characters.
157+
&quot;fingerprint&quot;: &quot;A String&quot;, # OSPolicy fingerprint (checksum)
157158
&quot;id&quot;: &quot;A String&quot;, # Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
158159
&quot;mode&quot;: &quot;A String&quot;, # Required. Policy mode
159160
&quot;resourceGroups&quot;: [ # Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
@@ -458,6 +459,7 @@ <h3>Method Details</h3>
458459
{ # An OS policy defines the desired state configuration for a VM.
459460
&quot;allowNoResourceGroupMatch&quot;: True or False, # This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
460461
&quot;description&quot;: &quot;A String&quot;, # Policy description. Length of the description is limited to 1024 characters.
462+
&quot;fingerprint&quot;: &quot;A String&quot;, # OSPolicy fingerprint (checksum)
461463
&quot;id&quot;: &quot;A String&quot;, # Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
462464
&quot;mode&quot;: &quot;A String&quot;, # Required. Policy mode
463465
&quot;resourceGroups&quot;: [ # Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
@@ -703,6 +705,7 @@ <h3>Method Details</h3>
703705
{ # An OS policy defines the desired state configuration for a VM.
704706
&quot;allowNoResourceGroupMatch&quot;: True or False, # This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
705707
&quot;description&quot;: &quot;A String&quot;, # Policy description. Length of the description is limited to 1024 characters.
708+
&quot;fingerprint&quot;: &quot;A String&quot;, # OSPolicy fingerprint (checksum)
706709
&quot;id&quot;: &quot;A String&quot;, # Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
707710
&quot;mode&quot;: &quot;A String&quot;, # Required. Policy mode
708711
&quot;resourceGroups&quot;: [ # Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
@@ -950,6 +953,7 @@ <h3>Method Details</h3>
950953
{ # An OS policy defines the desired state configuration for a VM.
951954
&quot;allowNoResourceGroupMatch&quot;: True or False, # This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
952955
&quot;description&quot;: &quot;A String&quot;, # Policy description. Length of the description is limited to 1024 characters.
956+
&quot;fingerprint&quot;: &quot;A String&quot;, # OSPolicy fingerprint (checksum)
953957
&quot;id&quot;: &quot;A String&quot;, # Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
954958
&quot;mode&quot;: &quot;A String&quot;, # Required. Policy mode
955959
&quot;resourceGroups&quot;: [ # Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`
@@ -1215,6 +1219,7 @@ <h3>Method Details</h3>
12151219
{ # An OS policy defines the desired state configuration for a VM.
12161220
&quot;allowNoResourceGroupMatch&quot;: True or False, # This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce.
12171221
&quot;description&quot;: &quot;A String&quot;, # Policy description. Length of the description is limited to 1024 characters.
1222+
&quot;fingerprint&quot;: &quot;A String&quot;, # OSPolicy fingerprint (checksum)
12181223
&quot;id&quot;: &quot;A String&quot;, # Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.
12191224
&quot;mode&quot;: &quot;A String&quot;, # Required. Policy mode
12201225
&quot;resourceGroups&quot;: [ # Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag `allow_no_resource_group_match`

googleapiclient/discovery_cache/documents/osconfig.v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@
10001000
}
10011001
}
10021002
},
1003-
"revision": "20230716",
1003+
"revision": "20230729",
10041004
"rootUrl": "https://osconfig.googleapis.com/",
10051005
"schemas": {
10061006
"AptSettings": {
@@ -1912,6 +1912,10 @@
19121912
"description": "Policy description. Length of the description is limited to 1024 characters.",
19131913
"type": "string"
19141914
},
1915+
"fingerprint": {
1916+
"description": "OSPolicy fingerprint (checksum)",
1917+
"type": "string"
1918+
},
19151919
"id": {
19161920
"description": "Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment.",
19171921
"type": "string"

googleapiclient/discovery_cache/documents/osconfig.v1alpha.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@
687687
}
688688
}
689689
},
690-
"revision": "20230716",
690+
"revision": "20230729",
691691
"rootUrl": "https://osconfig.googleapis.com/",
692692
"schemas": {
693693
"CVSSv3": {

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": "20230716",
692+
"revision": "20230729",
693693
"rootUrl": "https://osconfig.googleapis.com/",
694694
"schemas": {
695695
"AptRepository": {

0 commit comments

Comments
 (0)