@@ -7098,6 +7098,185 @@ public Applications applications() {
7098
7098
*/
7099
7099
public class Applications {
7100
7100
7101
+ /**
7102
+ * Updates the specified Application resource. You can update the following fields: auth_domain -
7103
+ * Google authentication domain for controlling user access to the application.
7104
+ * default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware
7105
+ * Proxy properties for the application.
7106
+ *
7107
+ * Create a request for the method "applications.patch".
7108
+ *
7109
+ * This request holds the parameters needed by the appengine server. After setting any optional
7110
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
7111
+ *
7112
+ * @param projectsId Part of `name`. Name of the Application resource to update. Example: apps/myapp.
7113
+ * @param locationsId Part of `name`. See documentation of `projectsId`.
7114
+ * @param applicationsId Part of `name`. See documentation of `projectsId`.
7115
+ * @param content the {@link com.google.api.services.appengine.model.Application}
7116
+ * @return the request
7117
+ */
7118
+ public Patch patch (java .lang .String projectsId , java .lang .String locationsId , java .lang .String applicationsId , com .google .api .services .appengine .model .Application content ) throws java .io .IOException {
7119
+ Patch result = new Patch (projectsId , locationsId , applicationsId , content );
7120
+ initialize (result );
7121
+ return result ;
7122
+ }
7123
+
7124
+ public class Patch extends AppengineRequest <com .google .api .services .appengine .model .Operation > {
7125
+
7126
+ private static final String REST_PATH = "v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}" ;
7127
+
7128
+ /**
7129
+ * Updates the specified Application resource. You can update the following fields: auth_domain -
7130
+ * Google authentication domain for controlling user access to the application.
7131
+ * default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware
7132
+ * Proxy properties for the application.
7133
+ *
7134
+ * Create a request for the method "applications.patch".
7135
+ *
7136
+ * This request holds the parameters needed by the the appengine server. After setting any
7137
+ * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
7138
+ * <p> {@link
7139
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
7140
+ * be called to initialize this instance immediately after invoking the constructor. </p>
7141
+ *
7142
+ * @param projectsId Part of `name`. Name of the Application resource to update. Example: apps/myapp.
7143
+ * @param locationsId Part of `name`. See documentation of `projectsId`.
7144
+ * @param applicationsId Part of `name`. See documentation of `projectsId`.
7145
+ * @param content the {@link com.google.api.services.appengine.model.Application}
7146
+ * @since 1.13
7147
+ */
7148
+ protected Patch (java .lang .String projectsId , java .lang .String locationsId , java .lang .String applicationsId , com .google .api .services .appengine .model .Application content ) {
7149
+ super (Appengine .this , "PATCH" , REST_PATH , content , com .google .api .services .appengine .model .Operation .class );
7150
+ this .projectsId = com .google .api .client .util .Preconditions .checkNotNull (projectsId , "Required parameter projectsId must be specified." );
7151
+ this .locationsId = com .google .api .client .util .Preconditions .checkNotNull (locationsId , "Required parameter locationsId must be specified." );
7152
+ this .applicationsId = com .google .api .client .util .Preconditions .checkNotNull (applicationsId , "Required parameter applicationsId must be specified." );
7153
+ }
7154
+
7155
+ @ Override
7156
+ public Patch set$Xgafv (java .lang .String $Xgafv ) {
7157
+ return (Patch ) super .set$Xgafv ($Xgafv );
7158
+ }
7159
+
7160
+ @ Override
7161
+ public Patch setAccessToken (java .lang .String accessToken ) {
7162
+ return (Patch ) super .setAccessToken (accessToken );
7163
+ }
7164
+
7165
+ @ Override
7166
+ public Patch setAlt (java .lang .String alt ) {
7167
+ return (Patch ) super .setAlt (alt );
7168
+ }
7169
+
7170
+ @ Override
7171
+ public Patch setCallback (java .lang .String callback ) {
7172
+ return (Patch ) super .setCallback (callback );
7173
+ }
7174
+
7175
+ @ Override
7176
+ public Patch setFields (java .lang .String fields ) {
7177
+ return (Patch ) super .setFields (fields );
7178
+ }
7179
+
7180
+ @ Override
7181
+ public Patch setKey (java .lang .String key ) {
7182
+ return (Patch ) super .setKey (key );
7183
+ }
7184
+
7185
+ @ Override
7186
+ public Patch setOauthToken (java .lang .String oauthToken ) {
7187
+ return (Patch ) super .setOauthToken (oauthToken );
7188
+ }
7189
+
7190
+ @ Override
7191
+ public Patch setPrettyPrint (java .lang .Boolean prettyPrint ) {
7192
+ return (Patch ) super .setPrettyPrint (prettyPrint );
7193
+ }
7194
+
7195
+ @ Override
7196
+ public Patch setQuotaUser (java .lang .String quotaUser ) {
7197
+ return (Patch ) super .setQuotaUser (quotaUser );
7198
+ }
7199
+
7200
+ @ Override
7201
+ public Patch setUploadType (java .lang .String uploadType ) {
7202
+ return (Patch ) super .setUploadType (uploadType );
7203
+ }
7204
+
7205
+ @ Override
7206
+ public Patch setUploadProtocol (java .lang .String uploadProtocol ) {
7207
+ return (Patch ) super .setUploadProtocol (uploadProtocol );
7208
+ }
7209
+
7210
+ /** Part of `name`. Name of the Application resource to update. Example: apps/myapp. */
7211
+ @ com .google .api .client .util .Key
7212
+ private java .lang .String projectsId ;
7213
+
7214
+ /** Part of `name`. Name of the Application resource to update. Example: apps/myapp.
7215
+ */
7216
+ public java .lang .String getProjectsId () {
7217
+ return projectsId ;
7218
+ }
7219
+
7220
+ /** Part of `name`. Name of the Application resource to update. Example: apps/myapp. */
7221
+ public Patch setProjectsId (java .lang .String projectsId ) {
7222
+ this .projectsId = projectsId ;
7223
+ return this ;
7224
+ }
7225
+
7226
+ /** Part of `name`. See documentation of `projectsId`. */
7227
+ @ com .google .api .client .util .Key
7228
+ private java .lang .String locationsId ;
7229
+
7230
+ /** Part of `name`. See documentation of `projectsId`.
7231
+ */
7232
+ public java .lang .String getLocationsId () {
7233
+ return locationsId ;
7234
+ }
7235
+
7236
+ /** Part of `name`. See documentation of `projectsId`. */
7237
+ public Patch setLocationsId (java .lang .String locationsId ) {
7238
+ this .locationsId = locationsId ;
7239
+ return this ;
7240
+ }
7241
+
7242
+ /** Part of `name`. See documentation of `projectsId`. */
7243
+ @ com .google .api .client .util .Key
7244
+ private java .lang .String applicationsId ;
7245
+
7246
+ /** Part of `name`. See documentation of `projectsId`.
7247
+ */
7248
+ public java .lang .String getApplicationsId () {
7249
+ return applicationsId ;
7250
+ }
7251
+
7252
+ /** Part of `name`. See documentation of `projectsId`. */
7253
+ public Patch setApplicationsId (java .lang .String applicationsId ) {
7254
+ this .applicationsId = applicationsId ;
7255
+ return this ;
7256
+ }
7257
+
7258
+ /** Required. Standard field mask for the set of fields to be updated. */
7259
+ @ com .google .api .client .util .Key
7260
+ private String updateMask ;
7261
+
7262
+ /** Required. Standard field mask for the set of fields to be updated.
7263
+ */
7264
+ public String getUpdateMask () {
7265
+ return updateMask ;
7266
+ }
7267
+
7268
+ /** Required. Standard field mask for the set of fields to be updated. */
7269
+ public Patch setUpdateMask (String updateMask ) {
7270
+ this .updateMask = updateMask ;
7271
+ return this ;
7272
+ }
7273
+
7274
+ @ Override
7275
+ public Patch set (String parameterName , Object value ) {
7276
+ return (Patch ) super .set (parameterName , value );
7277
+ }
7278
+ }
7279
+
7101
7280
/**
7102
7281
* An accessor for creating requests from the AuthorizedDomains collection.
7103
7282
*
0 commit comments