Sha256: c7f18fd2969b9c05ba4e24f28559a8a01e231b4589516afe42ced8f2210769b5
Contents?: true
Size: 693 Bytes
Versions: 8
Compression:
Stored size: 693 Bytes
Contents
# Create a new entry for your service account with cspm enabled returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::GCPIntegrationAPI.new body = DatadogAPIClient::V2::GCPSTSServiceAccountCreateRequest.new({ data: DatadogAPIClient::V2::GCPSTSServiceAccountData.new({ attributes: DatadogAPIClient::V2::GCPSTSServiceAccountAttributes.new({ is_cspm_enabled: true, resource_collection_enabled: true, client_email: "Test-252bf553ef04b351@test-project.iam.gserviceaccount.com", host_filters: [], }), type: DatadogAPIClient::V2::GCPServiceAccountType::GCP_SERVICE_ACCOUNT, }), }) p api_instance.create_gcpsts_account(body)
Version data entries
8 entries across 8 versions & 1 rubygems