Class: DatadogAPIClient::V1::GCPAccount
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::GCPAccount
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/gcp_account.rb
Overview
Your Google Cloud Platform Account.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#auth_provider_x509_cert_url ⇒ Object
Should be ‘www.googleapis.com/oauth2/v1/certs`.
-
#auth_uri ⇒ Object
Should be ‘accounts.google.com/o/oauth2/auth`.
-
#automute ⇒ Object
Silence monitors for expected GCE instance shutdowns.
-
#client_email ⇒ Object
Your email found in your JSON service account key.
-
#client_id ⇒ Object
Your ID found in your JSON service account key.
-
#client_x509_cert_url ⇒ Object
Should be ‘www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL` where `$CLIENT_EMAIL` is the email found in your JSON service account key.
-
#cloud_run_revision_filters ⇒ Object
Limit the Cloud Run revisions that are pulled into Datadog by using tags.
-
#errors ⇒ Object
An array of errors.
-
#host_filters ⇒ Object
Limit the GCE instances that are pulled into Datadog by using tags.
-
#is_cspm_enabled ⇒ Object
When enabled, Datadog will activate the Cloud Security Monitoring product for this service account.
-
#is_resource_change_collection_enabled ⇒ Object
When enabled, Datadog scans for all resource change data in your Google Cloud environment.
-
#is_security_command_center_enabled ⇒ Object
When enabled, Datadog will attempt to collect Security Command Center Findings.
-
#private_key ⇒ Object
Your private key name found in your JSON service account key.
-
#private_key_id ⇒ Object
Your private key ID found in your JSON service account key.
-
#project_id ⇒ Object
Your Google Cloud project ID found in your JSON service account key.
-
#resource_collection_enabled ⇒ Object
When enabled, Datadog scans for all resources in your GCP environment.
-
#token_uri ⇒ Object
Should be ‘accounts.google.com/o/oauth2/token`.
-
#type ⇒ Object
The value for service_account found in your JSON service account key.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
81 82 83 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 81 def additional_properties @additional_properties end |
#auth_provider_x509_cert_url ⇒ Object
Should be ‘www.googleapis.com/oauth2/v1/certs`.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 25 def auth_provider_x509_cert_url @auth_provider_x509_cert_url end |
#auth_uri ⇒ Object
Should be ‘accounts.google.com/o/oauth2/auth`.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 28 def auth_uri @auth_uri end |
#automute ⇒ Object
Silence monitors for expected GCE instance shutdowns.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 31 def automute @automute end |
#client_email ⇒ Object
Your email found in your JSON service account key.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 34 def client_email @client_email end |
#client_id ⇒ Object
Your ID found in your JSON service account key.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 37 def client_id @client_id end |
#client_x509_cert_url ⇒ Object
Should be ‘www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL` where `$CLIENT_EMAIL` is the email found in your JSON service account key.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 41 def client_x509_cert_url @client_x509_cert_url end |
#cloud_run_revision_filters ⇒ Object
Limit the Cloud Run revisions that are pulled into Datadog by using tags. Only Cloud Run revision resources that apply to specified filters are imported into Datadog.
45 46 47 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 45 def cloud_run_revision_filters @cloud_run_revision_filters end |
#errors ⇒ Object
An array of errors.
48 49 50 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 48 def errors @errors end |
#host_filters ⇒ Object
Limit the GCE instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog.
52 53 54 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 52 def host_filters @host_filters end |
#is_cspm_enabled ⇒ Object
When enabled, Datadog will activate the Cloud Security Monitoring product for this service account. Note: This requires resource_collection_enabled to be set to true.
55 56 57 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 55 def is_cspm_enabled @is_cspm_enabled end |
#is_resource_change_collection_enabled ⇒ Object
When enabled, Datadog scans for all resource change data in your Google Cloud environment.
58 59 60 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 58 def is_resource_change_collection_enabled @is_resource_change_collection_enabled end |
#is_security_command_center_enabled ⇒ Object
When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account.
61 62 63 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 61 def is_security_command_center_enabled @is_security_command_center_enabled end |
#private_key ⇒ Object
Your private key name found in your JSON service account key.
64 65 66 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 64 def private_key @private_key end |
#private_key_id ⇒ Object
Your private key ID found in your JSON service account key.
67 68 69 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 67 def private_key_id @private_key_id end |
#project_id ⇒ Object
Your Google Cloud project ID found in your JSON service account key.
70 71 72 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 70 def project_id @project_id end |
#resource_collection_enabled ⇒ Object
When enabled, Datadog scans for all resources in your GCP environment.
73 74 75 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 73 def resource_collection_enabled @resource_collection_enabled end |
#token_uri ⇒ Object
Should be ‘accounts.google.com/o/oauth2/token`.
76 77 78 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 76 def token_uri @token_uri end |
#type ⇒ Object
The value for service_account found in your JSON service account key.
79 80 81 |
# File 'lib/datadog_api_client/v1/models/gcp_account.rb', line 79 def type @type end |