Sha256: f633e3a1f2b5d60ff9696555e3e4e9a122a955d30c4b2d23aab84eac9a5e09da

Contents?: true

Size: 843 Bytes

Versions: 12

Compression:

Stored size: 843 Bytes

Contents

# Delete a GCP integration returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::GCPIntegrationAPI.new

body = DatadogAPIClient::V1::GCPAccount.new({
  auth_provider_x509_cert_url: "https://www.googleapis.com/oauth2/v1/certs",
  auth_uri: "https://accounts.google.com/o/oauth2/auth",
  client_email: "api-dev@datadog-sandbox.iam.gserviceaccount.com",
  client_id: "123456712345671234567",
  client_x509_cert_url: "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL",
  errors: [
    "*",
  ],
  host_filters: "key:value,filter:example",
  private_key: "private_key",
  private_key_id: "123456789abcdefghi123456789abcdefghijklm",
  project_id: "datadog-apitest",
  token_uri: "https://accounts.google.com/o/oauth2/token",
  type: "service_account",
})
p api_instance.delete_gcp_integration(body)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
datadog_api_client-2.6.0 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-2.5.0 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-2.4.0 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-2.3.0 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-2.2.0 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-2.1.0 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-2.0.2 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-2.0.1 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-2.0.0 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-1.11.0 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-1.10.0 examples/v1/gcp-integration/DeleteGCPIntegration.rb
datadog_api_client-1.9.0 examples/v1/gcp-integration/DeleteGCPIntegration.rb