Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add self_link column to below list of tables. #304

Merged
merged 5 commits into from
Sep 15, 2021
Merged

Conversation

bigdatasourav
Copy link
Contributor

@bigdatasourav bigdatasourav commented Sep 13, 2021

  • gcp_bigtable_instance
  • gcp_cloudfunctions_function
  • gcp_monitoring_notification_channel
  • gcp_pubsub_snapshot
  • gcp_pubsub_subscription
  • gcp_pubsub_topic
  • gcp_project

Example query results

Results
> select name, project_id, self_link from gcp_project
+------------+------------+--------------------------------------------------------------------+
| name       | project_id | self_link                                                          |
+------------+------------+--------------------------------------------------------------------+
| parker-aaa | parker-aaa | https://cloudresourcemanager.googleapis.com/v1/projects/parker-aaa |
+------------+------------+--------------------------------------------------------------------+

> select name, self_link from gcp_pubsub_topic
+----------------------------------------+----------------------------------------------------------------------------------------------------+
| name                                   | self_link                                                                                          |
+----------------------------------------+----------------------------------------------------------------------------------------------------+
| container-analysis-notes-v1beta1       | https://pubsub.googleapis.com/v1/projects/parker-aaa/topics/container-analysis-notes-v1beta1       |
| container-analysis-occurrences-v1beta1 | https://pubsub.googleapis.com/v1/projects/parker-aaa/topics/container-analysis-occurrences-v1beta1 |
| container-analysis-notes-v1            | https://pubsub.googleapis.com/v1/projects/parker-aaa/topics/container-analysis-notes-v1            |
| cloud-builds                           | https://pubsub.googleapis.com/v1/projects/parker-aaa/topics/cloud-builds                           |
| container-analysis-occurrences-v1      | https://pubsub.googleapis.com/v1/projects/parker-aaa/topics/container-analysis-occurrences-v1      |
+----------------------------------------+----------------------------------------------------------------------------------------------------+

> select name, self_link from gcp_monitoring_notification_channel
+----------------------+----------------------------------------------------------------------------------------------------+
| name                 | self_link                                                                                          |
+----------------------+----------------------------------------------------------------------------------------------------+
| 16920131774968342739 | https://monitoring.googleapis.com/v3/projects/parker-aaa/notificationChannels/16920131774968342739 |
+----------------------+----------------------------------------------------------------------------------------------------+

> select name, self_link from gcp_pubsub_subscription
+--------+---------------------------------------------------------------------------+
| name   | self_link                                                                 |
+--------+---------------------------------------------------------------------------+
| tetsry | https://pubsub.googleapis.com/v1/projects/parker-aaa/subscriptions/tetsry |
+--------+---------------------------------------------------------------------------+

> select name, self_link from gcp_pubsub_snapshot
+---------+------------------------------------------------------------------------+
| name    | self_link                                                              |
+---------+------------------------------------------------------------------------+
| wrerewr | https://pubsub.googleapis.com/v1/projects/parker-aaa/snapshots/wrerewr |
+---------+------------------------------------------------------------------------+

> select name, self_link from gcp_cloudfunctions_function
+----------------------------------------------------------------+---------------------------------------------------------------------------------------------------------+
| name                                                           | self_link                                                                                               |
+----------------------------------------------------------------+---------------------------------------------------------------------------------------------------------+
| projects/parker-aaa/locations/us-central1/functions/function-1 | https://cloudfunctions.googleapis.com/v1/projects/parker-aaa/locations/us-central1/functions/function-1 |
+----------------------------------------------------------------+---------------------------------------------------------------------------------------------------------+

> select name, self_link from gcp_bigtable_instance
+-------------+-----------------------------------------------------------------------------------+
| name        | self_link                                                                         |
+-------------+-----------------------------------------------------------------------------------+
| s3s432retrt | https://bigtableadmin.googleapis.com/v2/projects/parker-aaa/instances/s3s432retrt |
+-------------+-----------------------------------------------------------------------------------+

bigdatasourav added 2 commits September 13, 2021 19:39
@bigdatasourav bigdatasourav self-assigned this Sep 13, 2021
@bigdatasourav bigdatasourav linked an issue Sep 13, 2021 that may be closed by this pull request
Copy link
Contributor

@LalitLab LalitLab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bigdatasourav bigdatasourav merged commit cc3a46e into main Sep 15, 2021
@bigdatasourav bigdatasourav deleted the issue-300 branch September 15, 2021 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add self_link column to below list of tables
2 participants