Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Google Cloud Platform logo

Open in Cloud Shell

Table of Contents

Before you begin

Before running the samples, make sure you've followed the steps outlined in Using the client library.

cd samples

npm install

cd ..

Samples

Os_config_service.cancel_patch_job

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.cancel_patch_job.js


Os_config_service.create_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.create_patch_deployment.js


Os_config_service.delete_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.delete_patch_deployment.js


Os_config_service.execute_patch_job

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.execute_patch_job.js


Os_config_service.get_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.get_patch_deployment.js


Os_config_service.get_patch_job

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.get_patch_job.js


Os_config_service.list_patch_deployments

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.list_patch_deployments.js


Os_config_service.list_patch_job_instance_details

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.list_patch_job_instance_details.js


Os_config_service.list_patch_jobs

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.list_patch_jobs.js


Os_config_service.pause_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.pause_patch_deployment.js


Os_config_service.resume_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.resume_patch_deployment.js


Os_config_service.update_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_service.update_patch_deployment.js


Os_config_zonal_service.create_o_s_policy_assignment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.create_o_s_policy_assignment.js


Os_config_zonal_service.delete_o_s_policy_assignment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.delete_o_s_policy_assignment.js


Os_config_zonal_service.get_inventory

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.get_inventory.js


Os_config_zonal_service.get_o_s_policy_assignment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.get_o_s_policy_assignment.js


Os_config_zonal_service.get_o_s_policy_assignment_report

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.get_o_s_policy_assignment_report.js


Os_config_zonal_service.get_vulnerability_report

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.get_vulnerability_report.js


Os_config_zonal_service.list_inventories

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.list_inventories.js


Os_config_zonal_service.list_o_s_policy_assignment_reports

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.list_o_s_policy_assignment_reports.js


Os_config_zonal_service.list_o_s_policy_assignment_revisions

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.list_o_s_policy_assignment_revisions.js


Os_config_zonal_service.list_o_s_policy_assignments

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.list_o_s_policy_assignments.js


Os_config_zonal_service.list_vulnerability_reports

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.list_vulnerability_reports.js


Os_config_zonal_service.update_o_s_policy_assignment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1/os_config_zonal_service.update_o_s_policy_assignment.js


Os_config_zonal_service.create_o_s_policy_assignment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.create_o_s_policy_assignment.js


Os_config_zonal_service.delete_o_s_policy_assignment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.delete_o_s_policy_assignment.js


Os_config_zonal_service.get_instance_o_s_policies_compliance

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.get_instance_o_s_policies_compliance.js


Os_config_zonal_service.get_inventory

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.get_inventory.js


Os_config_zonal_service.get_o_s_policy_assignment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.get_o_s_policy_assignment.js


Os_config_zonal_service.get_o_s_policy_assignment_report

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.get_o_s_policy_assignment_report.js


Os_config_zonal_service.get_vulnerability_report

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.get_vulnerability_report.js


Os_config_zonal_service.list_instance_o_s_policies_compliances

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.list_instance_o_s_policies_compliances.js


Os_config_zonal_service.list_inventories

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.list_inventories.js


Os_config_zonal_service.list_o_s_policy_assignment_reports

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.list_o_s_policy_assignment_reports.js


Os_config_zonal_service.list_o_s_policy_assignment_revisions

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.list_o_s_policy_assignment_revisions.js


Os_config_zonal_service.list_o_s_policy_assignments

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.list_o_s_policy_assignments.js


Os_config_zonal_service.list_vulnerability_reports

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.list_vulnerability_reports.js


Os_config_zonal_service.update_o_s_policy_assignment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1alpha/os_config_zonal_service.update_o_s_policy_assignment.js


Os_config_service.cancel_patch_job

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.cancel_patch_job.js


Os_config_service.create_guest_policy

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.create_guest_policy.js


Os_config_service.create_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.create_patch_deployment.js


Os_config_service.delete_guest_policy

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.delete_guest_policy.js


Os_config_service.delete_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.delete_patch_deployment.js


Os_config_service.execute_patch_job

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.execute_patch_job.js


Os_config_service.get_guest_policy

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.get_guest_policy.js


Os_config_service.get_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.get_patch_deployment.js


Os_config_service.get_patch_job

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.get_patch_job.js


Os_config_service.list_guest_policies

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.list_guest_policies.js


Os_config_service.list_patch_deployments

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.list_patch_deployments.js


Os_config_service.list_patch_job_instance_details

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.list_patch_job_instance_details.js


Os_config_service.list_patch_jobs

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.list_patch_jobs.js


Os_config_service.lookup_effective_guest_policy

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.lookup_effective_guest_policy.js


Os_config_service.pause_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.pause_patch_deployment.js


Os_config_service.resume_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.resume_patch_deployment.js


Os_config_service.update_guest_policy

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.update_guest_policy.js


Os_config_service.update_patch_deployment

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/generated/v1beta/os_config_service.update_patch_deployment.js


Quickstart

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-osconfig/samples/quickstart.js