1.9.1 (latest) 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.32.0 0.31.0 0.30.0 0.29.3 0.28.1 0.27.0 0.26.1 0.25.0 0.24.0 0.23.0 0.22.0 0.21.1 0.20.1 0.19.0 0.18.0 0.17.3 Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::CreateSavedQueryRequest.

Request to create a saved query.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- 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").

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- 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").
**Returns**

- (::String) --- 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").

### #saved_query

    def saved_query() -> ::Google::Cloud::Asset::V1::SavedQuery

**Returns**

- ([::Google::Cloud::Asset::V1::SavedQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-SavedQuery)) --- Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.

### #saved_query=

    def saved_query=(value) -> ::Google::Cloud::Asset::V1::SavedQuery

**Parameter**

- **value** ([::Google::Cloud::Asset::V1::SavedQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-SavedQuery)) --- Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.
**Returns**

- ([::Google::Cloud::Asset::V1::SavedQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Cloud-Asset-V1-SavedQuery)) --- Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.

### #saved_query_id

    def saved_query_id() -> ::String

**Returns**

- (::String) --- 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][0-9]-`.

  Notice that this field is required in the saved query creation, and the
  `name` field of the `saved_query` will be ignored.

### #saved_query_id=

    def saved_query_id=(value) -> ::String

**Parameter**

- **value** (::String) --- 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][0-9]-`.

  Notice that this field is required in the saved query creation, and the
  `name` field of the `saved_query` will be ignored.
**Returns**

- (::String) --- 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][0-9]-`.

  Notice that this field is required in the saved query creation, and the
  `name` field of the `saved_query` will be ignored.