ProjectsLocationsDataPoliciesResource class
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
-
addGrantees(AddGranteesRequest request, String dataPolicy, {String? $fields})
→ Future<DataPolicy>
-
Adds new grantees to a data policy.
-
create(CreateDataPolicyRequest request, String parent, {String? $fields})
→ Future<DataPolicy>
-
Creates a new data policy under a project with the given
data_policy_id
(used as the display name), and data policy type.
-
delete(String name, {String? $fields})
→ Future<Empty>
-
Deletes the data policy specified by its resource name.
-
get(String name, {String? $fields})
→ Future<DataPolicy>
-
Gets the data policy specified by its resource name.
-
getIamPolicy(GetIamPolicyRequest request, String resource, {String? $fields})
→ Future<Policy>
-
Gets the IAM policy for the specified data policy.
-
list(String parent, {String? filter, int? pageSize, String? pageToken, String? $fields})
→ Future<ListDataPoliciesResponse>
-
List all of the data policies in the specified parent project.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(DataPolicy request, String name, {bool? allowMissing, String? updateMask, String? $fields})
→ Future<DataPolicy>
-
Updates the metadata for an existing data policy.
-
removeGrantees(RemoveGranteesRequest request, String dataPolicy, {String? $fields})
→ Future<DataPolicy>
-
Removes grantees from a data policy.
-
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields})
→ Future<Policy>
-
Sets the IAM policy for the specified data policy.
-
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields})
→ Future<TestIamPermissionsResponse>
-
Returns the caller's permission on the specified data policy resource.
-
toString()
→ String
-
A string representation of this object.
inherited