Skip to content

Commit c541143

Browse files
feat(osconfig): update the api
#### osconfig:v1alpha The following keys were added: - schemas.OSPolicyResourceCompliance.properties.execResourceOutput.$ref (Total Keys: 1) - schemas.OSPolicyResourceComplianceExecResourceOutput (Total Keys: 4) - schemas.OSPolicyResourceExecResourceExec.properties.outputFilePath.type (Total Keys: 1)
1 parent 447b804 commit c541143

7 files changed

+117
-81
lines changed

docs/dyn/osconfig_v1alpha.projects.locations.instanceOSPoliciesCompliances.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ <h3>Method Details</h3>
106106
Returns:
107107
An object of the form:
108108

109-
{ # 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](/compute/docs/os-configuration-management/view-compliance).
109+
{ # 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).
110110
&quot;detailedState&quot;: &quot;A String&quot;, # Output only. Detailed compliance state of the VM. This field is populated only when compliance state is `UNKNOWN`. It may contain one of the following values: * `no-compliance-data`: Compliance data is not available for this VM. * `no-agent-detected`: OS Config agent is not detected for this VM. * `config-not-supported-by-agent`: The version of the OS Config agent running on this VM does not support configuration management. * `inactive`: VM is not running. * `internal-service-errors`: There were internal service errors encountered while enforcing compliance. * `agent-errors`: OS config agent encountered errors while enforcing compliance.
111111
&quot;detailedStateReason&quot;: &quot;A String&quot;, # Output only. The reason for the `detailed_state` of the VM (if any).
112112
&quot;instance&quot;: &quot;A String&quot;, # Output only. The Compute Engine VM instance name.
@@ -125,6 +125,9 @@ <h3>Method Details</h3>
125125
&quot;type&quot;: &quot;A String&quot;, # Configuration step type.
126126
},
127127
],
128+
&quot;execResourceOutput&quot;: { # ExecResource specific output. # ExecResource specific output.
129+
&quot;enforcementOutput&quot;: &quot;A String&quot;, # Output from Enforcement phase output file (if run). Output size is limited to 100K bytes.
130+
},
128131
&quot;osPolicyResourceId&quot;: &quot;A String&quot;, # The id of the OS policy resource.
129132
&quot;state&quot;: &quot;A String&quot;, # Compliance state of the OS policy resource.
130133
},
@@ -155,7 +158,7 @@ <h3>Method Details</h3>
155158

156159
{ # A response message for listing OS policies compliance data for all Compute Engine VMs in the given location.
157160
&quot;instanceOsPoliciesCompliances&quot;: [ # List of instance OS policies compliance objects.
158-
{ # 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](/compute/docs/os-configuration-management/view-compliance).
161+
{ # 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).
159162
&quot;detailedState&quot;: &quot;A String&quot;, # Output only. Detailed compliance state of the VM. This field is populated only when compliance state is `UNKNOWN`. It may contain one of the following values: * `no-compliance-data`: Compliance data is not available for this VM. * `no-agent-detected`: OS Config agent is not detected for this VM. * `config-not-supported-by-agent`: The version of the OS Config agent running on this VM does not support configuration management. * `inactive`: VM is not running. * `internal-service-errors`: There were internal service errors encountered while enforcing compliance. * `agent-errors`: OS config agent encountered errors while enforcing compliance.
160163
&quot;detailedStateReason&quot;: &quot;A String&quot;, # Output only. The reason for the `detailed_state` of the VM (if any).
161164
&quot;instance&quot;: &quot;A String&quot;, # Output only. The Compute Engine VM instance name.
@@ -174,6 +177,9 @@ <h3>Method Details</h3>
174177
&quot;type&quot;: &quot;A String&quot;, # Configuration step type.
175178
},
176179
],
180+
&quot;execResourceOutput&quot;: { # ExecResource specific output. # ExecResource specific output.
181+
&quot;enforcementOutput&quot;: &quot;A String&quot;, # Output from Enforcement phase output file (if run). Output size is limited to 100K bytes.
182+
},
177183
&quot;osPolicyResourceId&quot;: &quot;A String&quot;, # The id of the OS policy resource.
178184
&quot;state&quot;: &quot;A String&quot;, # Compliance state of the OS policy resource.
179185
},

docs/dyn/osconfig_v1alpha.projects.locations.instances.inventories.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h3>Method Details</h3>
111111
Returns:
112112
An object of the form:
113113

114-
{ # This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time. You can use this API resource to determine the inventory data of your VM. For more information, see [Information provided by OS inventory management](/compute/docs/instances/os-inventory-management#data-collected).
114+
{ # This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time. You can use this API resource to determine the inventory data of your VM. For more information, see [Information provided by OS inventory management](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected).
115115
&quot;items&quot;: { # Output only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.
116116
&quot;a_key&quot;: { # A single piece of inventory on a VM.
117117
&quot;availablePackage&quot;: { # Software package information of the operating system. # Software package available to be installed on the VM instance.
@@ -278,7 +278,7 @@ <h3>Method Details</h3>
278278

279279
{ # A response message for listing inventory data for all VMs in a specified location.
280280
&quot;inventories&quot;: [ # List of inventory objects.
281-
{ # This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time. You can use this API resource to determine the inventory data of your VM. For more information, see [Information provided by OS inventory management](/compute/docs/instances/os-inventory-management#data-collected).
281+
{ # This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time. You can use this API resource to determine the inventory data of your VM. For more information, see [Information provided by OS inventory management](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected).
282282
&quot;items&quot;: { # Output only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.
283283
&quot;a_key&quot;: { # A single piece of inventory on a VM.
284284
&quot;availablePackage&quot;: { # Software package information of the operating system. # Software package available to be installed on the VM instance.

docs/dyn/osconfig_v1alpha.projects.locations.instances.vulnerabilityReports.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ <h3>Method Details</h3>
106106
Returns:
107107
An object of the form:
108108

109-
{ # This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time. For more information, see [Vulnerability reports](/compute/docs/instances/os-inventory-management#vulnerability-reports).
109+
{ # This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time. For more information, see [Vulnerability reports](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports).
110110
&quot;name&quot;: &quot;A String&quot;, # Output only. The `vulnerabilityReport` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport`
111111
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the last vulnerability report was generated for the VM.
112112
&quot;vulnerabilities&quot;: [ # Output only. List of vulnerabilities affecting the VM.
@@ -168,7 +168,7 @@ <h3>Method Details</h3>
168168
{ # A response message for listing vulnerability reports for all VM instances in the specified location.
169169
&quot;nextPageToken&quot;: &quot;A String&quot;, # The pagination token to retrieve the next page of vulnerabilityReports object.
170170
&quot;vulnerabilityReports&quot;: [ # List of vulnerabilityReport objects.
171-
{ # This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time. For more information, see [Vulnerability reports](/compute/docs/instances/os-inventory-management#vulnerability-reports).
171+
{ # This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time. For more information, see [Vulnerability reports](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports).
172172
&quot;name&quot;: &quot;A String&quot;, # Output only. The `vulnerabilityReport` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport`
173173
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the last vulnerability report was generated for the VM.
174174
&quot;vulnerabilities&quot;: [ # Output only. List of vulnerabilities affecting the VM.

0 commit comments

Comments
 (0)