Class: Google::Cloud::Asset::V1::CreateSavedQueryRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/asset/v1/asset_service.rb

Overview

Request to create a saved query.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns 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").



1430
1431
1432
1433
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1430

class CreateSavedQueryRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#saved_query::Google::Cloud::Asset::V1::SavedQuery

Returns 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:



1430
1431
1432
1433
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1430

class CreateSavedQueryRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#saved_query_id::String

Returns 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.



1430
1431
1432
1433
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1430

class CreateSavedQueryRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end