Class: Google::Cloud::Asset::V1::SavedQuery

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

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

Defined Under Namespace

Classes: LabelsEntry, QueryContent

Instance Attribute Summary collapse

Instance Attribute Details

#content::Google::Cloud::Asset::V1::SavedQuery::QueryContent

Returns The query content.

Returns:



1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1379

class SavedQuery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The query content.
  # @!attribute [rw] iam_policy_analysis_query
  #   @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery]
  #     An IAM Policy Analysis query, which could be used in
  #     the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy AssetService.AnalyzeIamPolicy}
  #     RPC or the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy_longrunning AssetService.AnalyzeIamPolicyLongrunning}
  #     RPC.
  class QueryContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The create time of this saved query.

Returns:



1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1379

class SavedQuery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The query content.
  # @!attribute [rw] iam_policy_analysis_query
  #   @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery]
  #     An IAM Policy Analysis query, which could be used in
  #     the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy AssetService.AnalyzeIamPolicy}
  #     RPC or the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy_longrunning AssetService.AnalyzeIamPolicyLongrunning}
  #     RPC.
  class QueryContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#creator::String (readonly)

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

Returns:

  • (::String)

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



1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1379

class SavedQuery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The query content.
  # @!attribute [rw] iam_policy_analysis_query
  #   @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery]
  #     An IAM Policy Analysis query, which could be used in
  #     the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy AssetService.AnalyzeIamPolicy}
  #     RPC or the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy_longrunning AssetService.AnalyzeIamPolicyLongrunning}
  #     RPC.
  class QueryContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#description::String

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



1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1379

class SavedQuery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The query content.
  # @!attribute [rw] iam_policy_analysis_query
  #   @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery]
  #     An IAM Policy Analysis query, which could be used in
  #     the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy AssetService.AnalyzeIamPolicy}
  #     RPC or the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy_longrunning AssetService.AnalyzeIamPolicyLongrunning}
  #     RPC.
  class QueryContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

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



1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1379

class SavedQuery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The query content.
  # @!attribute [rw] iam_policy_analysis_query
  #   @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery]
  #     An IAM Policy Analysis query, which could be used in
  #     the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy AssetService.AnalyzeIamPolicy}
  #     RPC or the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy_longrunning AssetService.AnalyzeIamPolicyLongrunning}
  #     RPC.
  class QueryContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#last_update_time::Google::Protobuf::Timestamp (readonly)

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

Returns:



1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1379

class SavedQuery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The query content.
  # @!attribute [rw] iam_policy_analysis_query
  #   @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery]
  #     An IAM Policy Analysis query, which could be used in
  #     the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy AssetService.AnalyzeIamPolicy}
  #     RPC or the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy_longrunning AssetService.AnalyzeIamPolicyLongrunning}
  #     RPC.
  class QueryContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#last_updater::String (readonly)

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

Returns:

  • (::String)

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



1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1379

class SavedQuery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The query content.
  # @!attribute [rw] iam_policy_analysis_query
  #   @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery]
  #     An IAM Policy Analysis query, which could be used in
  #     the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy AssetService.AnalyzeIamPolicy}
  #     RPC or the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy_longrunning AssetService.AnalyzeIamPolicyLongrunning}
  #     RPC.
  class QueryContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns 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


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1379

class SavedQuery
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The query content.
  # @!attribute [rw] iam_policy_analysis_query
  #   @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisQuery]
  #     An IAM Policy Analysis query, which could be used in
  #     the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy AssetService.AnalyzeIamPolicy}
  #     RPC or the
  #     {::Google::Cloud::Asset::V1::AssetService::Client#analyze_iam_policy_longrunning AssetService.AnalyzeIamPolicyLongrunning}
  #     RPC.
  class QueryContent
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end