You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/osconfig_v1.projects.locations.instances.inventories.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ <h3>Method Details</h3>
136
136
"hotFixId": "A String", # Unique identifier associated with a particular QFE update.
137
137
"installTime": "A String", # Date that the QFE update was installed. Mapped from installed_on field.
138
138
},
139
-
"windowsApplication": { # Contains information about a Windows application as retrieved from the Windows Registry. For more information about these fields, see [Windows Installer Properties for the Uninstall Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: class="external" } # Details of Windows Application.
139
+
"windowsApplication": { # Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see Windows Installer Properties for the Uninstall Registry. # Details of Windows Application.
140
140
"displayName": "A String", # The name of the application or product.
141
141
"displayVersion": "A String", # The version of the product or application in string format.
142
142
"helpLink": "A String", # The internet address for technical support.
@@ -208,7 +208,7 @@ <h3>Method Details</h3>
208
208
"hotFixId": "A String", # Unique identifier associated with a particular QFE update.
209
209
"installTime": "A String", # Date that the QFE update was installed. Mapped from installed_on field.
210
210
},
211
-
"windowsApplication": { # Contains information about a Windows application as retrieved from the Windows Registry. For more information about these fields, see [Windows Installer Properties for the Uninstall Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: class="external" } # Details of Windows Application.
211
+
"windowsApplication": { # Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see Windows Installer Properties for the Uninstall Registry. # Details of Windows Application.
212
212
"displayName": "A String", # The name of the application or product.
213
213
"displayVersion": "A String", # The version of the product or application in string format.
214
214
"helpLink": "A String", # The internet address for technical support.
@@ -325,7 +325,7 @@ <h3>Method Details</h3>
325
325
"hotFixId": "A String", # Unique identifier associated with a particular QFE update.
326
326
"installTime": "A String", # Date that the QFE update was installed. Mapped from installed_on field.
327
327
},
328
-
"windowsApplication": { # Contains information about a Windows application as retrieved from the Windows Registry. For more information about these fields, see [Windows Installer Properties for the Uninstall Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: class="external" } # Details of Windows Application.
328
+
"windowsApplication": { # Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see Windows Installer Properties for the Uninstall Registry. # Details of Windows Application.
329
329
"displayName": "A String", # The name of the application or product.
330
330
"displayVersion": "A String", # The version of the product or application in string format.
331
331
"helpLink": "A String", # The internet address for technical support.
@@ -397,7 +397,7 @@ <h3>Method Details</h3>
397
397
"hotFixId": "A String", # Unique identifier associated with a particular QFE update.
398
398
"installTime": "A String", # Date that the QFE update was installed. Mapped from installed_on field.
399
399
},
400
-
"windowsApplication": { # Contains information about a Windows application as retrieved from the Windows Registry. For more information about these fields, see [Windows Installer Properties for the Uninstall Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){: class="external" } # Details of Windows Application.
400
+
"windowsApplication": { # Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see Windows Installer Properties for the Uninstall Registry. # Details of Windows Application.
401
401
"displayName": "A String", # The name of the application or product.
402
402
"displayVersion": "A String", # The version of the product or application in string format.
403
403
"helpLink": "A String", # The internet address for technical support.
<pre>Get the OS policy asssignment report for the specified Compute Engine VM instance.
97
+
98
+
Args:
99
+
name: string, Required. API resource name for OS policy assignment report. Format: `/projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/report` For `{project}`, either `project-number` or `project-id` can be provided. For `{instance_id}`, either Compute Engine `instance-id` or `instance-name` can be provided. For `{assignment_id}`, the OSPolicyAssignment id must be provided. (required)
100
+
x__xgafv: string, V1 error format.
101
+
Allowed values
102
+
1 - v1 error format
103
+
2 - v2 error format
104
+
105
+
Returns:
106
+
An object of the form:
107
+
108
+
{ # A report of the OS policy assignment status for a given instance.
109
+
"instance": "A String", # The Compute Engine VM instance name.
110
+
"lastRunId": "A String", # Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
111
+
"name": "A String", # The `OSPolicyAssignmentReport` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report`
112
+
"osPolicyAssignment": "A String", # Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`
113
+
"osPolicyCompliances": [ # Compliance data for each `OSPolicy` that is applied to the VM.
114
+
{ # Compliance data for an OS policy
115
+
"complianceState": "A String", # The compliance state of the OS policy.
116
+
"complianceStateReason": "A String", # The reason for the OS policy to be in an unknown compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. If populated, the field can contain one of the following values: * `vm-not-running`: The VM was not running. * `os-policies-not-supported-by-agent`: The version of the OS Config agent running on the VM does not support running OS policies. * `no-agent-detected`: The OS Config agent is not detected for the VM. * `resource-execution-errors`: The OS Config agent encountered errors while executing one or more resources in the policy. See `os_policy_resource_compliances` for details. * `task-timeout`: The task sent to the agent to apply the policy timed out. * `unexpected-agent-state`: The OS Config agent did not report the final status of the task that attempted to apply the policy. Instead, the agent unexpectedly started working on a different task. This mostly happens when the agent or VM unexpectedly restarts while applying OS policies. * `internal-service-errors`: Internal service errors were encountered while attempting to apply the policy.
117
+
"osPolicyId": "A String", # The OS policy id
118
+
"osPolicyResourceCompliances": [ # Compliance data for each resource within the policy that is applied to the VM.
119
+
{ # Compliance data for an OS policy resource.
120
+
"complianceState": "A String", # The compliance state of the resource.
121
+
"complianceStateReason": "A String", # A reason for the resource to be in the given compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. The following values are supported when `compliance_state == UNKNOWN` * `execution-errors`: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined. * `execution-skipped-by-agent`: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy. * `os-policy-execution-attempt-failed`: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.
122
+
"configSteps": [ # Ordered list of configuration completed by the agent for the OS policy resource.
123
+
{ # Step performed by the OS Config agent for configuring an `OSPolicy` resource to its desired state.
124
+
"errorMessage": "A String", # An error message recorded during the execution of this step. Only populated if errors were encountered during this step execution.
0 commit comments