Interface CreateSavedQueryRequestOrBuilder (3.13.0)

public interface CreateSavedQueryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getSavedQuery()

public abstract SavedQuery getSavedQuery()

Required. The saved_query details. The name field must be empty as it will be generated based on the parent and saved_query_id.

.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SavedQuery

The savedQuery.

getSavedQueryId()

public abstract String getSavedQueryId()

Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are a-z-. Notice that this field is required in the saved query creation, and the name field of the saved_query will be ignored.

string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The savedQueryId.

getSavedQueryIdBytes()

public abstract ByteString getSavedQueryIdBytes()

Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are a-z-. Notice that this field is required in the saved query creation, and the name field of the saved_query will be ignored.

string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for savedQueryId.

getSavedQueryOrBuilder()

public abstract SavedQueryOrBuilder getSavedQueryOrBuilder()

Required. The saved_query details. The name field must be empty as it will be generated based on the parent and saved_query_id.

.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SavedQueryOrBuilder

hasSavedQuery()

public abstract boolean hasSavedQuery()

Required. The saved_query details. The name field must be empty as it will be generated based on the parent and saved_query_id.

.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the savedQuery field is set.