Sha256: a066e15bd4465c46206074e4788a2719adb0fbd5f5649c96cefa1eed3cae15e8
Contents?: true
Size: 817 Bytes
Versions: 7
Compression:
Stored size: 817 Bytes
Contents
# Update STS Service Account returns "OK" response with cloud run revision filters require "datadog_api_client" api_instance = DatadogAPIClient::V2::GCPIntegrationAPI.new # there is a valid "gcp_sts_account" in the system GCP_STS_ACCOUNT_DATA_ID = ENV["GCP_STS_ACCOUNT_DATA_ID"] body = DatadogAPIClient::V2::GCPSTSServiceAccountUpdateRequest.new({ data: DatadogAPIClient::V2::GCPSTSServiceAccountUpdateRequestData.new({ attributes: DatadogAPIClient::V2::GCPSTSServiceAccountAttributes.new({ client_email: "Test-252bf553ef04b351@example.com", cloud_run_revision_filters: [ "merp:derp", ], }), id: GCP_STS_ACCOUNT_DATA_ID, type: DatadogAPIClient::V2::GCPServiceAccountType::GCP_SERVICE_ACCOUNT, }), }) p api_instance.update_gcpsts_account(GCP_STS_ACCOUNT_DATA_ID, body)
Version data entries
7 entries across 7 versions & 1 rubygems