@@ -6732,6 +6732,185 @@ public Applications applications() {
6732
6732
*/
6733
6733
public class Applications {
6734
6734
6735
+ /**
6736
+ * Updates the specified Application resource. You can update the following fields: auth_domain -
6737
+ * Google authentication domain for controlling user access to the application.
6738
+ * default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware
6739
+ * Proxy properties for the application.
6740
+ *
6741
+ * Create a request for the method "applications.patch".
6742
+ *
6743
+ * This request holds the parameters needed by the appengine server. After setting any optional
6744
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
6745
+ *
6746
+ * @param projectsId Part of `name`. Name of the Application resource to update. Example: apps/myapp.
6747
+ * @param locationsId Part of `name`. See documentation of `projectsId`.
6748
+ * @param applicationsId Part of `name`. See documentation of `projectsId`.
6749
+ * @param content the {@link com.google.api.services.appengine.v1.model.Application}
6750
+ * @return the request
6751
+ */
6752
+ public Patch patch (java .lang .String projectsId , java .lang .String locationsId , java .lang .String applicationsId , com .google .api .services .appengine .v1 .model .Application content ) throws java .io .IOException {
6753
+ Patch result = new Patch (projectsId , locationsId , applicationsId , content );
6754
+ initialize (result );
6755
+ return result ;
6756
+ }
6757
+
6758
+ public class Patch extends AppengineRequest <com .google .api .services .appengine .v1 .model .Operation > {
6759
+
6760
+ private static final String REST_PATH = "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}" ;
6761
+
6762
+ /**
6763
+ * Updates the specified Application resource. You can update the following fields: auth_domain -
6764
+ * Google authentication domain for controlling user access to the application.
6765
+ * default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware
6766
+ * Proxy properties for the application.
6767
+ *
6768
+ * Create a request for the method "applications.patch".
6769
+ *
6770
+ * This request holds the parameters needed by the the appengine server. After setting any
6771
+ * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
6772
+ * <p> {@link
6773
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
6774
+ * be called to initialize this instance immediately after invoking the constructor. </p>
6775
+ *
6776
+ * @param projectsId Part of `name`. Name of the Application resource to update. Example: apps/myapp.
6777
+ * @param locationsId Part of `name`. See documentation of `projectsId`.
6778
+ * @param applicationsId Part of `name`. See documentation of `projectsId`.
6779
+ * @param content the {@link com.google.api.services.appengine.v1.model.Application}
6780
+ * @since 1.13
6781
+ */
6782
+ protected Patch (java .lang .String projectsId , java .lang .String locationsId , java .lang .String applicationsId , com .google .api .services .appengine .v1 .model .Application content ) {
6783
+ super (Appengine .this , "PATCH" , REST_PATH , content , com .google .api .services .appengine .v1 .model .Operation .class );
6784
+ this .projectsId = com .google .api .client .util .Preconditions .checkNotNull (projectsId , "Required parameter projectsId must be specified." );
6785
+ this .locationsId = com .google .api .client .util .Preconditions .checkNotNull (locationsId , "Required parameter locationsId must be specified." );
6786
+ this .applicationsId = com .google .api .client .util .Preconditions .checkNotNull (applicationsId , "Required parameter applicationsId must be specified." );
6787
+ }
6788
+
6789
+ @ Override
6790
+ public Patch set$Xgafv (java .lang .String $Xgafv ) {
6791
+ return (Patch ) super .set$Xgafv ($Xgafv );
6792
+ }
6793
+
6794
+ @ Override
6795
+ public Patch setAccessToken (java .lang .String accessToken ) {
6796
+ return (Patch ) super .setAccessToken (accessToken );
6797
+ }
6798
+
6799
+ @ Override
6800
+ public Patch setAlt (java .lang .String alt ) {
6801
+ return (Patch ) super .setAlt (alt );
6802
+ }
6803
+
6804
+ @ Override
6805
+ public Patch setCallback (java .lang .String callback ) {
6806
+ return (Patch ) super .setCallback (callback );
6807
+ }
6808
+
6809
+ @ Override
6810
+ public Patch setFields (java .lang .String fields ) {
6811
+ return (Patch ) super .setFields (fields );
6812
+ }
6813
+
6814
+ @ Override
6815
+ public Patch setKey (java .lang .String key ) {
6816
+ return (Patch ) super .setKey (key );
6817
+ }
6818
+
6819
+ @ Override
6820
+ public Patch setOauthToken (java .lang .String oauthToken ) {
6821
+ return (Patch ) super .setOauthToken (oauthToken );
6822
+ }
6823
+
6824
+ @ Override
6825
+ public Patch setPrettyPrint (java .lang .Boolean prettyPrint ) {
6826
+ return (Patch ) super .setPrettyPrint (prettyPrint );
6827
+ }
6828
+
6829
+ @ Override
6830
+ public Patch setQuotaUser (java .lang .String quotaUser ) {
6831
+ return (Patch ) super .setQuotaUser (quotaUser );
6832
+ }
6833
+
6834
+ @ Override
6835
+ public Patch setUploadType (java .lang .String uploadType ) {
6836
+ return (Patch ) super .setUploadType (uploadType );
6837
+ }
6838
+
6839
+ @ Override
6840
+ public Patch setUploadProtocol (java .lang .String uploadProtocol ) {
6841
+ return (Patch ) super .setUploadProtocol (uploadProtocol );
6842
+ }
6843
+
6844
+ /** Part of `name`. Name of the Application resource to update. Example: apps/myapp. */
6845
+ @ com .google .api .client .util .Key
6846
+ private java .lang .String projectsId ;
6847
+
6848
+ /** Part of `name`. Name of the Application resource to update. Example: apps/myapp.
6849
+ */
6850
+ public java .lang .String getProjectsId () {
6851
+ return projectsId ;
6852
+ }
6853
+
6854
+ /** Part of `name`. Name of the Application resource to update. Example: apps/myapp. */
6855
+ public Patch setProjectsId (java .lang .String projectsId ) {
6856
+ this .projectsId = projectsId ;
6857
+ return this ;
6858
+ }
6859
+
6860
+ /** Part of `name`. See documentation of `projectsId`. */
6861
+ @ com .google .api .client .util .Key
6862
+ private java .lang .String locationsId ;
6863
+
6864
+ /** Part of `name`. See documentation of `projectsId`.
6865
+ */
6866
+ public java .lang .String getLocationsId () {
6867
+ return locationsId ;
6868
+ }
6869
+
6870
+ /** Part of `name`. See documentation of `projectsId`. */
6871
+ public Patch setLocationsId (java .lang .String locationsId ) {
6872
+ this .locationsId = locationsId ;
6873
+ return this ;
6874
+ }
6875
+
6876
+ /** Part of `name`. See documentation of `projectsId`. */
6877
+ @ com .google .api .client .util .Key
6878
+ private java .lang .String applicationsId ;
6879
+
6880
+ /** Part of `name`. See documentation of `projectsId`.
6881
+ */
6882
+ public java .lang .String getApplicationsId () {
6883
+ return applicationsId ;
6884
+ }
6885
+
6886
+ /** Part of `name`. See documentation of `projectsId`. */
6887
+ public Patch setApplicationsId (java .lang .String applicationsId ) {
6888
+ this .applicationsId = applicationsId ;
6889
+ return this ;
6890
+ }
6891
+
6892
+ /** Required. Standard field mask for the set of fields to be updated. */
6893
+ @ com .google .api .client .util .Key
6894
+ private String updateMask ;
6895
+
6896
+ /** Required. Standard field mask for the set of fields to be updated.
6897
+ */
6898
+ public String getUpdateMask () {
6899
+ return updateMask ;
6900
+ }
6901
+
6902
+ /** Required. Standard field mask for the set of fields to be updated. */
6903
+ public Patch setUpdateMask (String updateMask ) {
6904
+ this .updateMask = updateMask ;
6905
+ return this ;
6906
+ }
6907
+
6908
+ @ Override
6909
+ public Patch set (String parameterName , Object value ) {
6910
+ return (Patch ) super .set (parameterName , value );
6911
+ }
6912
+ }
6913
+
6735
6914
/**
6736
6915
* An accessor for creating requests from the AuthorizedDomains collection.
6737
6916
*
0 commit comments