Cloud Asset V1 API - Class Google::Cloud::Asset::V1::SavedQuery (v0.28.1)

Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::SavedQuery.

A saved query which can be shared with others or used later.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content

def content() -> ::Google::Cloud::Asset::V1::SavedQuery::QueryContent
Returns

#content=

def content=(value) -> ::Google::Cloud::Asset::V1::SavedQuery::QueryContent
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#creator

def creator() -> ::String
Returns
  • (::String) — Output only. The account's email address who has created this saved query.

#description

def description() -> ::String
Returns
  • (::String) — The description of this saved query. This value should be fewer than 255 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — The description of this saved query. This value should be fewer than 255 characters.
Returns
  • (::String) — The description of this saved query. This value should be fewer than 255 characters.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.

#last_update_time

def last_update_time() -> ::Google::Protobuf::Timestamp
Returns

#last_updater

def last_updater() -> ::String
Returns
  • (::String) — Output only. The account's email address who has updated this saved query most recently.

#name

def name() -> ::String
Returns
  • (::String) —

    The resource name of the saved query. The format must be:

    • projects/project_number/savedQueries/saved_query_id
    • folders/folder_number/savedQueries/saved_query_id
    • organizations/organization_number/savedQueries/saved_query_id

#name=

def name=(value) -> ::String
Parameter
  • value (::String) —

    The resource name of the saved query. The format must be:

    • projects/project_number/savedQueries/saved_query_id
    • folders/folder_number/savedQueries/saved_query_id
    • organizations/organization_number/savedQueries/saved_query_id
Returns
  • (::String) —

    The resource name of the saved query. The format must be:

    • projects/project_number/savedQueries/saved_query_id
    • folders/folder_number/savedQueries/saved_query_id
    • organizations/organization_number/savedQueries/saved_query_id