@@ -311,6 +311,155 @@ public Get set(String parameterName, Object value) {
311311 return (Get ) super .set (parameterName , value );
312312 }
313313 }
314+ /**
315+ * Get the AutoMigrationConfig for a given project and location.
316+ *
317+ * Create a request for the method "locations.getAutoMigrationConfig".
318+ *
319+ * This request holds the parameters needed by the config server. After setting any optional
320+ * parameters, call the {@link GetAutoMigrationConfig#execute()} method to invoke the remote
321+ * operation.
322+ *
323+ * @param name Required. The name of the AutoMigrationConfig. Format:
324+ * 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.
325+ * @return the request
326+ */
327+ public GetAutoMigrationConfig getAutoMigrationConfig (java .lang .String name ) throws java .io .IOException {
328+ GetAutoMigrationConfig result = new GetAutoMigrationConfig (name );
329+ initialize (result );
330+ return result ;
331+ }
332+
333+ public class GetAutoMigrationConfig extends ConfigRequest <com .google .api .services .config .v1 .model .AutoMigrationConfig > {
334+
335+ private static final String REST_PATH = "v1/{+name}" ;
336+
337+ private final java .util .regex .Pattern NAME_PATTERN =
338+ java .util .regex .Pattern .compile ("^projects/[^/]+/locations/[^/]+/autoMigrationConfig$" );
339+
340+ /**
341+ * Get the AutoMigrationConfig for a given project and location.
342+ *
343+ * Create a request for the method "locations.getAutoMigrationConfig".
344+ *
345+ * This request holds the parameters needed by the the config server. After setting any optional
346+ * parameters, call the {@link GetAutoMigrationConfig#execute()} method to invoke the remote
347+ * operation. <p> {@link GetAutoMigrationConfig#initialize(com.google.api.client.googleapis.servic
348+ * es.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
349+ * invoking the constructor. </p>
350+ *
351+ * @param name Required. The name of the AutoMigrationConfig. Format:
352+ * 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.
353+ * @since 1.13
354+ */
355+ protected GetAutoMigrationConfig (java .lang .String name ) {
356+ super (Config .this , "GET" , REST_PATH , null , com .google .api .services .config .v1 .model .AutoMigrationConfig .class );
357+ this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
358+ if (!getSuppressPatternChecks ()) {
359+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
360+ "Parameter name must conform to the pattern " +
361+ "^projects/[^/]+/locations/[^/]+/autoMigrationConfig$" );
362+ }
363+ }
364+
365+ @ Override
366+ public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
367+ return super .executeUsingHead ();
368+ }
369+
370+ @ Override
371+ public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
372+ return super .buildHttpRequestUsingHead ();
373+ }
374+
375+ @ Override
376+ public GetAutoMigrationConfig set$Xgafv (java .lang .String $Xgafv ) {
377+ return (GetAutoMigrationConfig ) super .set$Xgafv ($Xgafv );
378+ }
379+
380+ @ Override
381+ public GetAutoMigrationConfig setAccessToken (java .lang .String accessToken ) {
382+ return (GetAutoMigrationConfig ) super .setAccessToken (accessToken );
383+ }
384+
385+ @ Override
386+ public GetAutoMigrationConfig setAlt (java .lang .String alt ) {
387+ return (GetAutoMigrationConfig ) super .setAlt (alt );
388+ }
389+
390+ @ Override
391+ public GetAutoMigrationConfig setCallback (java .lang .String callback ) {
392+ return (GetAutoMigrationConfig ) super .setCallback (callback );
393+ }
394+
395+ @ Override
396+ public GetAutoMigrationConfig setFields (java .lang .String fields ) {
397+ return (GetAutoMigrationConfig ) super .setFields (fields );
398+ }
399+
400+ @ Override
401+ public GetAutoMigrationConfig setKey (java .lang .String key ) {
402+ return (GetAutoMigrationConfig ) super .setKey (key );
403+ }
404+
405+ @ Override
406+ public GetAutoMigrationConfig setOauthToken (java .lang .String oauthToken ) {
407+ return (GetAutoMigrationConfig ) super .setOauthToken (oauthToken );
408+ }
409+
410+ @ Override
411+ public GetAutoMigrationConfig setPrettyPrint (java .lang .Boolean prettyPrint ) {
412+ return (GetAutoMigrationConfig ) super .setPrettyPrint (prettyPrint );
413+ }
414+
415+ @ Override
416+ public GetAutoMigrationConfig setQuotaUser (java .lang .String quotaUser ) {
417+ return (GetAutoMigrationConfig ) super .setQuotaUser (quotaUser );
418+ }
419+
420+ @ Override
421+ public GetAutoMigrationConfig setUploadType (java .lang .String uploadType ) {
422+ return (GetAutoMigrationConfig ) super .setUploadType (uploadType );
423+ }
424+
425+ @ Override
426+ public GetAutoMigrationConfig setUploadProtocol (java .lang .String uploadProtocol ) {
427+ return (GetAutoMigrationConfig ) super .setUploadProtocol (uploadProtocol );
428+ }
429+
430+ /**
431+ * Required. The name of the AutoMigrationConfig. Format:
432+ * 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.
433+ */
434+ @ com .google .api .client .util .Key
435+ private java .lang .String name ;
436+
437+ /** Required. The name of the AutoMigrationConfig. Format:
438+ 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.
439+ */
440+ public java .lang .String getName () {
441+ return name ;
442+ }
443+
444+ /**
445+ * Required. The name of the AutoMigrationConfig. Format:
446+ * 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.
447+ */
448+ public GetAutoMigrationConfig setName (java .lang .String name ) {
449+ if (!getSuppressPatternChecks ()) {
450+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
451+ "Parameter name must conform to the pattern " +
452+ "^projects/[^/]+/locations/[^/]+/autoMigrationConfig$" );
453+ }
454+ this .name = name ;
455+ return this ;
456+ }
457+
458+ @ Override
459+ public GetAutoMigrationConfig set (String parameterName , Object value ) {
460+ return (GetAutoMigrationConfig ) super .set (parameterName , value );
461+ }
462+ }
314463 /**
315464 * Lists information about the supported locations for this service.
316465 *
@@ -536,6 +685,163 @@ public List set(String parameterName, Object value) {
536685 return (List ) super .set (parameterName , value );
537686 }
538687 }
688+ /**
689+ * Updates the AutoMigrationConfig for a given project and location.
690+ *
691+ * Create a request for the method "locations.updateAutoMigrationConfig".
692+ *
693+ * This request holds the parameters needed by the config server. After setting any optional
694+ * parameters, call the {@link UpdateAutoMigrationConfig#execute()} method to invoke the remote
695+ * operation.
696+ *
697+ * @param name Identifier. The name of the AutoMigrationConfig. Format:
698+ * 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.
699+ * @param content the {@link com.google.api.services.config.v1.model.AutoMigrationConfig}
700+ * @return the request
701+ */
702+ public UpdateAutoMigrationConfig updateAutoMigrationConfig (java .lang .String name , com .google .api .services .config .v1 .model .AutoMigrationConfig content ) throws java .io .IOException {
703+ UpdateAutoMigrationConfig result = new UpdateAutoMigrationConfig (name , content );
704+ initialize (result );
705+ return result ;
706+ }
707+
708+ public class UpdateAutoMigrationConfig extends ConfigRequest <com .google .api .services .config .v1 .model .Operation > {
709+
710+ private static final String REST_PATH = "v1/{+name}" ;
711+
712+ private final java .util .regex .Pattern NAME_PATTERN =
713+ java .util .regex .Pattern .compile ("^projects/[^/]+/locations/[^/]+/autoMigrationConfig$" );
714+
715+ /**
716+ * Updates the AutoMigrationConfig for a given project and location.
717+ *
718+ * Create a request for the method "locations.updateAutoMigrationConfig".
719+ *
720+ * This request holds the parameters needed by the the config server. After setting any optional
721+ * parameters, call the {@link UpdateAutoMigrationConfig#execute()} method to invoke the remote
722+ * operation. <p> {@link UpdateAutoMigrationConfig#initialize(com.google.api.client.googleapis.ser
723+ * vices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
724+ * after invoking the constructor. </p>
725+ *
726+ * @param name Identifier. The name of the AutoMigrationConfig. Format:
727+ * 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.
728+ * @param content the {@link com.google.api.services.config.v1.model.AutoMigrationConfig}
729+ * @since 1.13
730+ */
731+ protected UpdateAutoMigrationConfig (java .lang .String name , com .google .api .services .config .v1 .model .AutoMigrationConfig content ) {
732+ super (Config .this , "PATCH" , REST_PATH , content , com .google .api .services .config .v1 .model .Operation .class );
733+ this .name = com .google .api .client .util .Preconditions .checkNotNull (name , "Required parameter name must be specified." );
734+ if (!getSuppressPatternChecks ()) {
735+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
736+ "Parameter name must conform to the pattern " +
737+ "^projects/[^/]+/locations/[^/]+/autoMigrationConfig$" );
738+ }
739+ }
740+
741+ @ Override
742+ public UpdateAutoMigrationConfig set$Xgafv (java .lang .String $Xgafv ) {
743+ return (UpdateAutoMigrationConfig ) super .set$Xgafv ($Xgafv );
744+ }
745+
746+ @ Override
747+ public UpdateAutoMigrationConfig setAccessToken (java .lang .String accessToken ) {
748+ return (UpdateAutoMigrationConfig ) super .setAccessToken (accessToken );
749+ }
750+
751+ @ Override
752+ public UpdateAutoMigrationConfig setAlt (java .lang .String alt ) {
753+ return (UpdateAutoMigrationConfig ) super .setAlt (alt );
754+ }
755+
756+ @ Override
757+ public UpdateAutoMigrationConfig setCallback (java .lang .String callback ) {
758+ return (UpdateAutoMigrationConfig ) super .setCallback (callback );
759+ }
760+
761+ @ Override
762+ public UpdateAutoMigrationConfig setFields (java .lang .String fields ) {
763+ return (UpdateAutoMigrationConfig ) super .setFields (fields );
764+ }
765+
766+ @ Override
767+ public UpdateAutoMigrationConfig setKey (java .lang .String key ) {
768+ return (UpdateAutoMigrationConfig ) super .setKey (key );
769+ }
770+
771+ @ Override
772+ public UpdateAutoMigrationConfig setOauthToken (java .lang .String oauthToken ) {
773+ return (UpdateAutoMigrationConfig ) super .setOauthToken (oauthToken );
774+ }
775+
776+ @ Override
777+ public UpdateAutoMigrationConfig setPrettyPrint (java .lang .Boolean prettyPrint ) {
778+ return (UpdateAutoMigrationConfig ) super .setPrettyPrint (prettyPrint );
779+ }
780+
781+ @ Override
782+ public UpdateAutoMigrationConfig setQuotaUser (java .lang .String quotaUser ) {
783+ return (UpdateAutoMigrationConfig ) super .setQuotaUser (quotaUser );
784+ }
785+
786+ @ Override
787+ public UpdateAutoMigrationConfig setUploadType (java .lang .String uploadType ) {
788+ return (UpdateAutoMigrationConfig ) super .setUploadType (uploadType );
789+ }
790+
791+ @ Override
792+ public UpdateAutoMigrationConfig setUploadProtocol (java .lang .String uploadProtocol ) {
793+ return (UpdateAutoMigrationConfig ) super .setUploadProtocol (uploadProtocol );
794+ }
795+
796+ /**
797+ * Identifier. The name of the AutoMigrationConfig. Format:
798+ * 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.
799+ */
800+ @ com .google .api .client .util .Key
801+ private java .lang .String name ;
802+
803+ /** Identifier. The name of the AutoMigrationConfig. Format:
804+ 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.
805+ */
806+ public java .lang .String getName () {
807+ return name ;
808+ }
809+
810+ /**
811+ * Identifier. The name of the AutoMigrationConfig. Format:
812+ * 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.
813+ */
814+ public UpdateAutoMigrationConfig setName (java .lang .String name ) {
815+ if (!getSuppressPatternChecks ()) {
816+ com .google .api .client .util .Preconditions .checkArgument (NAME_PATTERN .matcher (name ).matches (),
817+ "Parameter name must conform to the pattern " +
818+ "^projects/[^/]+/locations/[^/]+/autoMigrationConfig$" );
819+ }
820+ this .name = name ;
821+ return this ;
822+ }
823+
824+ /** Optional. The update mask applies to the resource. See google.protobuf.FieldMask. */
825+ @ com .google .api .client .util .Key
826+ private String updateMask ;
827+
828+ /** Optional. The update mask applies to the resource. See google.protobuf.FieldMask.
829+ */
830+ public String getUpdateMask () {
831+ return updateMask ;
832+ }
833+
834+ /** Optional. The update mask applies to the resource. See google.protobuf.FieldMask. */
835+ public UpdateAutoMigrationConfig setUpdateMask (String updateMask ) {
836+ this .updateMask = updateMask ;
837+ return this ;
838+ }
839+
840+ @ Override
841+ public UpdateAutoMigrationConfig set (String parameterName , Object value ) {
842+ return (UpdateAutoMigrationConfig ) super .set (parameterName , value );
843+ }
844+ }
539845
540846 /**
541847 * An accessor for creating requests from the Deployments collection.
@@ -4544,30 +4850,31 @@ public List setPageToken(java.lang.String pageToken) {
45444850
45454851 /**
45464852 * When set to `true`, operations that are reachable are returned as normal, and those
4547- * that are unreachable are returned in the [ ListOperationsResponse.unreachable] field.
4548- * This can only be `true` when reading across collections e.g. when `parent` is set to
4549- * `"projects/example/locations/-"`. This field is not by default supported and will
4853+ * that are unreachable are returned in the ListOperationsResponse.unreachable field. This
4854+ * can only be `true` when reading across collections. For example, when `parent` is set
4855+ * to `"projects/example/locations/-"`. This field is not supported by default and will
45504856 * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
45514857 * service or product specific documentation.
45524858 */
45534859 @ com .google .api .client .util .Key
45544860 private java .lang .Boolean returnPartialSuccess ;
45554861
45564862 /** When set to `true`, operations that are reachable are returned as normal, and those that are
4557- unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
4558- when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
4559- field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
4560- explicitly documented otherwise in service or product specific documentation.
4863+ unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true`
4864+ when reading across collections. For example, when `parent` is set to
4865+ `"projects/example/locations/-"`. This field is not supported by default and will result in an
4866+ `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific
4867+ documentation.
45614868 */
45624869 public java .lang .Boolean getReturnPartialSuccess () {
45634870 return returnPartialSuccess ;
45644871 }
45654872
45664873 /**
45674874 * When set to `true`, operations that are reachable are returned as normal, and those
4568- * that are unreachable are returned in the [ ListOperationsResponse.unreachable] field.
4569- * This can only be `true` when reading across collections e.g. when `parent` is set to
4570- * `"projects/example/locations/-"`. This field is not by default supported and will
4875+ * that are unreachable are returned in the ListOperationsResponse.unreachable field. This
4876+ * can only be `true` when reading across collections. For example, when `parent` is set
4877+ * to `"projects/example/locations/-"`. This field is not supported by default and will
45714878 * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
45724879 * service or product specific documentation.
45734880 */
0 commit comments