diff --git a/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java b/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java index 779813c44aa0..d999c42f860e 100644 --- a/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/OsConfigZonalServiceClient.java +++ b/java-os-config/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/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java b/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java index 195a5deb9bd4..1ece1f252220 100644 --- a/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceClient.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java index 193fc06903eb..f541f50331fb 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentProjectnamePatchdeploymentspatchdeploymentString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java index 815c08b966d6..0090264828bc 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/createpatchdeployment/SyncCreatePatchDeploymentStringPatchdeploymentspatchdeploymentString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java index 43f40e4bb143..48adb1fb7051 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java index 689acfb34ec6..6d7abe799f53 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentPatchdeploymentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java index f0598470f22d..0d111a59e5c3 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeploymentString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java index 20aae25d8d17..d76083ab8543 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java index d00293fd743e..e247e106b4a9 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java index b0f03617c1d5..eadbb0512434 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java index a6b01a70deaa..fd223f0f8b64 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java index 0fa8ef79d360..ede37b68924d 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java index 1e9be5cd3367..f3c99ff95866 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java index 0304f6230523..3ed8c00f87d6 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java index 90531eafcacf..a488cbcd7ab7 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java index 0b0b82d84b62..101dd2918d58 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java index 7638d792f28f..767003353480 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java index 35b0b6855557..34908a665383 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java index dda8e0a7c2aa..8040c44d2035 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java index fad41b557797..6e63539021d9 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java index b60bac6651c1..2dd559d5f139 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java index 4fb3d1deaace..b52262e5ae89 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java index a30c74b1f83a..6ca87918dd78 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java index 9e47c4188ba7..9ab6801c3f55 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java index d33ed4432c1f..9c332f7c41ac 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java index f577b1626ff9..2d00bffc367b 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java index 1480ca20a13d..02a2ef2f311d 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentLocationnameOspolicyassignmentString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java index 0aa6db02f5b2..fdd34a5d46c2 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/createospolicyassignment/SyncCreateOSPolicyAssignmentStringOspolicyassignmentString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java index 195092c9b44a..73f4c6e98087 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignment.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java index ba0612c9f904..830ed99a9468 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentOspolicyassignmentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java index ac532038021b..9eb4486834ec 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/deleteospolicyassignment/SyncDeleteOSPolicyAssignmentString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java index 720a618190df..b7fc7c75c70d 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/AsyncGetInstanceOSPoliciesCompliance.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java index 2ff82be0d1e1..a04af61b88d0 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesCompliance.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java index 5e6fc84216f1..bff1cc351fe8 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceInstanceospoliciescompliancename.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java index 54a435e917a4..08148ddef708 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getinstanceospoliciescompliance/SyncGetInstanceOSPoliciesComplianceString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java index bdec1ece1cd0..0aa6dc4f2768 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignment/SyncGetOSPolicyAssignmentOspolicyassignmentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java index 4a99188d8169..3ca283a32b76 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportOspolicyassignmentreportname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java index e135a00d8ef9..0fea7390fa36 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getospolicyassignmentreport/SyncGetOSPolicyAssignmentReportString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java index bdc61ef6206d..2cd0ce711bd9 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/getvulnerabilityreport/SyncGetVulnerabilityReportVulnerabilityreportname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java index 9782806968f0..f5d1822bcb8e 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliances.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java index b609b11df8d2..c13ba87fac05 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/AsyncListInstanceOSPoliciesCompliancesPaged.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java index 04d0f199377d..181dd853032e 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliances.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java index a5df343dc523..3740662e8d69 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesLocationname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java index f96eda9b6575..9eda62d89e9b 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listinstanceospoliciescompliances/SyncListInstanceOSPoliciesCompliancesString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java index dfd34db62b28..09a818b6ff9a 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/AsyncListOSPolicyAssignmentReportsPaged.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java index 3922f6b59e4d..eee8135af73f 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsInstanceospolicyassignmentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java index 05278b799af5..5107710b34ef 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentreports/SyncListOSPolicyAssignmentReportsString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java index 95579738fea5..1a308cc99161 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisions.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java index f6ebaa720c40..1887db8678c7 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/AsyncListOSPolicyAssignmentRevisionsPaged.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java index cca72e6db250..e3866107a014 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisions.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java index 87fa46ef2135..d6b7fca9aade 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsOspolicyassignmentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java index f7cb438397e9..752a45cb9a96 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignmentrevisions/SyncListOSPolicyAssignmentRevisionsString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java index 11618fd403fd..8b57d55c4c83 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listospolicyassignments/SyncListOSPolicyAssignmentsLocationname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java index 0d53509d843c..776310bb84bd 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/AsyncListVulnerabilityReportsPaged.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java index 80562c70fd8e..2342179f1783 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsInstancename.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java index b5de96ba225e..bc924da0ea44 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/listvulnerabilityreports/SyncListVulnerabilityReportsString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java index d92979e3a957..f0e2b61ecab5 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1alpha/osconfigzonalserviceclient/updateospolicyassignment/SyncUpdateOSPolicyAssignmentOspolicyassignmentFieldmask.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java index 62cfb5acfd79..2602868b16bb 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyProjectnameGuestpoliciesguestpolicy.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java index 9658580cb738..f9cce410c72c 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/createguestpolicy/SyncCreateGuestPolicyStringGuestpoliciesguestpolicy.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java index 345c4ccca54b..0573c4ee1635 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicy.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java index 42a094d56393..af7def0a4c12 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyGuestpolicyname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java index f86dd5a4197b..d46e5b908ab3 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deleteguestpolicy/SyncDeleteGuestPolicyString.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java index f0182bada9c7..e4b3dd1b8a3c 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/deletepatchdeployment/SyncDeletePatchDeployment.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java index bf757165ee7e..b51f99926274 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/pausepatchdeployment/SyncPausePatchDeploymentPatchdeploymentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java index ffe955464a51..6d5d2487a18c 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/resumepatchdeployment/SyncResumePatchDeploymentPatchdeploymentname.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java index 3fb6a96041c0..43d1946c953f 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updateguestpolicy/SyncUpdateGuestPolicyGuestpoliciesguestpolicyFieldmask.java +++ b/java-os-config/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/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java b/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java index 1645e5c80cc4..083d297d514f 100644 --- a/java-os-config/samples/snippets/generated/com/google/cloud/osconfig/v1beta/osconfigserviceclient/updatepatchdeployment/SyncUpdatePatchDeploymentPatchdeploymentspatchdeploymentFieldmask.java +++ b/java-os-config/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]