ProjectsSecretsResource class

Constructors

ProjectsSecretsResource(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
versions ProjectsSecretsVersionsResource
no setter

Methods

addVersion(AddSecretVersionRequest request, String parent, {String? $fields}) Future<SecretVersion>
Creates a new SecretVersion containing secret data and attaches it to an existing Secret.
create(Secret request, String parent, {String? secretId, String? $fields}) Future<Secret>
Creates a new Secret containing no SecretVersions.
delete(String name, {String? etag, String? $fields}) Future<Empty>
Deletes a Secret.
get(String name, {String? $fields}) Future<Secret>
Gets metadata for a given Secret.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a secret.
list(String parent, {String? filter, int? pageSize, String? pageToken, String? $fields}) Future<ListSecretsResponse>
Lists Secrets.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Secret request, String name, {String? updateMask, String? $fields}) Future<Secret>
Updates metadata of an existing Secret.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified secret.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Returns permissions that a caller has for the specified secret.
toString() String
A string representation of this object.
inherited

Operators

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