ProjectsLocationsKeysResource class

Constructors

ProjectsLocationsKeysResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(V2Key request, String parent, {String? keyId, String? $fields}) Future<Operation>
Creates a new API key.
delete(String name, {String? etag, String? $fields}) Future<Operation>
Deletes an API key.
get(String name, {String? $fields}) Future<V2Key>
Gets the metadata for an API key.
getKeyString(String name, {String? $fields}) Future<V2GetKeyStringResponse>
Get the key string for an API key.
list(String parent, {int? pageSize, String? pageToken, bool? showDeleted, String? $fields}) Future<V2ListKeysResponse>
Lists the API keys owned by a project.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(V2Key request, String name, {String? updateMask, String? $fields}) Future<Operation>
Patches the modifiable fields of an API key.
toString() String
A string representation of this object.
inherited
undelete(V2UndeleteKeyRequest request, String name, {String? $fields}) Future<Operation>
Undeletes an API key which was deleted within 30 days.

Operators

operator ==(Object other) bool
The equality operator.
inherited