@@ -6969,6 +6969,184 @@ public Services services() {
6969
6969
*/
6970
6970
public class Services {
6971
6971
6972
+ /**
6973
+ * Deletes the specified service and all enclosed versions.
6974
+ *
6975
+ * Create a request for the method "services.delete".
6976
+ *
6977
+ * This request holds the parameters needed by the appengine server. After setting any optional
6978
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
6979
+ *
6980
+ * @param projectsId Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.
6981
+ * @param locationsId Part of `name`. See documentation of `projectsId`.
6982
+ * @param applicationsId Part of `name`. See documentation of `projectsId`.
6983
+ * @param servicesId Part of `name`. See documentation of `projectsId`.
6984
+ * @return the request
6985
+ */
6986
+ public Delete delete (java .lang .String projectsId , java .lang .String locationsId , java .lang .String applicationsId , java .lang .String servicesId ) throws java .io .IOException {
6987
+ Delete result = new Delete (projectsId , locationsId , applicationsId , servicesId );
6988
+ initialize (result );
6989
+ return result ;
6990
+ }
6991
+
6992
+ public class Delete extends AppengineRequest <com .google .api .services .appengine .v1 .model .Operation > {
6993
+
6994
+ private static final String REST_PATH = "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}" ;
6995
+
6996
+ /**
6997
+ * Deletes the specified service and all enclosed versions.
6998
+ *
6999
+ * Create a request for the method "services.delete".
7000
+ *
7001
+ * This request holds the parameters needed by the the appengine server. After setting any
7002
+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
7003
+ * <p> {@link
7004
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
7005
+ * be called to initialize this instance immediately after invoking the constructor. </p>
7006
+ *
7007
+ * @param projectsId Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.
7008
+ * @param locationsId Part of `name`. See documentation of `projectsId`.
7009
+ * @param applicationsId Part of `name`. See documentation of `projectsId`.
7010
+ * @param servicesId Part of `name`. See documentation of `projectsId`.
7011
+ * @since 1.13
7012
+ */
7013
+ protected Delete (java .lang .String projectsId , java .lang .String locationsId , java .lang .String applicationsId , java .lang .String servicesId ) {
7014
+ super (Appengine .this , "DELETE" , REST_PATH , null , com .google .api .services .appengine .v1 .model .Operation .class );
7015
+ this .projectsId = com .google .api .client .util .Preconditions .checkNotNull (projectsId , "Required parameter projectsId must be specified." );
7016
+ this .locationsId = com .google .api .client .util .Preconditions .checkNotNull (locationsId , "Required parameter locationsId must be specified." );
7017
+ this .applicationsId = com .google .api .client .util .Preconditions .checkNotNull (applicationsId , "Required parameter applicationsId must be specified." );
7018
+ this .servicesId = com .google .api .client .util .Preconditions .checkNotNull (servicesId , "Required parameter servicesId must be specified." );
7019
+ }
7020
+
7021
+ @ Override
7022
+ public Delete set$Xgafv (java .lang .String $Xgafv ) {
7023
+ return (Delete ) super .set$Xgafv ($Xgafv );
7024
+ }
7025
+
7026
+ @ Override
7027
+ public Delete setAccessToken (java .lang .String accessToken ) {
7028
+ return (Delete ) super .setAccessToken (accessToken );
7029
+ }
7030
+
7031
+ @ Override
7032
+ public Delete setAlt (java .lang .String alt ) {
7033
+ return (Delete ) super .setAlt (alt );
7034
+ }
7035
+
7036
+ @ Override
7037
+ public Delete setCallback (java .lang .String callback ) {
7038
+ return (Delete ) super .setCallback (callback );
7039
+ }
7040
+
7041
+ @ Override
7042
+ public Delete setFields (java .lang .String fields ) {
7043
+ return (Delete ) super .setFields (fields );
7044
+ }
7045
+
7046
+ @ Override
7047
+ public Delete setKey (java .lang .String key ) {
7048
+ return (Delete ) super .setKey (key );
7049
+ }
7050
+
7051
+ @ Override
7052
+ public Delete setOauthToken (java .lang .String oauthToken ) {
7053
+ return (Delete ) super .setOauthToken (oauthToken );
7054
+ }
7055
+
7056
+ @ Override
7057
+ public Delete setPrettyPrint (java .lang .Boolean prettyPrint ) {
7058
+ return (Delete ) super .setPrettyPrint (prettyPrint );
7059
+ }
7060
+
7061
+ @ Override
7062
+ public Delete setQuotaUser (java .lang .String quotaUser ) {
7063
+ return (Delete ) super .setQuotaUser (quotaUser );
7064
+ }
7065
+
7066
+ @ Override
7067
+ public Delete setUploadType (java .lang .String uploadType ) {
7068
+ return (Delete ) super .setUploadType (uploadType );
7069
+ }
7070
+
7071
+ @ Override
7072
+ public Delete setUploadProtocol (java .lang .String uploadProtocol ) {
7073
+ return (Delete ) super .setUploadProtocol (uploadProtocol );
7074
+ }
7075
+
7076
+ /**
7077
+ * Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.
7078
+ */
7079
+ @ com .google .api .client .util .Key
7080
+ private java .lang .String projectsId ;
7081
+
7082
+ /** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.
7083
+ */
7084
+ public java .lang .String getProjectsId () {
7085
+ return projectsId ;
7086
+ }
7087
+
7088
+ /**
7089
+ * Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.
7090
+ */
7091
+ public Delete setProjectsId (java .lang .String projectsId ) {
7092
+ this .projectsId = projectsId ;
7093
+ return this ;
7094
+ }
7095
+
7096
+ /** Part of `name`. See documentation of `projectsId`. */
7097
+ @ com .google .api .client .util .Key
7098
+ private java .lang .String locationsId ;
7099
+
7100
+ /** Part of `name`. See documentation of `projectsId`.
7101
+ */
7102
+ public java .lang .String getLocationsId () {
7103
+ return locationsId ;
7104
+ }
7105
+
7106
+ /** Part of `name`. See documentation of `projectsId`. */
7107
+ public Delete setLocationsId (java .lang .String locationsId ) {
7108
+ this .locationsId = locationsId ;
7109
+ return this ;
7110
+ }
7111
+
7112
+ /** Part of `name`. See documentation of `projectsId`. */
7113
+ @ com .google .api .client .util .Key
7114
+ private java .lang .String applicationsId ;
7115
+
7116
+ /** Part of `name`. See documentation of `projectsId`.
7117
+ */
7118
+ public java .lang .String getApplicationsId () {
7119
+ return applicationsId ;
7120
+ }
7121
+
7122
+ /** Part of `name`. See documentation of `projectsId`. */
7123
+ public Delete setApplicationsId (java .lang .String applicationsId ) {
7124
+ this .applicationsId = applicationsId ;
7125
+ return this ;
7126
+ }
7127
+
7128
+ /** Part of `name`. See documentation of `projectsId`. */
7129
+ @ com .google .api .client .util .Key
7130
+ private java .lang .String servicesId ;
7131
+
7132
+ /** Part of `name`. See documentation of `projectsId`.
7133
+ */
7134
+ public java .lang .String getServicesId () {
7135
+ return servicesId ;
7136
+ }
7137
+
7138
+ /** Part of `name`. See documentation of `projectsId`. */
7139
+ public Delete setServicesId (java .lang .String servicesId ) {
7140
+ this .servicesId = servicesId ;
7141
+ return this ;
7142
+ }
7143
+
7144
+ @ Override
7145
+ public Delete set (String parameterName , Object value ) {
7146
+ return (Delete ) super .set (parameterName , value );
7147
+ }
7148
+ }
7149
+
6972
7150
/**
6973
7151
* An accessor for creating requests from the Versions collection.
6974
7152
*
0 commit comments