Sha256: 12fe55c88b273aaf9927aad13c547c4382d9f585a5007260a8d21bfcc9bc3715
Contents?: true
Size: 741 Bytes
Versions: 2
Compression:
Stored size: 741 Bytes
Contents
# Create a new entry for your service account with security command center 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_security_command_center_enabled: true, is_resource_change_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-2.29.1 | examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb |
datadog_api_client-2.28.1 | examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb |