Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ async def sample_execute_patch_job():
Args:
request (Optional[Union[google.cloud.osconfig_v1.types.ExecutePatchJobRequest, dict]]):
The request object. A request message to initiate
patching across Compute Engine instances.
patching across Compute Engine
instances.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -358,8 +359,8 @@ async def sample_get_patch_job():

Args:
request (Optional[Union[google.cloud.osconfig_v1.types.GetPatchJobRequest, dict]]):
The request object. Request to get an active or
completed patch job.
The request object. Request to get an active or completed
patch job.
name (:class:`str`):
Required. Name of the patch in the form
``projects/*/patchJobs/*``
Expand Down Expand Up @@ -1363,8 +1364,8 @@ async def sample_pause_patch_deployment():

Args:
request (Optional[Union[google.cloud.osconfig_v1.types.PausePatchDeploymentRequest, dict]]):
The request object. A request message for pausing a
patch deployment.
The request object. A request message for pausing a patch
deployment.
name (:class:`str`):
Required. The resource name of the patch deployment in
the form ``projects/*/patchDeployments/*``.
Expand Down
11 changes: 6 additions & 5 deletions google/cloud/osconfig_v1/services/os_config_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@ def sample_execute_patch_job():
Args:
request (Union[google.cloud.osconfig_v1.types.ExecutePatchJobRequest, dict]):
The request object. A request message to initiate
patching across Compute Engine instances.
patching across Compute Engine
instances.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -619,8 +620,8 @@ def sample_get_patch_job():

Args:
request (Union[google.cloud.osconfig_v1.types.GetPatchJobRequest, dict]):
The request object. Request to get an active or
completed patch job.
The request object. Request to get an active or completed
patch job.
name (str):
Required. Name of the patch in the form
``projects/*/patchJobs/*``
Expand Down Expand Up @@ -1627,8 +1628,8 @@ def sample_pause_patch_deployment():

Args:
request (Union[google.cloud.osconfig_v1.types.PausePatchDeploymentRequest, dict]):
The request object. A request message for pausing a
patch deployment.
The request object. A request message for pausing a patch
deployment.
name (str):
Required. The resource name of the patch deployment in
the form ``projects/*/patchDeployments/*``.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,6 @@ def __call__(
request (~.patch_deployments.CreatePatchDeploymentRequest):
The request object. A request message for creating a
patch deployment.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -782,7 +781,6 @@ def __call__(
request (~.patch_deployments.DeletePatchDeploymentRequest):
The request object. A request message for deleting a
patch deployment.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -861,7 +859,6 @@ def __call__(
The request object. A request message to initiate
patching across Compute Engine
instances.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -970,7 +967,6 @@ def __call__(
request (~.patch_deployments.GetPatchDeploymentRequest):
The request object. A request message for retrieving a
patch deployment.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1066,7 +1062,6 @@ def __call__(
request (~.patch_jobs.GetPatchJobRequest):
The request object. Request to get an active or completed
patch job.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1164,7 +1159,6 @@ def __call__(
request (~.patch_deployments.ListPatchDeploymentsRequest):
The request object. A request message for listing patch
deployments.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1257,7 +1251,6 @@ def __call__(
request (~.patch_jobs.ListPatchJobInstanceDetailsRequest):
The request object. Request to list details for all
instances that are part of a patch job.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1349,7 +1342,6 @@ def __call__(
request (~.patch_jobs.ListPatchJobsRequest):
The request object. A request message for listing patch
jobs.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1439,7 +1431,6 @@ def __call__(
request (~.patch_deployments.PausePatchDeploymentRequest):
The request object. A request message for pausing a patch
deployment.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1544,7 +1535,6 @@ def __call__(
request (~.patch_deployments.ResumePatchDeploymentRequest):
The request object. A request message for resuming a
patch deployment.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1649,7 +1639,6 @@ def __call__(
request (~.patch_deployments.UpdatePatchDeploymentRequest):
The request object. A request message for updating a
patch deployment.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,8 @@ async def sample_get_os_policy_assignment():

Args:
request (Optional[Union[google.cloud.osconfig_v1.types.GetOSPolicyAssignmentRequest, dict]]):
The request object. A request message to get an OS
policy assignment
The request object. A request message to get an OS policy
assignment
name (:class:`str`):
Required. The resource name of OS policy assignment.

Expand Down Expand Up @@ -1249,8 +1249,8 @@ async def sample_list_os_policy_assignment_reports():

Args:
request (Optional[Union[google.cloud.osconfig_v1.types.ListOSPolicyAssignmentReportsRequest, dict]]):
The request object. List the OS policy assignment
reports for VM instances.
The request object. List the OS policy assignment reports
for VM instances.
parent (:class:`str`):
Required. The parent resource name.

Expand Down Expand Up @@ -1511,7 +1511,8 @@ async def sample_list_inventories():
Args:
request (Optional[Union[google.cloud.osconfig_v1.types.ListInventoriesRequest, dict]]):
The request object. A request message for listing
inventory data for all VMs in the specified location.
inventory data for all VMs in the
specified location.
parent (:class:`str`):
Required. The parent resource name.

Expand Down Expand Up @@ -1635,7 +1636,8 @@ async def sample_get_vulnerability_report():
Args:
request (Optional[Union[google.cloud.osconfig_v1.types.GetVulnerabilityReportRequest, dict]]):
The request object. A request message for getting the
vulnerability report for the specified VM.
vulnerability report for the specified
VM.
name (:class:`str`):
Required. API resource name for vulnerability resource.

Expand Down Expand Up @@ -1752,8 +1754,8 @@ async def sample_list_vulnerability_reports():
Args:
request (Optional[Union[google.cloud.osconfig_v1.types.ListVulnerabilityReportsRequest, dict]]):
The request object. A request message for listing
vulnerability reports for all VM instances in the
specified location.
vulnerability reports for all VM
instances in the specified location.
parent (:class:`str`):
Required. The parent resource name.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -962,8 +962,8 @@ def sample_get_os_policy_assignment():

Args:
request (Union[google.cloud.osconfig_v1.types.GetOSPolicyAssignmentRequest, dict]):
The request object. A request message to get an OS
policy assignment
The request object. A request message to get an OS policy
assignment
name (str):
Required. The resource name of OS policy assignment.

Expand Down Expand Up @@ -1591,8 +1591,8 @@ def sample_list_os_policy_assignment_reports():

Args:
request (Union[google.cloud.osconfig_v1.types.ListOSPolicyAssignmentReportsRequest, dict]):
The request object. List the OS policy assignment
reports for VM instances.
The request object. List the OS policy assignment reports
for VM instances.
parent (str):
Required. The parent resource name.

Expand Down Expand Up @@ -1857,7 +1857,8 @@ def sample_list_inventories():
Args:
request (Union[google.cloud.osconfig_v1.types.ListInventoriesRequest, dict]):
The request object. A request message for listing
inventory data for all VMs in the specified location.
inventory data for all VMs in the
specified location.
parent (str):
Required. The parent resource name.

Expand Down Expand Up @@ -1981,7 +1982,8 @@ def sample_get_vulnerability_report():
Args:
request (Union[google.cloud.osconfig_v1.types.GetVulnerabilityReportRequest, dict]):
The request object. A request message for getting the
vulnerability report for the specified VM.
vulnerability report for the specified
VM.
name (str):
Required. API resource name for vulnerability resource.

Expand Down Expand Up @@ -2098,8 +2100,8 @@ def sample_list_vulnerability_reports():
Args:
request (Union[google.cloud.osconfig_v1.types.ListVulnerabilityReportsRequest, dict]):
The request object. A request message for listing
vulnerability reports for all VM instances in the
specified location.
vulnerability reports for all VM
instances in the specified location.
parent (str):
Required. The parent resource name.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,6 @@ def __call__(
request (~.os_policy_assignments.CreateOSPolicyAssignmentRequest):
The request object. A request message to create an OS
policy assignment

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -750,7 +749,6 @@ def __call__(
request (~.os_policy_assignments.DeleteOSPolicyAssignmentRequest):
The request object. A request message for deleting a OS
policy assignment.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -843,7 +841,6 @@ def __call__(
request (~.inventory.GetInventoryRequest):
The request object. A request message for getting
inventory data for the specified VM.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -941,7 +938,6 @@ def __call__(
request (~.os_policy_assignments.GetOSPolicyAssignmentRequest):
The request object. A request message to get an OS policy
assignment

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1044,7 +1040,6 @@ def __call__(
request (~.os_policy_assignment_reports.GetOSPolicyAssignmentReportRequest):
The request object. Get a report of the OS policy
assignment for a VM instance.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1141,7 +1136,6 @@ def __call__(
The request object. A request message for getting the
vulnerability report for the specified
VM.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1238,7 +1232,6 @@ def __call__(
The request object. A request message for listing
inventory data for all VMs in the
specified location.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1332,7 +1325,6 @@ def __call__(
request (~.os_policy_assignment_reports.ListOSPolicyAssignmentReportsRequest):
The request object. List the OS policy assignment reports
for VM instances.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1434,7 +1426,6 @@ def __call__(
request (~.os_policy_assignments.ListOSPolicyAssignmentRevisionsRequest):
The request object. A request message to list revisions
for a OS policy assignment

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1534,7 +1525,6 @@ def __call__(
request (~.os_policy_assignments.ListOSPolicyAssignmentsRequest):
The request object. A request message to list OS policy
assignments for a parent resource

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1630,7 +1620,6 @@ def __call__(
The request object. A request message for listing
vulnerability reports for all VM
instances in the specified location.

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1724,7 +1713,6 @@ def __call__(
request (~.os_policy_assignments.UpdateOSPolicyAssignmentRequest):
The request object. A request message to update an OS
policy assignment

retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Loading