public static final class ExportAssetsRequest.Builder extends GeneratedMessageV3.Builder<ExportAssetsRequest.Builder> implements ExportAssetsRequestOrBuilder
Export asset request.Protobuf type
google.cloud.asset.v1p7beta1.ExportAssetsRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public ExportAssetsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public ExportAssetsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ExportAssetsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ExportAssetsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ExportAssetsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public ExportAssetsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public ExportAssetsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public ExportAssetsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public ExportAssetsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public ExportAssetsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public ExportAssetsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ExportAssetsRequest.Builder>
public ExportAssetsRequest.Builder mergeFrom(ExportAssetsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public ExportAssetsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ExportAssetsRequest.Builder>
IOException
public String getParent()
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"), or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface ExportAssetsRequestOrBuilder
public ByteString getParentBytes()
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"), or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface ExportAssetsRequestOrBuilder
public ExportAssetsRequest.Builder setParent(String value)
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"), or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The parent to set.public ExportAssetsRequest.Builder clearParent()
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"), or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ExportAssetsRequest.Builder setParentBytes(ByteString value)
Required. The relative name of the root asset. This can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"), or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for parent to set.public boolean hasReadTime()
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;
hasReadTime
in interface ExportAssetsRequestOrBuilder
public Timestamp getReadTime()
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;
getReadTime
in interface ExportAssetsRequestOrBuilder
public ExportAssetsRequest.Builder setReadTime(Timestamp value)
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;
public ExportAssetsRequest.Builder setReadTime(Timestamp.Builder builderForValue)
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;
public ExportAssetsRequest.Builder mergeReadTime(Timestamp value)
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;
public ExportAssetsRequest.Builder clearReadTime()
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;
public Timestamp.Builder getReadTimeBuilder()
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;
public TimestampOrBuilder getReadTimeOrBuilder()
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;
getReadTimeOrBuilder
in interface ExportAssetsRequestOrBuilder
public ProtocolStringList getAssetTypesList()
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;
getAssetTypesList
in interface ExportAssetsRequestOrBuilder
public int getAssetTypesCount()
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;
getAssetTypesCount
in interface ExportAssetsRequestOrBuilder
public String getAssetTypes(int index)
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;
getAssetTypes
in interface ExportAssetsRequestOrBuilder
index
- The index of the element to return.public ByteString getAssetTypesBytes(int index)
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;
getAssetTypesBytes
in interface ExportAssetsRequestOrBuilder
index
- The index of the value to return.public ExportAssetsRequest.Builder setAssetTypes(int index, String value)
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;
index
- The index to set the value at.value
- The assetTypes to set.public ExportAssetsRequest.Builder addAssetTypes(String value)
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;
value
- The assetTypes to add.public ExportAssetsRequest.Builder addAllAssetTypes(Iterable<String> values)
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;
values
- The assetTypes to add.public ExportAssetsRequest.Builder clearAssetTypes()
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;
public ExportAssetsRequest.Builder addAssetTypesBytes(ByteString value)
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;
value
- The bytes of the assetTypes to add.public int getContentTypeValue()
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p7beta1.ContentType content_type = 4;
getContentTypeValue
in interface ExportAssetsRequestOrBuilder
public ExportAssetsRequest.Builder setContentTypeValue(int value)
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p7beta1.ContentType content_type = 4;
value
- The enum numeric value on the wire for contentType to set.public ContentType getContentType()
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p7beta1.ContentType content_type = 4;
getContentType
in interface ExportAssetsRequestOrBuilder
public ExportAssetsRequest.Builder setContentType(ContentType value)
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p7beta1.ContentType content_type = 4;
value
- The contentType to set.public ExportAssetsRequest.Builder clearContentType()
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p7beta1.ContentType content_type = 4;
public boolean hasOutputConfig()
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
hasOutputConfig
in interface ExportAssetsRequestOrBuilder
public OutputConfig getOutputConfig()
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
getOutputConfig
in interface ExportAssetsRequestOrBuilder
public ExportAssetsRequest.Builder setOutputConfig(OutputConfig value)
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
public ExportAssetsRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
public ExportAssetsRequest.Builder mergeOutputConfig(OutputConfig value)
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
public ExportAssetsRequest.Builder clearOutputConfig()
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
public OutputConfig.Builder getOutputConfigBuilder()
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
public OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
getOutputConfigOrBuilder
in interface ExportAssetsRequestOrBuilder
public ProtocolStringList getRelationshipTypesList()
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]' specified relationships, or give errors if any relationship_types' supported types are not in [asset_types]. If not specified, it will snapshot all [asset_types]' supported relationships. An unspecified [asset_types] field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;
getRelationshipTypesList
in interface ExportAssetsRequestOrBuilder
public int getRelationshipTypesCount()
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]' specified relationships, or give errors if any relationship_types' supported types are not in [asset_types]. If not specified, it will snapshot all [asset_types]' supported relationships. An unspecified [asset_types] field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;
getRelationshipTypesCount
in interface ExportAssetsRequestOrBuilder
public String getRelationshipTypes(int index)
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]' specified relationships, or give errors if any relationship_types' supported types are not in [asset_types]. If not specified, it will snapshot all [asset_types]' supported relationships. An unspecified [asset_types] field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;
getRelationshipTypes
in interface ExportAssetsRequestOrBuilder
index
- The index of the element to return.public ByteString getRelationshipTypesBytes(int index)
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]' specified relationships, or give errors if any relationship_types' supported types are not in [asset_types]. If not specified, it will snapshot all [asset_types]' supported relationships. An unspecified [asset_types] field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;
getRelationshipTypesBytes
in interface ExportAssetsRequestOrBuilder
index
- The index of the value to return.public ExportAssetsRequest.Builder setRelationshipTypes(int index, String value)
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]' specified relationships, or give errors if any relationship_types' supported types are not in [asset_types]. If not specified, it will snapshot all [asset_types]' supported relationships. An unspecified [asset_types] field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;
index
- The index to set the value at.value
- The relationshipTypes to set.public ExportAssetsRequest.Builder addRelationshipTypes(String value)
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]' specified relationships, or give errors if any relationship_types' supported types are not in [asset_types]. If not specified, it will snapshot all [asset_types]' supported relationships. An unspecified [asset_types] field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;
value
- The relationshipTypes to add.public ExportAssetsRequest.Builder addAllRelationshipTypes(Iterable<String> values)
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]' specified relationships, or give errors if any relationship_types' supported types are not in [asset_types]. If not specified, it will snapshot all [asset_types]' supported relationships. An unspecified [asset_types] field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;
values
- The relationshipTypes to add.public ExportAssetsRequest.Builder clearRelationshipTypes()
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]' specified relationships, or give errors if any relationship_types' supported types are not in [asset_types]. If not specified, it will snapshot all [asset_types]' supported relationships. An unspecified [asset_types] field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;
public ExportAssetsRequest.Builder addRelationshipTypesBytes(ByteString value)
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. If specified, it will snapshot [asset_types]' specified relationships, or give errors if any relationship_types' supported types are not in [asset_types]. If not specified, it will snapshot all [asset_types]' supported relationships. An unspecified [asset_types] field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;
value
- The bytes of the relationshipTypes to add.public final ExportAssetsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
public final ExportAssetsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.