@@ -6902,14 +6902,21 @@ public FetchForResourceType setParent(java.lang.String parent) {
69026902 /**
69036903 * Optional. A filter expression that filters the results fetched in the response. The
69046904 * expression must specify the field name, a comparison operator, and the value that
6905- * you want to use for filtering. Supported fields:
6905+ * you want to use for filtering. Supported fields: * name * state * backup_type *
6906+ * create_time * expire_time * enforced_retention_end_time *
6907+ * gcp_backup_plan_info.backup_plan *
6908+ * cloud_sql_instance_backup_properties.instance_tier *
6909+ * cloud_sql_instance_backup_properties.database_installed_version
69066910 */
69076911 @ com .google .api .client .util .Key
69086912 private java .lang .String filter ;
69096913
69106914 /** Optional. A filter expression that filters the results fetched in the response. The expression must
69116915 specify the field name, a comparison operator, and the value that you want to use for filtering.
6912- Supported fields:
6916+ Supported fields: * name * state * backup_type * create_time * expire_time *
6917+ enforced_retention_end_time * gcp_backup_plan_info.backup_plan *
6918+ cloud_sql_instance_backup_properties.instance_tier *
6919+ cloud_sql_instance_backup_properties.database_installed_version
69136920 */
69146921 public java .lang .String getFilter () {
69156922 return filter ;
@@ -6918,7 +6925,11 @@ public java.lang.String getFilter() {
69186925 /**
69196926 * Optional. A filter expression that filters the results fetched in the response. The
69206927 * expression must specify the field name, a comparison operator, and the value that
6921- * you want to use for filtering. Supported fields:
6928+ * you want to use for filtering. Supported fields: * name * state * backup_type *
6929+ * create_time * expire_time * enforced_retention_end_time *
6930+ * gcp_backup_plan_info.backup_plan *
6931+ * cloud_sql_instance_backup_properties.instance_tier *
6932+ * cloud_sql_instance_backup_properties.database_installed_version
69226933 */
69236934 public FetchForResourceType setFilter (java .lang .String filter ) {
69246935 this .filter = filter ;
@@ -6927,21 +6938,21 @@ public FetchForResourceType setFilter(java.lang.String filter) {
69276938
69286939 /**
69296940 * Optional. A comma-separated list of fields to order by, sorted in ascending order.
6930- * Use "desc" after a field name for descending.
6941+ * Use "desc" after a field name for descending. Supported fields: * name
69316942 */
69326943 @ com .google .api .client .util .Key
69336944 private java .lang .String orderBy ;
69346945
69356946 /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after
6936- a field name for descending.
6947+ a field name for descending. Supported fields: * name
69376948 */
69386949 public java .lang .String getOrderBy () {
69396950 return orderBy ;
69406951 }
69416952
69426953 /**
69436954 * Optional. A comma-separated list of fields to order by, sorted in ascending order.
6944- * Use "desc" after a field name for descending.
6955+ * Use "desc" after a field name for descending. Supported fields: * name
69456956 */
69466957 public FetchForResourceType setOrderBy (java .lang .String orderBy ) {
69476958 this .orderBy = orderBy ;
@@ -11049,6 +11060,136 @@ public Trial trial() {
1104911060 */
1105011061 public class Trial {
1105111062
11063+ /**
11064+ * Ends the trial for a project
11065+ *
11066+ * Create a request for the method "trial.end".
11067+ *
11068+ * This request holds the parameters needed by the backupdr server. After setting any optional
11069+ * parameters, call the {@link End#execute()} method to invoke the remote operation.
11070+ *
11071+ * @param parent Required. The parent resource where this trial will be ended.
11072+ * @param content the {@link com.google.api.services.backupdr.v1.model.EndTrialRequest}
11073+ * @return the request
11074+ */
11075+ public End end (java .lang .String parent , com .google .api .services .backupdr .v1 .model .EndTrialRequest content ) throws java .io .IOException {
11076+ End result = new End (parent , content );
11077+ initialize (result );
11078+ return result ;
11079+ }
11080+
11081+ public class End extends BackupdrRequest <com .google .api .services .backupdr .v1 .model .Trial > {
11082+
11083+ private static final String REST_PATH = "v1/{+parent}/trial:end" ;
11084+
11085+ private final java .util .regex .Pattern PARENT_PATTERN =
11086+ java .util .regex .Pattern .compile ("^projects/[^/]+/locations/[^/]+$" );
11087+
11088+ /**
11089+ * Ends the trial for a project
11090+ *
11091+ * Create a request for the method "trial.end".
11092+ *
11093+ * This request holds the parameters needed by the the backupdr server. After setting any
11094+ * optional parameters, call the {@link End#execute()} method to invoke the remote operation. <p>
11095+ * {@link End#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
11096+ * must be called to initialize this instance immediately after invoking the constructor. </p>
11097+ *
11098+ * @param parent Required. The parent resource where this trial will be ended.
11099+ * @param content the {@link com.google.api.services.backupdr.v1.model.EndTrialRequest}
11100+ * @since 1.13
11101+ */
11102+ protected End (java .lang .String parent , com .google .api .services .backupdr .v1 .model .EndTrialRequest content ) {
11103+ super (Backupdr .this , "POST" , REST_PATH , content , com .google .api .services .backupdr .v1 .model .Trial .class );
11104+ this .parent = com .google .api .client .util .Preconditions .checkNotNull (parent , "Required parameter parent must be specified." );
11105+ if (!getSuppressPatternChecks ()) {
11106+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
11107+ "Parameter parent must conform to the pattern " +
11108+ "^projects/[^/]+/locations/[^/]+$" );
11109+ }
11110+ }
11111+
11112+ @ Override
11113+ public End set$Xgafv (java .lang .String $Xgafv ) {
11114+ return (End ) super .set$Xgafv ($Xgafv );
11115+ }
11116+
11117+ @ Override
11118+ public End setAccessToken (java .lang .String accessToken ) {
11119+ return (End ) super .setAccessToken (accessToken );
11120+ }
11121+
11122+ @ Override
11123+ public End setAlt (java .lang .String alt ) {
11124+ return (End ) super .setAlt (alt );
11125+ }
11126+
11127+ @ Override
11128+ public End setCallback (java .lang .String callback ) {
11129+ return (End ) super .setCallback (callback );
11130+ }
11131+
11132+ @ Override
11133+ public End setFields (java .lang .String fields ) {
11134+ return (End ) super .setFields (fields );
11135+ }
11136+
11137+ @ Override
11138+ public End setKey (java .lang .String key ) {
11139+ return (End ) super .setKey (key );
11140+ }
11141+
11142+ @ Override
11143+ public End setOauthToken (java .lang .String oauthToken ) {
11144+ return (End ) super .setOauthToken (oauthToken );
11145+ }
11146+
11147+ @ Override
11148+ public End setPrettyPrint (java .lang .Boolean prettyPrint ) {
11149+ return (End ) super .setPrettyPrint (prettyPrint );
11150+ }
11151+
11152+ @ Override
11153+ public End setQuotaUser (java .lang .String quotaUser ) {
11154+ return (End ) super .setQuotaUser (quotaUser );
11155+ }
11156+
11157+ @ Override
11158+ public End setUploadType (java .lang .String uploadType ) {
11159+ return (End ) super .setUploadType (uploadType );
11160+ }
11161+
11162+ @ Override
11163+ public End setUploadProtocol (java .lang .String uploadProtocol ) {
11164+ return (End ) super .setUploadProtocol (uploadProtocol );
11165+ }
11166+
11167+ /** Required. The parent resource where this trial will be ended. */
11168+ @ com .google .api .client .util .Key
11169+ private java .lang .String parent ;
11170+
11171+ /** Required. The parent resource where this trial will be ended.
11172+ */
11173+ public java .lang .String getParent () {
11174+ return parent ;
11175+ }
11176+
11177+ /** Required. The parent resource where this trial will be ended. */
11178+ public End setParent (java .lang .String parent ) {
11179+ if (!getSuppressPatternChecks ()) {
11180+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
11181+ "Parameter parent must conform to the pattern " +
11182+ "^projects/[^/]+/locations/[^/]+$" );
11183+ }
11184+ this .parent = parent ;
11185+ return this ;
11186+ }
11187+
11188+ @ Override
11189+ public End set (String parameterName , Object value ) {
11190+ return (End ) super .set (parameterName , value );
11191+ }
11192+ }
1105211193 /**
1105311194 * Subscribes to a trial for a project
1105411195 *
0 commit comments