com.google.cloud.bigquery.datapolicies.v1.datapolicy

Members list

Type members

Classlikes

final case class CreateDataPolicyRequest(parent: String, dataPolicy: Option[DataPolicy], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[CreateDataPolicyRequest]

Request message for the CreateDataPolicy method.

Request message for the CreateDataPolicy method.

Value parameters

dataPolicy

Required. The data policy to create. The name field does not need to be provided for the data policy creation.

parent

Required. Resource name of the project that the data policy will belong to. The format is projects/{project_number}/locations/{location_id}.

Attributes

Companion
object
Source
CreateDataPolicyRequest.scala
Supertypes
trait Updatable[CreateDataPolicyRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object CreateDataPolicyRequest extends GeneratedMessageCompanion[CreateDataPolicyRequest]

Attributes

Companion
class
Source
CreateDataPolicyRequest.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[CreateDataPolicyRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class DataMaskingPolicy(maskingExpression: MaskingExpression, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[DataMaskingPolicy]

The data masking policy that is used to specify data masking rule.

The data masking policy that is used to specify data masking rule.

Attributes

Companion
object
Source
DataMaskingPolicy.scala
Supertypes
trait Updatable[DataMaskingPolicy]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DataMaskingPolicy extends GeneratedMessageCompanion[DataMaskingPolicy]

Attributes

Companion
class
Source
DataMaskingPolicy.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[DataMaskingPolicy]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class DataPolicy(matchingLabel: MatchingLabel, policy: Policy, name: String, dataPolicyType: DataPolicyType, dataPolicyId: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[DataPolicy]

Represents the label-policy binding.

Represents the label-policy binding.

Value parameters

dataPolicyId

User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name.

dataPolicyType

Type of data policy.

name

Output only. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.

Attributes

Companion
object
Source
DataPolicy.scala
Supertypes
trait Updatable[DataPolicy]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DataPolicy extends GeneratedMessageCompanion[DataPolicy]

Attributes

Companion
class
Source
DataPolicy.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[DataPolicy]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
DataPolicy.type
trait DataPolicyService[F[_]]

Data Policy Service provides APIs for managing the label-policy bindings.

Data Policy Service provides APIs for managing the label-policy bindings.

Attributes

Companion
object
Source
DataPolicyService.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
DataPolicyService.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object DatapolicyProto extends GeneratedFileObject

Attributes

Source
DatapolicyProto.scala
Supertypes
class GeneratedFileObject
class Object
trait Matchable
class Any
Self type
final case class DeleteDataPolicyRequest(name: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[DeleteDataPolicyRequest]

Request message for the DeleteDataPolicy method.

Request message for the DeleteDataPolicy method.

Value parameters

name

Required. Resource name of the data policy to delete. Format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.

Attributes

Companion
object
Source
DeleteDataPolicyRequest.scala
Supertypes
trait Updatable[DeleteDataPolicyRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DeleteDataPolicyRequest extends GeneratedMessageCompanion[DeleteDataPolicyRequest]

Attributes

Companion
class
Source
DeleteDataPolicyRequest.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[DeleteDataPolicyRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class GetDataPolicyRequest(name: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[GetDataPolicyRequest]

Request message for the GetDataPolicy method.

Request message for the GetDataPolicy method.

Value parameters

name

Required. Resource name of the requested data policy. Format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.

Attributes

Companion
object
Source
GetDataPolicyRequest.scala
Supertypes
trait Updatable[GetDataPolicyRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object GetDataPolicyRequest extends GeneratedMessageCompanion[GetDataPolicyRequest]

Attributes

Companion
class
Source
GetDataPolicyRequest.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[GetDataPolicyRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class ListDataPoliciesRequest(parent: String, pageSize: Int, pageToken: String, filter: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ListDataPoliciesRequest]

Request message for the ListDataPolicies method.

Request message for the ListDataPolicies method.

Value parameters

filter

Filters the data policies by policy tags that they are associated with. Currently filter only supports "policy<span></span>_tag" based filtering and OR based predicates. Sample filter can be "policy<span></span>_tag: projects/1/locations/us/taxonomies/2/policyTags/3". You may also use wildcard such as "policy<span></span>_tag: projects/1/locations/us/taxonomies/2*". Please note that OR predicates cannot be used with wildcard filters.

pageSize

The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defaults to 50.

pageToken

The nextPageToken value returned from a previous list request, if any. If not set, defaults to an empty string.

parent

Required. Resource name of the project for which to list data policies. Format is projects/{project_number}/locations/{location_id}.

Attributes

Companion
object
Source
ListDataPoliciesRequest.scala
Supertypes
trait Updatable[ListDataPoliciesRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ListDataPoliciesRequest extends GeneratedMessageCompanion[ListDataPoliciesRequest]

Attributes

Companion
class
Source
ListDataPoliciesRequest.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[ListDataPoliciesRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class ListDataPoliciesResponse(dataPolicies: Seq[DataPolicy], nextPageToken: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ListDataPoliciesResponse]

Response message for the ListDataPolicies method.

Response message for the ListDataPolicies method.

Value parameters

dataPolicies

Data policies that belong to the requested project.

nextPageToken

Token used to retrieve the next page of results, or empty if there are no more results.

Attributes

Companion
object
Source
ListDataPoliciesResponse.scala
Supertypes
trait Updatable[ListDataPoliciesResponse]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ListDataPoliciesResponse extends GeneratedMessageCompanion[ListDataPoliciesResponse]

Attributes

Companion
class
Source
ListDataPoliciesResponse.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[ListDataPoliciesResponse]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class RenameDataPolicyRequest(name: String, newDataPolicyId: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[RenameDataPolicyRequest]

Request message for the RenameDataPolicy method.

Request message for the RenameDataPolicy method.

Value parameters

name

Required. Resource name of the data policy to rename. The format is projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}

newDataPolicyId

Required. The new data policy id.

Attributes

Companion
object
Source
RenameDataPolicyRequest.scala
Supertypes
trait Updatable[RenameDataPolicyRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object RenameDataPolicyRequest extends GeneratedMessageCompanion[RenameDataPolicyRequest]

Attributes

Companion
class
Source
RenameDataPolicyRequest.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[RenameDataPolicyRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class UpdateDataPolicyRequest(dataPolicy: Option[DataPolicy], updateMask: Option[FieldMask], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[UpdateDataPolicyRequest]

Response message for the UpdateDataPolicy method.

Response message for the UpdateDataPolicy method.

Value parameters

dataPolicy

Required. Update the data policy's metadata. The target data policy is determined by the name field. Other fields are updated to the specified values based on the field masks.

updateMask

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the name and dataPolicyId fields are not allowed.

Attributes

Companion
object
Source
UpdateDataPolicyRequest.scala
Supertypes
trait Updatable[UpdateDataPolicyRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object UpdateDataPolicyRequest extends GeneratedMessageCompanion[UpdateDataPolicyRequest]

Attributes

Companion
class
Source
UpdateDataPolicyRequest.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[UpdateDataPolicyRequest]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type