• Home
  • Raw
  • Download

Lines Matching +full:api +full:- +full:name

7 //     http://www.apache.org/licenses/LICENSE-2.0
17 package google.api.apikeys.v2;
19 import "google/api/annotations.proto";
20 import "google/api/apikeys/v2/resources.proto";
21 import "google/api/client.proto";
22 import "google/api/field_behavior.proto";
23 import "google/api/resource.proto";
32 option java_package = "com.google.api.apikeys.v2";
36 // Manages the API keys associated with projects.
38 option (google.api.default_host) = "apikeys.googleapis.com";
39 option (google.api.oauth_scopes) =
40 "https://www.googleapis.com/auth/cloud-platform,"
41 "https://www.googleapis.com/auth/cloud-platform.read-only";
43 // Creates a new API key.
48 option (google.api.http) = {
52 option (google.api.method_signature) = "parent,key,key_id";
59 // Lists the API keys owned by a project. The key string of the API key
65 option (google.api.http) = {
68 option (google.api.method_signature) = "parent";
71 // Gets the metadata for an API key. The key string of the API key
77 option (google.api.http) = {
78 get: "/v2/{name=projects/*/locations/*/keys/*}"
80 option (google.api.method_signature) = "name";
83 // Get the key string for an API key.
88 option (google.api.http) = {
89 get: "/v2/{name=projects/*/locations/*/keys/*}/keyString"
91 option (google.api.method_signature) = "name";
94 // Patches the modifiable fields of an API key.
95 // The key string of the API key isn't included in the response.
100 option (google.api.http) = {
101 patch: "/v2/{key.name=projects/*/locations/*/keys/*}"
104 option (google.api.method_signature) = "key,update_mask";
111 // Deletes an API key. Deleted key can be retrieved within 30 days of
117 option (google.api.http) = {
118 delete: "/v2/{name=projects/*/locations/*/keys/*}"
120 option (google.api.method_signature) = "name";
127 // Undeletes an API key which was deleted within 30 days.
132 option (google.api.http) = {
133 post: "/v2/{name=projects/*/locations/*/keys/*}:undelete"
142 // Find the parent project and resource name of the API
143 // key that matches the key string in the request. If the API key has been
144 // purged, resource name will not be set.
148 option (google.api.http) = {
156 // Required. The project in which the API key is created.
158 (google.api.field_behavior) = REQUIRED,
159 (google.api.resource_reference) = {
164 // Required. The API key fields to set at creation time.
167 Key key = 2 [(google.api.field_behavior) = REQUIRED];
170 // component of the key resource name.
172 // The id must be unique within the project, must conform with RFC-1034,
173 // is restricted to lower-cased letters, and has a maximum length of 63
175 // expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
177 // The id must NOT be a UUID-like string.
183 // Required. Lists all API keys associated with this project.
185 (google.api.field_behavior) = REQUIRED,
186 (google.api.resource_reference) = {
192 int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
195 string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
199 bool show_deleted = 6 [(google.api.field_behavior) = OPTIONAL];
204 // A list of API keys.
213 // Required. The resource name of the API key to get.
214 string name = 1 [ field
215 (google.api.field_behavior) = REQUIRED,
216 (google.api.resource_reference) = { type: "apikeys.googleapis.com/Key" }
222 // Required. The resource name of the API key to be retrieved.
223 string name = 1 [ field
224 (google.api.field_behavior) = REQUIRED,
225 (google.api.resource_reference) = { type: "apikeys.googleapis.com/Key" }
237 // Required. Set the `name` field to the resource name of the API key to be
240 Key key = 1 [(google.api.field_behavior) = REQUIRED];
254 // Required. The resource name of the API key to be deleted.
255 string name = 1 [ field
256 (google.api.field_behavior) = REQUIRED,
257 (google.api.resource_reference) = { type: "apikeys.googleapis.com/Key" }
262 string etag = 2 [(google.api.field_behavior) = OPTIONAL];
267 // Required. The resource name of the API key to be undeleted.
268 string name = 1 [ field
269 (google.api.field_behavior) = REQUIRED,
270 (google.api.resource_reference) = { type: "apikeys.googleapis.com/Key" }
277 string key_string = 1 [(google.api.field_behavior) = REQUIRED];
285 // The resource name of the API key. If the API key has been purged,
286 // resource name is empty.
287 string name = 2; field