Documentation
¶
Overview ¶
Package gcp implements a steampipe plugin for gcp.
This plugin provides data that Steampipe uses to present foreign tables that represent GCP resources.
Index ¶
- Constants
- Variables
- func APIKeysService(ctx context.Context, d *plugin.QueryData) (*apikeys.Service, error)
- func AccessApprovalService(ctx context.Context, d *plugin.QueryData) (*accessapproval.Service, error)
- func AlloyDBService(ctx context.Context, d *plugin.QueryData) (*alloydb.Service, error)
- func AppEngineService(ctx context.Context, d *plugin.QueryData) (*appengine.APIService, error)
- func ArtifactRegistryService(ctx context.Context, d *plugin.QueryData) (*artifactregistry.Service, error)
- func BigQueryService(ctx context.Context, d *plugin.QueryData) (*bigquery.Service, error)
- func BigtableAdminService(ctx context.Context, d *plugin.QueryData) (*bigtableadmin.Service, error)
- func BillingBudgetsService(ctx context.Context, d *plugin.QueryData) (*billingbudgets.Service, error)
- func BillingService(ctx context.Context, d *plugin.QueryData) (*cloudbilling.APIService, error)
- func BuildAlloyDBLocationList(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
- func BuildArtifactRegistryLocationList(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
- func BuildCloudRunLocationList(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
- func BuildComputeLocationList(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
- func BuildDataplexLocationList(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
- func BuildDataprocMetastoreLocationList(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
- func BuildLocationList(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
- func BuildVPCAccessLocationList(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
- func BuildVertexAILocationList(clientType string) func(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
- func BuildVertexAILocationListByClientType(clientType string) func(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
- func CloudAssetService(ctx context.Context, d *plugin.QueryData) (*cloudasset.Service, error)
- func CloudFunctionsService(ctx context.Context, d *plugin.QueryData) (*cloudfunctions.Service, error)
- func CloudIdentityService(ctx context.Context, d *plugin.QueryData) (*cloudidentity.Service, error)
- func CloudResourceManagerService(ctx context.Context, d *plugin.QueryData) (*cloudresourcemanager.Service, error)
- func CloudRunService(ctx context.Context, d *plugin.QueryData) (*run.Service, error)
- func CloudRunServiceV1(ctx context.Context, d *plugin.QueryData) (*run1.APIService, error)
- func CloudSQLAdminService(ctx context.Context, d *plugin.QueryData) (*sqladmin.Service, error)
- func ComposerService(ctx context.Context, d *plugin.QueryData) (*composer.Service, error)
- func ComputeBetaService(ctx context.Context, d *plugin.QueryData) (*computeBeta.Service, error)
- func ComputeService(ctx context.Context, d *plugin.QueryData) (*compute.Service, error)
- func ConfigInstance() interface{}
- func ContainerService(ctx context.Context, d *plugin.QueryData) (*container.Service, error)
- func DataplexService(ctx context.Context, d *plugin.QueryData) (*dataplex.Service, error)
- func DataprocMetastoreService(ctx context.Context, d *plugin.QueryData) (*metastore.APIService, error)
- func DataprocService(ctx context.Context, d *plugin.QueryData) (*dataproc.Service, error)
- func DnsService(ctx context.Context, d *plugin.QueryData) (*dns.Service, error)
- func EssentialContactService(ctx context.Context, d *plugin.QueryData) (*essentialcontacts.Service, error)
- func GetConfig(connection *plugin.Connection) gcpConfig
- func IAMService(ctx context.Context, d *plugin.QueryData) (*iam.Service, error)
- func KMSService(ctx context.Context, d *plugin.QueryData) (*cloudkms.Service, error)
- func LoggingService(ctx context.Context, d *plugin.QueryData) (*logging.Service, error)
- func MonitoringService(ctx context.Context, d *plugin.QueryData) (*monitoring.Service, error)
- func Plugin(ctx context.Context) *plugin.Plugin
- func PubsubService(ctx context.Context, d *plugin.QueryData) (*pubsub.Service, error)
- func RedisClusterService(ctx context.Context, d *plugin.QueryData) (*rediscluster.CloudRedisClusterClient, error)
- func RedisService(ctx context.Context, d *plugin.QueryData) (*redis.CloudRedisClient, error)
- func SecretManagerService(ctx context.Context, d *plugin.QueryData) (*secretmanager.Service, error)
- func ServiceUsageService(ctx context.Context, d *plugin.QueryData) (*serviceusage.Service, error)
- func StorageService(ctx context.Context, d *plugin.QueryData) (*storage.Service, error)
- func VPCAccessService(ctx context.Context, d *plugin.QueryData) (*vpcaccess.Service, error)
- type AIplatfromServiceClients
- type PointWithTimeStamp
- type Statistics
Constants ¶
const ( ColumnDescriptionAkas = "Array of globally unique identifier strings (also known as) for the resource." ColumnDescriptionTags = "A map of tags for the resource." ColumnDescriptionTitle = "Title of the resource." ColumnDescriptionProject = "The GCP Project in which the resource is located." ColumnDescriptionLocation = "The GCP multi-region, region, or zone in which the resource is located." )
Constants for Standard Column Descriptions
Variables ¶
var GcpFilterOperatorMap = map[string]string{
"=": "=",
"<>": "!=",
"!=": "!=",
">": ">",
"<": "<",
"<=": "<",
">=": ">",
}
Steampipe to GCP query filter map
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
Functions ¶
func APIKeysService ¶ added in v0.35.0
func AccessApprovalService ¶ added in v0.26.0
func AccessApprovalService(ctx context.Context, d *plugin.QueryData) (*accessapproval.Service, error)
AccessApprovalService returns the service connection for GCP Project AccessApproval service
func AlloyDBService ¶ added in v0.53.0
AlloyDBService returns the service connection for GCP Alloy DB service
func AppEngineService ¶ added in v0.49.0
AppEngineService returns the service connection for GCP App Engine service
func ArtifactRegistryService ¶ added in v0.45.0
func ArtifactRegistryService(ctx context.Context, d *plugin.QueryData) (*artifactregistry.Service, error)
ArtifactRegistryService returns the service connection for GCP ArtifactRegistry service
func BigQueryService ¶ added in v0.5.0
BigQueryService returns the service connection for GCP BigQueryService service
func BigtableAdminService ¶ added in v0.4.0
BigtableAdminService returns the service connection for GCP Bigtable Admin service
func BillingBudgetsService ¶ added in v0.38.0
func BillingBudgetsService(ctx context.Context, d *plugin.QueryData) (*billingbudgets.Service, error)
BillingBudgetsService returns the service connection for GCP Billing Budgets service
func BillingService ¶ added in v0.38.0
BillingService returns the service connection for GCP Billing service
func BuildAlloyDBLocationList ¶ added in v0.53.0
BuildregionList :: return a list of matrix items, one per region specified
func BuildArtifactRegistryLocationList ¶ added in v0.45.0
func BuildArtifactRegistryLocationList(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
BuildregionList :: return a list of matrix items, one per region specified
func BuildCloudRunLocationList ¶ added in v1.3.0
https://cloud.google.com/run/docs/locations BuildCloudRunLocationList :: return a list of matrix items, one per region specified
func BuildComputeLocationList ¶ added in v0.26.0
BuildregionList :: return a list of matrix items, one per region specified https://cloud.google.com/dataproc/docs/concepts/regional-endpoints
func BuildDataplexLocationList ¶ added in v0.57.0
BuildDataplexLocationList :: return a list of matrix items, one per region specified
func BuildDataprocMetastoreLocationList ¶ added in v0.57.0
func BuildDataprocMetastoreLocationList(ctx context.Context, d *plugin.QueryData) []map[string]interface{}
BuildDataprocMetastoreLocationList :: return a list of matrix items, one per region specified
func BuildLocationList ¶ added in v0.8.0
BuildregionList :: return a list of matrix items, one per region specified
func BuildVPCAccessLocationList ¶ added in v0.57.0
BuildregionList :: return a list of matrix items, one per region specified
func BuildVertexAILocationList ¶ added in v0.46.0
func BuildVertexAILocationListByClientType ¶ added in v0.46.0
func CloudAssetService ¶ added in v0.48.0
CloudAssetService returns the service connection for GCP Asset Service
func CloudFunctionsService ¶ added in v0.1.0
func CloudFunctionsService(ctx context.Context, d *plugin.QueryData) (*cloudfunctions.Service, error)
CloudFunctionsService returns the service connection for GCP Cloud Functions service
func CloudIdentityService ¶ added in v0.42.0
CloudIdentityService returns the service connection for GCP Identity service
func CloudResourceManagerService ¶ added in v0.1.0
func CloudResourceManagerService(ctx context.Context, d *plugin.QueryData) (*cloudresourcemanager.Service, error)
CloudResourceManagerService returns the service connection for GCP Cloud Resource Manager service
func CloudRunService ¶ added in v0.45.0
CloudRunService returns the service connection for GCP Cloud Run service
func CloudRunServiceV1 ¶ added in v1.3.0
CloudRunService returns the service connection for GCP Cloud Run service
func CloudSQLAdminService ¶ added in v0.2.0
CloudSQLAdminService returns the service connection for GCP Cloud SQL Admin service
func ComposerService ¶ added in v0.57.0
ComposerService returns the service connection for GCP Composer service
func ComputeBetaService ¶ added in v0.1.0
ComputeBetaService returns the service connection for GCP Compute service beta version
func ComputeService ¶ added in v0.1.0
ComputeService returns the service connection for GCP Compute service
func ConfigInstance ¶ added in v0.1.0
func ConfigInstance() interface{}
func ContainerService ¶ added in v0.16.0
ContainerService returns the service connection for GCP Container service
func DataplexService ¶ added in v0.57.0
DataplexService returns the service connection for GCP Dataplex service
func DataprocMetastoreService ¶ added in v0.57.0
func DataprocMetastoreService(ctx context.Context, d *plugin.QueryData) (*metastore.APIService, error)
DataprocService returns the service connection for GCP Dataproc service
func DataprocService ¶ added in v0.26.0
DataprocService returns the service connection for GCP Dataproc service
func DnsService ¶ added in v0.5.0
DnsService returns the service connection for GCP DNS service
func EssentialContactService ¶ added in v0.26.0
func EssentialContactService(ctx context.Context, d *plugin.QueryData) (*essentialcontacts.Service, error)
EssentialContactService returns the service connection for GCP Cloud Organization Essential Contacts
func GetConfig ¶ added in v0.1.0
func GetConfig(connection *plugin.Connection) gcpConfig
GetConfig :: retrieve and cast connection config from query data
func IAMService ¶ added in v0.1.0
IAMService returns the service connection for GCP IAM service
func KMSService ¶ added in v0.8.0
KMSService returns the service connection for GCP KMS service
func LoggingService ¶ added in v0.1.0
LoggingService returns the service connection for GCP Logging service
func MonitoringService ¶ added in v0.1.0
MonitoringService returns the service connection for GCP Monitoring service
func PubsubService ¶ added in v0.1.0
PubsubService returns the service connection for GCP Pub/Sub service
func RedisClusterService ¶ added in v1.3.0
func RedisClusterService(ctx context.Context, d *plugin.QueryData) (*rediscluster.CloudRedisClusterClient, error)
RedisClusterService returns the service connection for GCP Memorystore for Redis Cluster service
func RedisService ¶ added in v0.43.0
RedisService returns the service connection for GCP Redis service
func SecretManagerService ¶ added in v0.53.0
func ServiceUsageService ¶ added in v0.1.0
ServiceUsageService returns the service connection for GCP Service Usage service
func StorageService ¶ added in v0.1.0
StorageService returns the service connection for GCP Storage service
Types ¶
type AIplatfromServiceClients ¶ added in v0.46.0
type AIplatfromServiceClients struct { Endpoint *aiplatform.EndpointClient Dataset *aiplatform.DatasetClient Index *aiplatform.IndexClient Job *aiplatform.JobClient Model *aiplatform.ModelClient Notebook *aiplatform.NotebookClient }
type PointWithTimeStamp ¶ added in v0.14.0
Source Files
¶
- alloydb_location_list.go
- artifact_registry_location_list.go
- cloud_run_location_list.go
- compute_location_list.go
- connection_config.go
- dataplex_location_list.go
- dataproc_metastore_location_list.go
- ignore_error_predicate.go
- kms_multi_location.go
- monitoring_metric.go
- plugin.go
- service.go
- table_gcp_alloydb_cluster.go
- table_gcp_alloydb_instance.go
- table_gcp_apikeys_key.go
- table_gcp_app_engine_application.go
- table_gcp_artifact_registry_repository.go
- table_gcp_audit_policy.go
- table_gcp_bigquery_dataset.go
- table_gcp_bigquery_job.go
- table_gcp_bigquery_table.go
- table_gcp_bigtable_instance.go
- table_gcp_billing_account.go
- table_gcp_billing_budget.go
- table_gcp_cloud_asset.go
- table_gcp_cloud_identity_group.go
- table_gcp_cloud_identity_group_membership.go
- table_gcp_cloud_run_job.go
- table_gcp_cloud_run_service.go
- table_gcp_cloudfunctions_function.go
- table_gcp_composer_environment.go
- table_gcp_compute_address.go
- table_gcp_compute_autoscaler.go
- table_gcp_compute_backend_bucket.go
- table_gcp_compute_backend_service.go
- table_gcp_compute_disk.go
- table_gcp_compute_disk_metric_read_ops.go
- table_gcp_compute_disk_metric_read_ops_daily.go
- table_gcp_compute_disk_metric_read_ops_hourly.go
- table_gcp_compute_disk_metric_write_ops.go
- table_gcp_compute_disk_metric_write_ops_daily.go
- table_gcp_compute_disk_metric_write_ops_hourly.go
- table_gcp_compute_firewall.go
- table_gcp_compute_forwarding_rule.go
- table_gcp_compute_global_address.go
- table_gcp_compute_global_forwarding_rule.go
- table_gcp_compute_ha_vpn_gateway.go
- table_gcp_compute_image.go
- table_gcp_compute_instance.go
- table_gcp_compute_instance_group.go
- table_gcp_compute_instance_group_manager.go
- table_gcp_compute_instance_metric_cpu_utilization.go
- table_gcp_compute_instance_metric_cpu_utilization_daily.go
- table_gcp_compute_instance_metric_cpu_utilization_hourly.go
- table_gcp_compute_instance_template.go
- table_gcp_compute_machine_image.go
- table_gcp_compute_machine_type.go
- table_gcp_compute_network.go
- table_gcp_compute_node_group.go
- table_gcp_compute_node_template.go
- table_gcp_compute_project_metadata.go
- table_gcp_compute_region.go
- table_gcp_compute_resource_policy.go
- table_gcp_compute_route.go
- table_gcp_compute_router.go
- table_gcp_compute_snapshot.go
- table_gcp_compute_ssl_policy.go
- table_gcp_compute_subnetwork.go
- table_gcp_compute_target_https_proxy.go
- table_gcp_compute_target_pool.go
- table_gcp_compute_target_ssl_proxy.go
- table_gcp_compute_target_vpn_gateway.go
- table_gcp_compute_url_map.go
- table_gcp_compute_vpn_tunnel.go
- table_gcp_compute_zone.go
- table_gcp_dataplex_asset.go
- table_gcp_dataplex_lake.go
- table_gcp_dataplex_task.go
- table_gcp_dataplex_zone.go
- table_gcp_dataproc_cluster.go
- table_gcp_dataproc_metastore_service.go
- table_gcp_dns_managed_zone.go
- table_gcp_dns_policy.go
- table_gcp_dns_record_set.go
- table_gcp_iam_policy.go
- table_gcp_iam_role.go
- table_gcp_kms_key.go
- table_gcp_kms_key_ring.go
- table_gcp_kms_key_version.go
- table_gcp_kubernetes_cluster.go
- table_gcp_kubernetes_node_pool.go
- table_gcp_logging_bucket.go
- table_gcp_logging_exclusion.go
- table_gcp_logging_log_entry.go
- table_gcp_logging_metric.go
- table_gcp_logging_sink.go
- table_gcp_monitoring_alert_policy.go
- table_gcp_monitoring_group.go
- table_gcp_monitoring_notification_channel.go
- table_gcp_organization.go
- table_gcp_organization_project.go
- table_gcp_project.go
- table_gcp_project_organization_policy.go
- table_gcp_project_service.go
- table_gcp_pubsub_snapshot.go
- table_gcp_pubsub_subscription.go
- table_gcp_pubsub_topic.go
- table_gcp_redis_cluster.go
- table_gcp_redis_instance.go
- table_gcp_secret_manager_secret.go
- table_gcp_service_account.go
- table_gcp_service_account_key.go
- table_gcp_sql_backup.go
- table_gcp_sql_database.go
- table_gcp_sql_database_instance.go
- table_gcp_sql_database_instance_metric_connections.go
- table_gcp_sql_database_instance_metric_connections_daily.go
- table_gcp_sql_database_instance_metric_connections_hourly.go
- table_gcp_sql_database_instance_metric_cpu_utilization.go
- table_gcp_sql_database_instance_metric_cpu_utilization_daily.go
- table_gcp_sql_database_instance_metric_cpu_utilization_hourly.go
- table_gcp_storage_bucket.go
- table_gcp_storage_object.go
- table_gcp_tag_binding.go
- table_gcp_vertex_ai_endpoint.go
- table_gcp_vertex_ai_model.go
- table_gcp_vertex_ai_notebook_runtime_template.go
- table_gcp_vpc_access_connector.go
- utils.go
- vertex_ai_location_list.go
- vpc_access_location_list.go