public sealed class CreateSavedQueryRequest : IMessage<CreateSavedQueryRequest>, IEquatable<CreateSavedQueryRequest>, IDeepCloneable<CreateSavedQueryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class CreateSavedQueryRequest.
Request to create a saved query.
Implements
IMessage<CreateSavedQueryRequest>, IEquatable<CreateSavedQueryRequest>, IDeepCloneable<CreateSavedQueryRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
CreateSavedQueryRequest()
public CreateSavedQueryRequest()
CreateSavedQueryRequest(CreateSavedQueryRequest)
public CreateSavedQueryRequest(CreateSavedQueryRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateSavedQueryRequest |
Properties
Parent
public string Parent { get; set; }
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").
Property Value | |
---|---|
Type | Description |
String |
ParentAsFolderName
public FolderName ParentAsFolderName { get; set; }
FolderName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
FolderName |
ParentAsOrganizationName
public OrganizationName ParentAsOrganizationName { get; set; }
OrganizationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
OrganizationName |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |
SavedQuery
public SavedQuery SavedQuery { get; set; }
Required. The saved_query details. The name
field must be empty as it
will be generated based on the parent and saved_query_id.
Property Value | |
---|---|
Type | Description |
SavedQuery |
SavedQueryId
public string SavedQueryId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |