@@ -445,22 +445,22 @@ public List setName(java.lang.String name) {
445445 }
446446
447447 /**
448- * Optional. A list of extra location types that should be used as conditions for
449- * controlling the visibility of the locations .
448+ * Optional. Do not use this field. It is unsupported and is ignored unless explicitly
449+ * documented otherwise. This is primarily for internal usage .
450450 */
451451 @ com .google .api .client .util .Key
452452 private java .util .List <java .lang .String > extraLocationTypes ;
453453
454- /** Optional. A list of extra location types that should be used as conditions for controlling the
455- visibility of the locations .
454+ /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented
455+ otherwise. This is primarily for internal usage .
456456 */
457457 public java .util .List <java .lang .String > getExtraLocationTypes () {
458458 return extraLocationTypes ;
459459 }
460460
461461 /**
462- * Optional. A list of extra location types that should be used as conditions for
463- * controlling the visibility of the locations .
462+ * Optional. Do not use this field. It is unsupported and is ignored unless explicitly
463+ * documented otherwise. This is primarily for internal usage .
464464 */
465465 public List setExtraLocationTypes (java .util .List <java .lang .String > extraLocationTypes ) {
466466 this .extraLocationTypes = extraLocationTypes ;
@@ -2723,6 +2723,148 @@ public Restore set(String parameterName, Object value) {
27232723 return (Restore ) super .set (parameterName , value );
27242724 }
27252725 }
2726+ /**
2727+ * Resume the standby instance (replica). WARNING: Any data written to the standby instance while
2728+ * paused will be lost when the replica is resumed.
2729+ *
2730+ * Create a request for the method "instances.resumeReplica".
2731+ *
2732+ * This request holds the parameters needed by the file server. After setting any optional
2733+ * parameters, call the {@link ResumeReplica#execute()} method to invoke the remote operation.
2734+ *
2735+ * @param name Required. The resource name of the instance, in the format
2736+ * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
2737+ * @param content the {@link com.google.api.services.file.v1beta1.model.ResumeReplicaRequest}
2738+ * @return the request
2739+ */
2740+ public ResumeReplica resumeReplica (java .lang .String name , com .google .api .services .file .v1beta1 .model .ResumeReplicaRequest content ) throws java .io .IOException {
2741+ ResumeReplica result = new ResumeReplica (name , content );
2742+ initialize (result );
2743+ return result ;
2744+ }
2745+
2746+ public class ResumeReplica extends CloudFilestoreRequest <com .google .api .services .file .v1beta1 .model .Operation > {
2747+
2748+ private static final String REST_PATH = "v1beta1/{+name}:resumeReplica" ;
2749+
2750+ private final java .util .regex .Pattern NAME_PATTERN =
2751+ java .util .regex .Pattern .compile ("^projects/[^/]+/locations/[^/]+/instances/[^/]+$" );
2752+
2753+ /**
2754+ * Resume the standby instance (replica). WARNING: Any data written to the standby instance while
2755+ * paused will be lost when the replica is resumed.
2756+ *
2757+ * Create a request for the method "instances.resumeReplica".
2758+ *
2759+ * This request holds the parameters needed by the the file server. After setting any optional
2760+ * parameters, call the {@link ResumeReplica#execute()} method to invoke the remote operation. <p>
2761+ * {@link ResumeReplica#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR
2762+ * equest)} must be called to initialize this instance immediately after invoking the constructor.
2763+ * </p>
2764+ *
2765+ * @param name Required. The resource name of the instance, in the format
2766+ * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
2767+ * @param content the {@link com.google.api.services.file.v1beta1.model.ResumeReplicaRequest}
2768+ * @since 1.13
2769+ */
2770+ protected ResumeReplica (java .lang .String name , com .google .api .services .file .v1beta1 .model .ResumeReplicaRequest content ) {
2771+ super (CloudFilestore .this , "POST" , REST_PATH , content , com .google .api .services .file .v1beta1 .model .Operation .class );
2772+ this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
2773+ if (!getSuppressPatternChecks ()) {
2774+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
2775+ "Parameter name must conform to the pattern " +
2776+ "^projects/[^/]+/locations/[^/]+/instances/[^/]+$" );
2777+ }
2778+ }
2779+
2780+ @ Override
2781+ public ResumeReplica set$Xgafv (java .lang .String $Xgafv ) {
2782+ return (ResumeReplica ) super .set$Xgafv ($Xgafv );
2783+ }
2784+
2785+ @ Override
2786+ public ResumeReplica setAccessToken (java .lang .String accessToken ) {
2787+ return (ResumeReplica ) super .setAccessToken (accessToken );
2788+ }
2789+
2790+ @ Override
2791+ public ResumeReplica setAlt (java .lang .String alt ) {
2792+ return (ResumeReplica ) super .setAlt (alt );
2793+ }
2794+
2795+ @ Override
2796+ public ResumeReplica setCallback (java .lang .String callback ) {
2797+ return (ResumeReplica ) super .setCallback (callback );
2798+ }
2799+
2800+ @ Override
2801+ public ResumeReplica setFields (java .lang .String fields ) {
2802+ return (ResumeReplica ) super .setFields (fields );
2803+ }
2804+
2805+ @ Override
2806+ public ResumeReplica setKey (java .lang .String key ) {
2807+ return (ResumeReplica ) super .setKey (key );
2808+ }
2809+
2810+ @ Override
2811+ public ResumeReplica setOauthToken (java .lang .String oauthToken ) {
2812+ return (ResumeReplica ) super .setOauthToken (oauthToken );
2813+ }
2814+
2815+ @ Override
2816+ public ResumeReplica setPrettyPrint (java .lang .Boolean prettyPrint ) {
2817+ return (ResumeReplica ) super .setPrettyPrint (prettyPrint );
2818+ }
2819+
2820+ @ Override
2821+ public ResumeReplica setQuotaUser (java .lang .String quotaUser ) {
2822+ return (ResumeReplica ) super .setQuotaUser (quotaUser );
2823+ }
2824+
2825+ @ Override
2826+ public ResumeReplica setUploadType (java .lang .String uploadType ) {
2827+ return (ResumeReplica ) super .setUploadType (uploadType );
2828+ }
2829+
2830+ @ Override
2831+ public ResumeReplica setUploadProtocol (java .lang .String uploadProtocol ) {
2832+ return (ResumeReplica ) super .setUploadProtocol (uploadProtocol );
2833+ }
2834+
2835+ /**
2836+ * Required. The resource name of the instance, in the format
2837+ * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
2838+ */
2839+ @ com .google .api .client .util .Key
2840+ private java .lang .String name ;
2841+
2842+ /** Required. The resource name of the instance, in the format
2843+ `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
2844+ */
2845+ public java .lang .String getName () {
2846+ return name ;
2847+ }
2848+
2849+ /**
2850+ * Required. The resource name of the instance, in the format
2851+ * `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.
2852+ */
2853+ public ResumeReplica setName (java .lang .String name ) {
2854+ if (!getSuppressPatternChecks ()) {
2855+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
2856+ "Parameter name must conform to the pattern " +
2857+ "^projects/[^/]+/locations/[^/]+/instances/[^/]+$" );
2858+ }
2859+ this .name = name ;
2860+ return this ;
2861+ }
2862+
2863+ @ Override
2864+ public ResumeReplica set (String parameterName , Object value ) {
2865+ return (ResumeReplica ) super .set (parameterName , value );
2866+ }
2867+ }
27262868 /**
27272869 * Revert an existing instance's file system to a specified snapshot.
27282870 *
0 commit comments