Enum PartitionSpec.PartitionKey (3.76.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public enum PartitionSpec . PartitionKey extends Enum<PartitionSpec . PartitionKey > implements ProtocolMessageEnum
Static Fields
Name
Description
PARTITION_KEY_UNSPECIFIED
Unspecified partition key. If used, it means using non-partitioned table.
PARTITION_KEY_UNSPECIFIED = 0;
PARTITION_KEY_UNSPECIFIED_VALUE
Unspecified partition key. If used, it means using non-partitioned table.
PARTITION_KEY_UNSPECIFIED = 0;
READ_TIME
The time when the snapshot is taken. If specified as partition key, the
result table(s) is partitioned by the additional timestamp column,
readTime. If [read_time] in ExportAssetsRequest is specified, the
readTime column's value will be the same as it. Otherwise, its value will
be the current time that is used to take the snapshot.
READ_TIME = 1;
READ_TIME_VALUE
The time when the snapshot is taken. If specified as partition key, the
result table(s) is partitioned by the additional timestamp column,
readTime. If [read_time] in ExportAssetsRequest is specified, the
readTime column's value will be the same as it. Otherwise, its value will
be the current time that is used to take the snapshot.
READ_TIME = 1;
REQUEST_TIME
The time when the request is received and started to be processed. If
specified as partition key, the result table(s) is partitioned by the
requestTime column, an additional timestamp column representing when the
request was received.
REQUEST_TIME = 2;
REQUEST_TIME_VALUE
The time when the request is received and started to be processed. If
specified as partition key, the result table(s) is partitioned by the
requestTime column, an additional timestamp column representing when the
request was received.
REQUEST_TIME = 2;
UNRECOGNIZED
Static Methods
Name
Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)
Deprecated. Use #forNumber(int) instead.
valueOf(String name)
values()
Methods
Name
Description
getDescriptorForType()
getNumber()
getValueDescriptor()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,["# Enum PartitionSpec.PartitionKey (3.76.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.76.0 (latest)](/java/docs/reference/google-cloud-asset/latest/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.74.0](/java/docs/reference/google-cloud-asset/3.74.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.72.0](/java/docs/reference/google-cloud-asset/3.72.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.71.0](/java/docs/reference/google-cloud-asset/3.71.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.68.0](/java/docs/reference/google-cloud-asset/3.68.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.67.0](/java/docs/reference/google-cloud-asset/3.67.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.66.0](/java/docs/reference/google-cloud-asset/3.66.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.64.0](/java/docs/reference/google-cloud-asset/3.64.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.63.0](/java/docs/reference/google-cloud-asset/3.63.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.62.0](/java/docs/reference/google-cloud-asset/3.62.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.61.0](/java/docs/reference/google-cloud-asset/3.61.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.60.0](/java/docs/reference/google-cloud-asset/3.60.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.59.0](/java/docs/reference/google-cloud-asset/3.59.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.58.0](/java/docs/reference/google-cloud-asset/3.58.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.57.0](/java/docs/reference/google-cloud-asset/3.57.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.56.0](/java/docs/reference/google-cloud-asset/3.56.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.55.0](/java/docs/reference/google-cloud-asset/3.55.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.53.0](/java/docs/reference/google-cloud-asset/3.53.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.52.0](/java/docs/reference/google-cloud-asset/3.52.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.51.0](/java/docs/reference/google-cloud-asset/3.51.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.50.0](/java/docs/reference/google-cloud-asset/3.50.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.49.0](/java/docs/reference/google-cloud-asset/3.49.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.48.0](/java/docs/reference/google-cloud-asset/3.48.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.47.0](/java/docs/reference/google-cloud-asset/3.47.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.46.0](/java/docs/reference/google-cloud-asset/3.46.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.45.0](/java/docs/reference/google-cloud-asset/3.45.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.44.0](/java/docs/reference/google-cloud-asset/3.44.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.43.0](/java/docs/reference/google-cloud-asset/3.43.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.41.0](/java/docs/reference/google-cloud-asset/3.41.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.40.0](/java/docs/reference/google-cloud-asset/3.40.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.39.0](/java/docs/reference/google-cloud-asset/3.39.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.38.0](/java/docs/reference/google-cloud-asset/3.38.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.37.0](/java/docs/reference/google-cloud-asset/3.37.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.36.0](/java/docs/reference/google-cloud-asset/3.36.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.35.0](/java/docs/reference/google-cloud-asset/3.35.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.34.0](/java/docs/reference/google-cloud-asset/3.34.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.33.0](/java/docs/reference/google-cloud-asset/3.33.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.32.0](/java/docs/reference/google-cloud-asset/3.32.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.31.0](/java/docs/reference/google-cloud-asset/3.31.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.28.0](/java/docs/reference/google-cloud-asset/3.28.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.27.0](/java/docs/reference/google-cloud-asset/3.27.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.26.0](/java/docs/reference/google-cloud-asset/3.26.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.25.0](/java/docs/reference/google-cloud-asset/3.25.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.24.0](/java/docs/reference/google-cloud-asset/3.24.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.23.0](/java/docs/reference/google-cloud-asset/3.23.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.22.0](/java/docs/reference/google-cloud-asset/3.22.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.21.0](/java/docs/reference/google-cloud-asset/3.21.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.20.0](/java/docs/reference/google-cloud-asset/3.20.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.19.0](/java/docs/reference/google-cloud-asset/3.19.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.18.0](/java/docs/reference/google-cloud-asset/3.18.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.17.0](/java/docs/reference/google-cloud-asset/3.17.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.16.0](/java/docs/reference/google-cloud-asset/3.16.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.15.0](/java/docs/reference/google-cloud-asset/3.15.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.14.0](/java/docs/reference/google-cloud-asset/3.14.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.13.0](/java/docs/reference/google-cloud-asset/3.13.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.12.0](/java/docs/reference/google-cloud-asset/3.12.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.11.0](/java/docs/reference/google-cloud-asset/3.11.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.10.0](/java/docs/reference/google-cloud-asset/3.10.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.9.0](/java/docs/reference/google-cloud-asset/3.9.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.8.0](/java/docs/reference/google-cloud-asset/3.8.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.7.2-SNAPSHOT](/java/docs/reference/google-cloud-asset/3.7.2-SNAPSHOT/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.6.0](/java/docs/reference/google-cloud-asset/3.6.0/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.4.1](/java/docs/reference/google-cloud-asset/3.4.1/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.3.1](/java/docs/reference/google-cloud-asset/3.3.1/com.google.cloud.asset.v1.PartitionSpec.PartitionKey)\n- [3.2.17](/java/docs/reference/google-cloud-asset/3.2.17/com.google.cloud.asset.v1.PartitionSpec.PartitionKey) \n\n public enum PartitionSpec.PartitionKey extends Enum\u003cPartitionSpec.PartitionKey\u003e implements ProtocolMessageEnum\n\nThis enum is used to determine the partition key column when exporting\nassets to BigQuery partitioned table(s). Note that, if the partition key is\na timestamp column, the actual partition is based on its date value\n(expressed in UTC. see details in\n\u003chttps://cloud.google.com/bigquery/docs/partitioned-tables#date_timestamp_partitioned_tables\u003e).\n\nProtobuf enum `google.cloud.asset.v1.PartitionSpec.PartitionKey` \n\nImplements\n----------\n\n[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html) \n\nInherited Members\n-----------------\n\n[Enum.\\\u003cT\\\u003evalueOf(Class\\\u003cT\\\u003e,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) \n[Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) \n[Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) \n[Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) \n[Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) \n[Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) \n[Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) \n[Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) \n[Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) \n[Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)"]]