diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java index 779813c4..d999c42f 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -197,6 +198,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java index 195a5deb..1ece1f25 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java @@ -199,6 +199,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java index 193fc069..f541f503 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_projectnamepatchdeploymentspatchdeploymentstring_sync] +// [START osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_projectnamepatchdeploymentspatchdeploymentstring_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeployments; import com.google.cloud.osconfig.v1.ProjectName; @@ -42,5 +41,4 @@ public static void syncCreatePatchDeploymentProjectnamePatchdeploymentspatchdepl } } } -// [END -// osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_projectnamepatchdeploymentspatchdeploymentstring_sync] +// [END osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_projectnamepatchdeploymentspatchdeploymentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java index 815c08b9..00902648 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_stringpatchdeploymentspatchdeploymentstring_sync] +// [START osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_stringpatchdeploymentspatchdeploymentstring_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeployments; import com.google.cloud.osconfig.v1.ProjectName; @@ -42,5 +41,4 @@ public static void syncCreatePatchDeploymentStringPatchdeploymentspatchdeploymen } } } -// [END -// osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_stringpatchdeploymentspatchdeploymentstring_sync] +// [END osconfig_v1_generated_osconfigserviceclient_createpatchdeployment_stringpatchdeploymentspatchdeploymentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java index 43f40e4b..48adb1fb 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java @@ -20,6 +20,7 @@ import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeploymentName; import com.google.cloud.osconfig.v1.PatchDeployments; +import com.google.protobuf.Empty; public class SyncDeletePatchDeployment { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java index 689acfb3..6d7abe79 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java @@ -16,10 +16,10 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigserviceclient_deletepatchdeployment_patchdeploymentname_sync] +// [START osconfig_v1_generated_osconfigserviceclient_deletepatchdeployment_patchdeploymentname_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeploymentName; +import com.google.protobuf.Empty; public class SyncDeletePatchDeploymentPatchdeploymentname { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java index f0598470..0d111a59 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java @@ -19,6 +19,7 @@ // [START osconfig_v1_generated_osconfigserviceclient_deletepatchdeployment_string_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeploymentName; +import com.google.protobuf.Empty; public class SyncDeletePatchDeploymentString { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java index 20aae25d..d76083ab 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync] +// [START osconfig_v1_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeploymentName; import com.google.cloud.osconfig.v1.PatchDeployments; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java index d00293fd..e247e106 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] +// [START osconfig_v1_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] import com.google.cloud.osconfig.v1.OsConfigServiceClient; import com.google.cloud.osconfig.v1.PatchDeployments; import com.google.protobuf.FieldMask; @@ -41,5 +40,4 @@ public static void syncUpdatePatchDeploymentPatchdeploymentspatchdeploymentField } } } -// [END -// osconfig_v1_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] +// [END osconfig_v1_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java index b0f03617..eadbb051 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] import com.google.cloud.osconfig.v1.LocationName; import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -44,5 +43,4 @@ public static void syncCreateOSPolicyAssignmentLocationnameOspolicyassignmentStr } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java index a6b01a70..fd223f0f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] import com.google.cloud.osconfig.v1.LocationName; import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -43,5 +42,4 @@ public static void syncCreateOSPolicyAssignmentStringOspolicyassignmentString() } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java index 0fa8ef79..ede37b68 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java @@ -20,6 +20,7 @@ import com.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest; import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignment { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java index 1e9be5cd..f3c99ff9 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java @@ -16,10 +16,10 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignmentOspolicyassignmentname { @@ -38,5 +38,4 @@ public static void syncDeleteOSPolicyAssignmentOspolicyassignmentname() throws E } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java index 0304f623..3ed8c00f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java @@ -19,6 +19,7 @@ // [START osconfig_v1_generated_osconfigzonalserviceclient_deleteospolicyassignment_string_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignmentString { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java index 90531eaf..a488cbcd 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -39,5 +38,4 @@ public static void syncGetOSPolicyAssignmentOspolicyassignmentname() throws Exce } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java index 0b0b82d8..101dd291 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1.OSPolicyAssignmentReportName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncGetOSPolicyAssignmentReportOspolicyassignmentreportname() } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java index 7638d792..76700335 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; import com.google.cloud.osconfig.v1.VulnerabilityReport; import com.google.cloud.osconfig.v1.VulnerabilityReportName; @@ -39,5 +38,4 @@ public static void syncGetVulnerabilityReportVulnerabilityreportname() throws Ex } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java index 35b0b685..34908a66 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] import com.google.cloud.osconfig.v1.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest; import com.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java index dda8e0a7..8040c44d 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] import com.google.cloud.osconfig.v1.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -44,5 +43,4 @@ public static void syncListOSPolicyAssignmentReportsInstanceospolicyassignmentna } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java index fad41b55..6e635390 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] import com.google.cloud.osconfig.v1.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java index b60bac66..2dd559d5 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] import com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest; import com.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse; import com.google.cloud.osconfig.v1.OSPolicyAssignment; @@ -60,5 +59,4 @@ public static void asyncListOSPolicyAssignmentRevisionsPaged() throws Exception } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] +// [END osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java index 4fb3d1de..b52262e5 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -42,5 +41,4 @@ public static void syncListOSPolicyAssignmentRevisionsOspolicyassignmentname() t } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java index a30c74b1..6ca87918 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; @@ -42,5 +41,4 @@ public static void syncListOSPolicyAssignmentRevisionsString() throws Exception } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java index 9e47c418..9ab6801c 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] import com.google.cloud.osconfig.v1.LocationName; import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java index d33ed443..9c332f7c 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] import com.google.cloud.osconfig.v1.InstanceName; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; import com.google.cloud.osconfig.v1.VulnerabilityReport; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java index f577b162..2d00bffc 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1.samples; -// [START -// osconfig_v1_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] +// [START osconfig_v1_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] import com.google.cloud.osconfig.v1.OSPolicyAssignment; import com.google.cloud.osconfig.v1.OsConfigZonalServiceClient; import com.google.protobuf.FieldMask; @@ -42,5 +41,4 @@ public static void syncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask() thr } } } -// [END -// osconfig_v1_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] +// [END osconfig_v1_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java index 1480ca20..02a2ef2f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] import com.google.cloud.osconfig.v1alpha.LocationName; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -44,5 +43,4 @@ public static void syncCreateOSPolicyAssignmentLocationnameOspolicyassignmentStr } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_locationnameospolicyassignmentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java index 0aa6db02..fdd34a5d 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] import com.google.cloud.osconfig.v1alpha.LocationName; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -43,5 +42,4 @@ public static void syncCreateOSPolicyAssignmentStringOspolicyassignmentString() } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_createospolicyassignment_stringospolicyassignmentstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java index 195092c9..73f4c6e9 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java @@ -20,6 +20,7 @@ import com.google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignment { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java index ba0612c9..830ed99a 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java @@ -16,10 +16,10 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignmentOspolicyassignmentname { @@ -38,5 +38,4 @@ public static void syncDeleteOSPolicyAssignmentOspolicyassignmentname() throws E } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java index ac532038..9eb44868 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java @@ -16,10 +16,10 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_deleteospolicyassignment_string_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteOSPolicyAssignmentString { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java index 720a6181..b7fc7c75 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_async] import com.google.api.core.ApiFuture; import com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java index 2ff82be0..a04af61b 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_sync] import com.google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceName; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java index 5e6fc842..bff1cc35 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_instanceospoliciescompliancename_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_instanceospoliciescompliancename_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncGetInstanceOSPoliciesComplianceInstanceospoliciescomplian } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_instanceospoliciescompliancename_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_instanceospoliciescompliancename_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java index 54a435e9..08148dde 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_string_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesComplianceName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -40,5 +39,4 @@ public static void syncGetInstanceOSPoliciesComplianceString() throws Exception } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_string_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getinstanceospoliciescompliance_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java index bdec1ece..0aa6dc4f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -39,5 +38,4 @@ public static void syncGetOSPolicyAssignmentOspolicyassignmentname() throws Exce } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignment_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java index 4a99188d..3ca283a3 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncGetOSPolicyAssignmentReportOspolicyassignmentreportname() } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_ospolicyassignmentreportname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java index e135a00d..0fea7390 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_string_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReportName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncGetOSPolicyAssignmentReportString() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_string_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getospolicyassignmentreport_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java index bdc61ef6..2cd0ce71 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; import com.google.cloud.osconfig.v1alpha.VulnerabilityReport; import com.google.cloud.osconfig.v1alpha.VulnerabilityReportName; @@ -39,5 +38,4 @@ public static void syncGetVulnerabilityReportVulnerabilityreportname() throws Ex } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_getvulnerabilityreport_vulnerabilityreportname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java index 97828069..f5d1822b 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_async] import com.google.api.core.ApiFuture; import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest; @@ -53,5 +52,4 @@ public static void asyncListInstanceOSPoliciesCompliances() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_async] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_async] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java index b609b11d..c13ba87f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_paged_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_paged_async] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest; import com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse; @@ -60,5 +59,4 @@ public static void asyncListInstanceOSPoliciesCompliancesPaged() throws Exceptio } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_paged_async] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java index 04d0f199..181dd853 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest; import com.google.cloud.osconfig.v1alpha.LocationName; @@ -48,5 +47,4 @@ public static void syncListInstanceOSPoliciesCompliances() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java index a5df343d..3740662e 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_locationname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_locationname_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.LocationName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncListInstanceOSPoliciesCompliancesLocationname() throws Ex } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_locationname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_locationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java index f96eda9b..9eda62d8 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_string_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance; import com.google.cloud.osconfig.v1alpha.LocationName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncListInstanceOSPoliciesCompliancesString() throws Exceptio } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_string_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listinstanceospoliciescompliances_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java index dfd34db6..09a818b6 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] import com.google.cloud.osconfig.v1alpha.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsRequest; import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentReportsResponse; @@ -62,5 +61,4 @@ public static void asyncListOSPolicyAssignmentReportsPaged() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java index 3922f6b5..eee8135a 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -44,5 +43,4 @@ public static void syncListOSPolicyAssignmentReportsInstanceospolicyassignmentna } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_instanceospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java index 05278b79..5107710b 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] import com.google.cloud.osconfig.v1alpha.InstanceOSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -43,5 +42,4 @@ public static void syncListOSPolicyAssignmentReportsString() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentreports_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java index 95579738..1a308cc9 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_async] import com.google.api.core.ApiFuture; import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java index f6ebaa72..1887db86 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest; import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; @@ -60,5 +59,4 @@ public static void asyncListOSPolicyAssignmentRevisionsPaged() throws Exception } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java index cca72e6d..e3866107 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_sync] import com.google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java index 87fa46ef..d6b7fca9 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -42,5 +41,4 @@ public static void syncListOSPolicyAssignmentRevisionsOspolicyassignmentname() t } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_ospolicyassignmentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java index f7cb4383..752a45cb 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -42,5 +41,4 @@ public static void syncListOSPolicyAssignmentRevisionsString() throws Exception } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignmentrevisions_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java index 11618fd4..8b57d55c 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] import com.google.cloud.osconfig.v1alpha.LocationName; import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; @@ -41,5 +40,4 @@ public static void syncListOSPolicyAssignmentsLocationname() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listospolicyassignments_locationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java index 0d53509d..776310bb 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_paged_async] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_paged_async] import com.google.cloud.osconfig.v1alpha.InstanceName; import com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest; import com.google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java index 80562c70..2342179f 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] import com.google.cloud.osconfig.v1alpha.InstanceName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; import com.google.cloud.osconfig.v1alpha.VulnerabilityReport; @@ -41,5 +40,4 @@ public static void syncListVulnerabilityReportsInstancename() throws Exception { } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_instancename_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java index b5de96ba..bc924da0 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_string_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_listvulnerabilityreports_string_sync] import com.google.cloud.osconfig.v1alpha.InstanceName; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; import com.google.cloud.osconfig.v1alpha.VulnerabilityReport; diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java index d92979e3..f0e2b61e 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1alpha.samples; -// [START -// osconfig_v1alpha_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] +// [START osconfig_v1alpha_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] import com.google.cloud.osconfig.v1alpha.OSPolicyAssignment; import com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClient; import com.google.protobuf.FieldMask; @@ -42,5 +41,4 @@ public static void syncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask() thr } } } -// [END -// osconfig_v1alpha_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] +// [END osconfig_v1alpha_generated_osconfigzonalserviceclient_updateospolicyassignment_ospolicyassignmentfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java index 62cfb5ac..2602868b 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1beta.samples; -// [START -// osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_projectnameguestpoliciesguestpolicy_sync] +// [START osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_projectnameguestpoliciesguestpolicy_sync] import com.google.cloud.osconfig.v1beta.GuestPolicies; import com.google.cloud.osconfig.v1beta.OsConfigServiceClient; import com.google.cloud.osconfig.v1beta.ProjectName; @@ -39,5 +38,4 @@ public static void syncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy() th } } } -// [END -// osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_projectnameguestpoliciesguestpolicy_sync] +// [END osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_projectnameguestpoliciesguestpolicy_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java index 9658580c..f9cce410 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1beta.samples; -// [START -// osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_stringguestpoliciesguestpolicy_sync] +// [START osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_stringguestpoliciesguestpolicy_sync] import com.google.cloud.osconfig.v1beta.GuestPolicies; import com.google.cloud.osconfig.v1beta.OsConfigServiceClient; import com.google.cloud.osconfig.v1beta.ProjectName; @@ -39,5 +38,4 @@ public static void syncCreateGuestPolicyStringGuestpoliciesguestpolicy() throws } } } -// [END -// osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_stringguestpoliciesguestpolicy_sync] +// [END osconfig_v1beta_generated_osconfigserviceclient_createguestpolicy_stringguestpoliciesguestpolicy_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java index 345c4ccc..0573c4ee 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java @@ -20,6 +20,7 @@ import com.google.cloud.osconfig.v1beta.GuestPolicies; import com.google.cloud.osconfig.v1beta.GuestPolicyName; import com.google.cloud.osconfig.v1beta.OsConfigServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteGuestPolicy { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java index 42a094d5..af7def0a 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java @@ -19,6 +19,7 @@ // [START osconfig_v1beta_generated_osconfigserviceclient_deleteguestpolicy_guestpolicyname_sync] import com.google.cloud.osconfig.v1beta.GuestPolicyName; import com.google.cloud.osconfig.v1beta.OsConfigServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteGuestPolicyGuestpolicyname { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java index f86dd5a4..d46e5b90 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java @@ -19,6 +19,7 @@ // [START osconfig_v1beta_generated_osconfigserviceclient_deleteguestpolicy_string_sync] import com.google.cloud.osconfig.v1beta.GuestPolicyName; import com.google.cloud.osconfig.v1beta.OsConfigServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteGuestPolicyString { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java index f0182bad..e4b3dd1b 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java @@ -19,6 +19,7 @@ // [START osconfig_v1beta_generated_osconfigserviceclient_deletepatchdeployment_sync] import com.google.cloud.osconfig.v1beta.OsConfigServiceClient; import com.google.cloud.osconfig.v1beta.PatchDeployments; +import com.google.protobuf.Empty; public class SyncDeletePatchDeployment { diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java index bf757165..b51f9992 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1beta.samples; -// [START -// osconfig_v1beta_generated_osconfigserviceclient_pausepatchdeployment_patchdeploymentname_sync] +// [START osconfig_v1beta_generated_osconfigserviceclient_pausepatchdeployment_patchdeploymentname_sync] import com.google.cloud.osconfig.v1beta.OsConfigServiceClient; import com.google.cloud.osconfig.v1beta.PatchDeploymentName; import com.google.cloud.osconfig.v1beta.PatchDeployments; @@ -37,5 +36,4 @@ public static void syncPausePatchDeploymentPatchdeploymentname() throws Exceptio } } } -// [END -// osconfig_v1beta_generated_osconfigserviceclient_pausepatchdeployment_patchdeploymentname_sync] +// [END osconfig_v1beta_generated_osconfigserviceclient_pausepatchdeployment_patchdeploymentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java index ffe95546..6d5d2487 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1beta.samples; -// [START -// osconfig_v1beta_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync] +// [START osconfig_v1beta_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync] import com.google.cloud.osconfig.v1beta.OsConfigServiceClient; import com.google.cloud.osconfig.v1beta.PatchDeploymentName; import com.google.cloud.osconfig.v1beta.PatchDeployments; @@ -37,5 +36,4 @@ public static void syncResumePatchDeploymentPatchdeploymentname() throws Excepti } } } -// [END -// osconfig_v1beta_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync] +// [END osconfig_v1beta_generated_osconfigserviceclient_resumepatchdeployment_patchdeploymentname_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java index 3fb6a960..43d1946c 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1beta.samples; -// [START -// osconfig_v1beta_generated_osconfigserviceclient_updateguestpolicy_guestpoliciesguestpolicyfieldmask_sync] +// [START osconfig_v1beta_generated_osconfigserviceclient_updateguestpolicy_guestpoliciesguestpolicyfieldmask_sync] import com.google.cloud.osconfig.v1beta.GuestPolicies; import com.google.cloud.osconfig.v1beta.OsConfigServiceClient; import com.google.protobuf.FieldMask; @@ -39,5 +38,4 @@ public static void syncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask() thro } } } -// [END -// osconfig_v1beta_generated_osconfigserviceclient_updateguestpolicy_guestpoliciesguestpolicyfieldmask_sync] +// [END osconfig_v1beta_generated_osconfigserviceclient_updateguestpolicy_guestpoliciesguestpolicyfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java index 1645e5c8..083d297d 100644 --- a/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java +++ b/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.osconfig.v1beta.samples; -// [START -// osconfig_v1beta_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] +// [START osconfig_v1beta_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] import com.google.cloud.osconfig.v1beta.OsConfigServiceClient; import com.google.cloud.osconfig.v1beta.PatchDeployments; import com.google.protobuf.FieldMask; @@ -41,5 +40,4 @@ public static void syncUpdatePatchDeploymentPatchdeploymentspatchdeploymentField } } } -// [END -// osconfig_v1beta_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync] +// [END osconfig_v1beta_generated_osconfigserviceclient_updatepatchdeployment_patchdeploymentspatchdeploymentfieldmask_sync]