Package | Description |
---|---|
com.google.cloud.asset.v1 |
The interfaces provided are listed below, along with usage samples.
|
Modifier and Type | Method and Description |
---|---|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAllAttachedResources(Iterable<? extends AttachedResource> values)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAllFolders(Iterable<String> values)
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAllNetworkTags(Iterable<String> values)
Network tags associated with this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAllTagKeys(Iterable<String> values)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAllTagValueIds(Iterable<String> values)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAllTagValues(Iterable<String> values)
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAllVersionedResources(Iterable<? extends VersionedResource> values)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAttachedResources(AttachedResource.Builder builderForValue)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAttachedResources(AttachedResource value)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAttachedResources(int index,
AttachedResource.Builder builderForValue)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addAttachedResources(int index,
AttachedResource value)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addFolders(String value)
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addFoldersBytes(ByteString value)
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addNetworkTags(String value)
Network tags associated with this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addNetworkTagsBytes(ByteString value)
Network tags associated with this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ResourceSearchResult.Builder |
SearchAllResourcesResponse.Builder.addResultsBuilder()
A list of Resources that match the search query.
|
ResourceSearchResult.Builder |
SearchAllResourcesResponse.Builder.addResultsBuilder(int index)
A list of Resources that match the search query.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addTagKeys(String value)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addTagKeysBytes(ByteString value)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addTagValueIds(String value)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addTagValueIdsBytes(ByteString value)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addTagValues(String value)
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addTagValuesBytes(ByteString value)
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addVersionedResources(int index,
VersionedResource.Builder builderForValue)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addVersionedResources(int index,
VersionedResource value)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addVersionedResources(VersionedResource.Builder builderForValue)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.addVersionedResources(VersionedResource value)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clear() |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearAdditionalAttributes()
The additional searchable attributes of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearAssetType()
The type of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearAttachedResources()
Attached resources of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearCreateTime()
The create timestamp of this resource, at which the resource was created.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearDescription()
One or more paragraphs of text description of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearDisplayName()
The display name of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearField(Descriptors.FieldDescriptor field) |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearFolders()
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearKmsKey()
The Cloud KMS
[CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
name or
[CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
name.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearLabels() |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearLocation()
Location can be `global`, regional like `us-east1`, or zonal like
`us-west1-b`.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearName()
The full resource name of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearNetworkTags()
Network tags associated with this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearOrganization()
The organization that this resource belongs to, in the form of
organizations/{ORGANIZATION_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearParentAssetType()
The type of this resource's immediate parent, if there is one.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearParentFullResourceName()
The full resource name of this resource's parent, if it has one.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearProject()
The project that this resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearRelationships() |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearState()
The state of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearTagKeys()
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearTagValueIds()
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearTagValues()
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearUpdateTime()
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clearVersionedResources()
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.clone() |
ResourceSearchResult.Builder |
SearchAllResourcesResponse.Builder.getResultsBuilder(int index)
A list of Resources that match the search query.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.mergeAdditionalAttributes(Struct value)
The additional searchable attributes of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.mergeCreateTime(Timestamp value)
The create timestamp of this resource, at which the resource was created.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.mergeFrom(Message other) |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.mergeFrom(ResourceSearchResult other) |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.mergeUpdateTime(Timestamp value)
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
static ResourceSearchResult.Builder |
ResourceSearchResult.newBuilder() |
static ResourceSearchResult.Builder |
ResourceSearchResult.newBuilder(ResourceSearchResult prototype) |
ResourceSearchResult.Builder |
ResourceSearchResult.newBuilderForType() |
protected ResourceSearchResult.Builder |
ResourceSearchResult.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.putAllLabels(Map<String,String> values)
Labels associated with this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.putAllRelationships(Map<String,RelatedResources> values)
A map of related resources of this resource, keyed by the
relationship type.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.putLabels(String key,
String value)
Labels associated with this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.putRelationships(String key,
RelatedResources value)
A map of related resources of this resource, keyed by the
relationship type.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.removeAttachedResources(int index)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.removeLabels(String key)
Labels associated with this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.removeRelationships(String key)
A map of related resources of this resource, keyed by the
relationship type.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.removeVersionedResources(int index)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setAdditionalAttributes(Struct.Builder builderForValue)
The additional searchable attributes of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setAdditionalAttributes(Struct value)
The additional searchable attributes of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setAssetType(String value)
The type of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setAssetTypeBytes(ByteString value)
The type of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setAttachedResources(int index,
AttachedResource.Builder builderForValue)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setAttachedResources(int index,
AttachedResource value)
Attached resources of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setCreateTime(Timestamp.Builder builderForValue)
The create timestamp of this resource, at which the resource was created.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setCreateTime(Timestamp value)
The create timestamp of this resource, at which the resource was created.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setDescription(String value)
One or more paragraphs of text description of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setDescriptionBytes(ByteString value)
One or more paragraphs of text description of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setDisplayName(String value)
The display name of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setDisplayNameBytes(ByteString value)
The display name of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setFolders(int index,
String value)
The folder(s) that this resource belongs to, in the form of
folders/{FOLDER_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setKmsKey(String value)
The Cloud KMS
[CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
name or
[CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
name.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setKmsKeyBytes(ByteString value)
The Cloud KMS
[CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
name or
[CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
name.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setLocation(String value)
Location can be `global`, regional like `us-east1`, or zonal like
`us-west1-b`.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setLocationBytes(ByteString value)
Location can be `global`, regional like `us-east1`, or zonal like
`us-west1-b`.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setName(String value)
The full resource name of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setNameBytes(ByteString value)
The full resource name of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setNetworkTags(int index,
String value)
Network tags associated with this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setOrganization(String value)
The organization that this resource belongs to, in the form of
organizations/{ORGANIZATION_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setOrganizationBytes(ByteString value)
The organization that this resource belongs to, in the form of
organizations/{ORGANIZATION_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setParentAssetType(String value)
The type of this resource's immediate parent, if there is one.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setParentAssetTypeBytes(ByteString value)
The type of this resource's immediate parent, if there is one.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setParentFullResourceName(String value)
The full resource name of this resource's parent, if it has one.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setParentFullResourceNameBytes(ByteString value)
The full resource name of this resource's parent, if it has one.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setProject(String value)
The project that this resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setProjectBytes(ByteString value)
The project that this resource belongs to, in the form of
projects/{PROJECT_NUMBER}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setState(String value)
The state of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setStateBytes(ByteString value)
The state of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setTagKeys(int index,
String value)
TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setTagValueIds(int index,
String value)
TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setTagValues(int index,
String value)
TagValue namespaced names, in the format of
{ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setUpdateTime(Timestamp.Builder builderForValue)
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setUpdateTime(Timestamp value)
The last update timestamp of this resource, at which the resource was last
modified or deleted.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setVersionedResources(int index,
VersionedResource.Builder builderForValue)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.Builder.setVersionedResources(int index,
VersionedResource value)
Versioned resource representations of this resource.
|
ResourceSearchResult.Builder |
ResourceSearchResult.toBuilder() |
Modifier and Type | Method and Description |
---|---|
List<ResourceSearchResult.Builder> |
SearchAllResourcesResponse.Builder.getResultsBuilderList()
A list of Resources that match the search query.
|
Modifier and Type | Method and Description |
---|---|
SearchAllResourcesResponse.Builder |
SearchAllResourcesResponse.Builder.addResults(int index,
ResourceSearchResult.Builder builderForValue)
A list of Resources that match the search query.
|
SearchAllResourcesResponse.Builder |
SearchAllResourcesResponse.Builder.addResults(ResourceSearchResult.Builder builderForValue)
A list of Resources that match the search query.
|
SearchAllResourcesResponse.Builder |
SearchAllResourcesResponse.Builder.setResults(int index,
ResourceSearchResult.Builder builderForValue)
A list of Resources that match the search query.
|
Copyright © 2022 Google LLC. All rights reserved.