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
    
        - 
  create(DataPolicy request, String parent, {String? $fields})
    → Future<DataPolicy>
  
  
- 
  Creates a new data policy under a project with the given dataPolicyId(used as the display name), policy tag, and data policy type.
- 
  delete(String name, {bool? force, 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.
  
- 
  rename(RenameDataPolicyRequest request, String name, {String? $fields})
    → Future<DataPolicy>
  
  
- 
  Renames the id (display name) of the specified 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