Skip to content

allGcpCloudAccountProjectsByFeature

List of GCP projects configured for a feature.

Arguments

Argument Type Description
feature (required) CloudAccountFeature! A cloud account feature of Rubrik Security Cloud.
projectStatusFilters (required) [CloudAccountStatus!]! List of project status filters to apply.
projectSearchText (required) String! Search text for project name, native ID and number.
aggregateFeatures Boolean Denotes if features are to be aggregated or flattened.

Returns

[GcpCloudAccountProjectDetail!]!

Sample

query AllGcpCloudAccountProjectsByFeature($feature: CloudAccountFeature!, $projectStatusFilters: [CloudAccountStatus!]!, $projectSearchText: String!) {
  allGcpCloudAccountProjectsByFeature(
    feature: $feature
    projectStatusFilters: $projectStatusFilters
    projectSearchText: $projectSearchText
  ) {
    credentialsManagedBy
  }
}
{
  "feature": "ALL",
  "projectStatusFilters": [
    "CONNECTED"
  ],
  "projectSearchText": "example-string"
}
{
  "data": {
    "allGcpCloudAccountProjectsByFeature": [
      {
        "credentialsManagedBy": "CUSTOMER_MANAGED_GLOBAL",
        "allEnabledFeaturesDetails": [
          {
            "enabledPermissionGroups": [
              "AKS_CUSTOM_PRIVATE_DNS_ZONE"
            ],
            "feature": "ALL",
            "roleId": "example-string",
            "status": "CONNECTED"
          }
        ],
        "featureDetail": {
          "enabledPermissionGroups": [
            "AKS_CUSTOM_PRIVATE_DNS_ZONE"
          ],
          "feature": "ALL",
          "roleId": "example-string",
          "status": "CONNECTED"
        }
      }
    ]
  }
}