Google Cloud Asset Inventory v1 API - Class SavedQuery (3.12.0)

public sealed class SavedQuery : IMessage<SavedQuery>, IEquatable<SavedQuery>, IDeepCloneable<SavedQuery>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class SavedQuery.

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

Inheritance

object > SavedQuery

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

SavedQuery()

public SavedQuery()

SavedQuery(SavedQuery)

public SavedQuery(SavedQuery other)
Parameter
Name Description
other SavedQuery

Properties

Content

public SavedQuery.Types.QueryContent Content { get; set; }

The query content.

Property Value
Type Description
SavedQueryTypesQueryContent

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The create time of this saved query.

Property Value
Type Description
Timestamp

Creator

public string Creator { get; set; }

Output only. The account's email address who has created this saved query.

Property Value
Type Description
string

Description

public string Description { get; set; }

The description of this saved query. This value should be fewer than 255 characters.

Property Value
Type Description
string

Labels

public MapField<string, string> Labels { get; }

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.

Property Value
Type Description
MapFieldstringstring

LastUpdateTime

public Timestamp LastUpdateTime { get; set; }

Output only. The last update time of this saved query.

Property Value
Type Description
Timestamp

LastUpdater

public string LastUpdater { get; set; }

Output only. The account's email address who has updated this saved query most recently.

Property Value
Type Description
string

Name

public string Name { get; set; }

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
Property Value
Type Description
string

SavedQueryName

public SavedQueryName SavedQueryName { get; set; }

SavedQueryName-typed view over the Name resource name property.

Property Value
Type Description
SavedQueryName