Google Cloud Asset Inventory v1 API - Class SavedQuery (3.6.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
NameDescription
otherSavedQuery

Properties

Content

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

The query content.

Property Value
TypeDescription
SavedQueryTypesQueryContent

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The create time of this saved query.

Property Value
TypeDescription
Timestamp

Creator

public string Creator { get; set; }

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

Property Value
TypeDescription
string

Description

public string Description { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
MapFieldstringstring

LastUpdater

public string LastUpdater { get; set; }

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

Property Value
TypeDescription
string

LastUpdateTime

public Timestamp LastUpdateTime { get; set; }

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

Property Value
TypeDescription
Timestamp

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
TypeDescription
string

SavedQueryName

public SavedQueryName SavedQueryName { get; set; }

SavedQueryName-typed view over the Name resource name property.

Property Value
TypeDescription
SavedQueryName