@@ -33,9 +33,11 @@ const jsonContentHeaders = {
33
33
*/
34
34
export class API extends ParentAPI {
35
35
/**
36
- * Create a new Project for an Organization. Generate a new Project for an
37
- * Organization, specifying its configuration including name and description.
36
+ * Create a new Project for an Organization. Deprecated in favor of Account
37
+ * API v3. Generate a new Project for an Organization, specifying its
38
+ * configuration including name and description.
38
39
*
40
+ * @deprecated
39
41
* @param request - The request {@link CreateProjectRequest}
40
42
* @returns A Promise of Project
41
43
*/
@@ -79,22 +81,26 @@ export class API extends ParentAPI {
79
81
)
80
82
81
83
/**
82
- * List all Projects of an Organization. List all Projects of an Organization.
83
- * The response will include the total number of Projects as well as their
84
- * associated Organizations, names and IDs. Other information include the
85
- * creation and update date of the Project.
84
+ * List all Projects of an Organization. Deprecated in favor of Account API
85
+ * v3. List all Projects of an Organization. The response will include the
86
+ * total number of Projects as well as their associated Organizations, names
87
+ * and IDs. Other information include the creation and update date of the
88
+ * Project.
86
89
*
90
+ * @deprecated
87
91
* @param request - The request {@link ListProjectsRequest}
88
92
* @returns A Promise of ListProjectsResponse
89
93
*/
90
94
listProjects = ( request : Readonly < ListProjectsRequest > = { } ) =>
91
95
enrichForPagination ( 'projects' , this . pageOfListProjects , request )
92
96
93
97
/**
94
- * Get an existing Project. Retrieve information about an existing Project,
95
- * specified by its Project ID. Its full details, including ID, name and
96
- * description, are returned in the response object.
98
+ * Get an existing Project. Deprecated in favor of Account API v3. Retrieve
99
+ * information about an existing Project, specified by its Project ID. Its
100
+ * full details, including ID, name and description, are returned in the
101
+ * response object.
97
102
*
103
+ * @deprecated
98
104
* @param request - The request {@link GetProjectRequest}
99
105
* @returns A Promise of Project
100
106
*/
@@ -111,11 +117,13 @@ export class API extends ParentAPI {
111
117
)
112
118
113
119
/**
114
- * Delete an existing Project. Delete an existing Project, specified by its
115
- * Project ID. The Project needs to be empty (meaning there are no resources
116
- * left in it) to be deleted effectively. Note that deleting a Project is
117
- * permanent, and cannot be undone.
120
+ * Delete an existing Project. Deprecated in favor of Account API v3. Delete
121
+ * an existing Project, specified by its Project ID. The Project needs to be
122
+ * empty (meaning there are no resources left in it) to be deleted
123
+ * effectively. Note that deleting a Project is permanent, and cannot be
124
+ * undone.
118
125
*
126
+ * @deprecated
119
127
* @param request - The request {@link DeleteProjectRequest}
120
128
*/
121
129
deleteProject = ( request : Readonly < DeleteProjectRequest > = { } ) =>
@@ -128,9 +136,11 @@ export class API extends ParentAPI {
128
136
} )
129
137
130
138
/**
131
- * Update Project. Update the parameters of an existing Project, specified by
132
- * its Project ID. These parameters include the name and description.
139
+ * Update Project. Deprecated in favor of Account API v3. Update the
140
+ * parameters of an existing Project, specified by its Project ID. These
141
+ * parameters include the name and description.
133
142
*
143
+ * @deprecated
134
144
* @param request - The request {@link UpdateProjectRequest}
135
145
* @returns A Promise of Project
136
146
*/
0 commit comments