Module api

Module api 

Source

Structs§

ApiKeysService
Central instance to access all ApiKeysService related resource activities
KeyLookupKeyCall
Find the parent project and resource name of the API key that matches the key string in the request. If the API key has been purged, resource name will not be set. The service account must have the apikeys.keys.lookup permission on the parent project.
KeyMethods
A builder providing access to all methods supported on key resources. It is not used directly, but through the ApiKeysService hub.
Operation
This resource represents a long-running operation that is the result of a network API call.
OperationGetCall
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
OperationMethods
A builder providing access to all methods supported on operation resources. It is not used directly, but through the ApiKeysService hub.
ProjectLocationKeyCreateCall
Creates a new API key. NOTE: Key is a global resource; hence the only supported value for location is global.
ProjectLocationKeyDeleteCall
Deletes an API key. Deleted key can be retrieved within 30 days of deletion. Afterward, key will be purged from the project. NOTE: Key is a global resource; hence the only supported value for location is global.
ProjectLocationKeyGetCall
Gets the metadata for an API key. The key string of the API key isn’t included in the response. NOTE: Key is a global resource; hence the only supported value for location is global.
ProjectLocationKeyGetKeyStringCall
Get the key string for an API key. NOTE: Key is a global resource; hence the only supported value for location is global.
ProjectLocationKeyListCall
Lists the API keys owned by a project. The key string of the API key isn’t included in the response. NOTE: Key is a global resource; hence the only supported value for location is global.
ProjectLocationKeyPatchCall
Patches the modifiable fields of an API key. The key string of the API key isn’t included in the response. NOTE: Key is a global resource; hence the only supported value for location is global.
ProjectLocationKeyUndeleteCall
Undeletes an API key which was deleted within 30 days. NOTE: Key is a global resource; hence the only supported value for location is global.
ProjectMethods
A builder providing access to all methods supported on project resources. It is not used directly, but through the ApiKeysService hub.
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
V2AndroidApplication
Identifier of an Android application for key use.
V2AndroidKeyRestrictions
The Android apps that are allowed to use the key.
V2ApiTarget
A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.
V2BrowserKeyRestrictions
The HTTP referrers (websites) that are allowed to use the key.
V2GetKeyStringResponse
Response message for GetKeyString method.
V2IosKeyRestrictions
The iOS apps that are allowed to use the key.
V2Key
The representation of a key managed by the API Keys API.
V2ListKeysResponse
Response message for ListKeys method.
V2LookupKeyResponse
Response message for LookupKey method.
V2Restrictions
Describes the restrictions on the key.
V2ServerKeyRestrictions
The IP addresses of callers that are allowed to use the key.
V2UndeleteKeyRequest
Request message for UndeleteKey method.

Enums§

Scope
Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.