<commit_before>"state_notification_config": {
    Type:     schema.TypeMap,
    Description: `A PubSub topic to publish device state updates.`,
    Optional: true,
    Elem: &schema.Resource{
        Schema: map[string]*schema.Schema{
            "pubsub_topic_name": {
                Type: schema.TypeString,
                Description: `PubSub topic name to publish device state updates.`,
                Required: true,
                DiffSuppressFunc: compareSelfLinkOrResourceName,
            },
        },
    },
},
"mqtt_config": {
    Type:     schema.TypeMap,
    Description: `Activate or deactivate MQTT.`,
    Computed: true,
    Optional: true,
    Elem: &schema.Resource{
        Schema: map[string]*schema.Schema{
        "mqtt_enabled_state": {
            Type:     schema.TypeString,
            Description: `The field allows MQTT_ENABLED or MQTT_DISABLED`,
            Required: true,
            ValidateFunc: validation.StringInSlice(
            []string{"MQTT_DISABLED", "MQTT_ENABLED"}, false),
        },
        },
    },
},
"http_config": {
    Type:     schema.TypeMap,
    Description: `Activate or deactivate HTTP.`,
    Computed: true,
    Optional: true,
    Elem: &schema.Resource{
        Schema: map[string]*schema.Schema{
            "http_enabled_state": {
                Type:     schema.TypeString,
                Description: `The field allows HTTP_ENABLED or HTTP_DISABLED`,
                Required: true,
                ValidateFunc: validation.StringInSlice(
                    []string{"HTTP_DISABLED", "HTTP_ENABLED"}, false),
            },
        },
    },
},
"credentials": {
    Type:     schema.TypeList,
    Description: `List of public key certificates to authenticate devices.`,
    Optional: true,
    MaxItems: 10,
    Elem: &schema.Resource{
        Schema: map[string]*schema.Schema{
            "public_key_certificate": {
                Type:     schema.TypeMap,
                Description: `A public key certificate format and data.`,
                Required: true,
                Elem: &schema.Resource{
                    Schema: map[string]*schema.Schema{
                        "format": {
                            Type:     schema.TypeString,
                            Description: `The field allows only X509_CERTIFICATE_PEM.`,
                            Required: true,
                            ValidateFunc: validation.StringInSlice(
                                []string{"X509_CERTIFICATE_PEM"}, false),
                        },
                        "certificate": {
                            Type:     schema.TypeString,
                            Description: `The certificate data.`,
                            Required: true,
                        },
                    },
                },
            },
        },
    },
},<commit_msg>remove schema.Resource from cloudiot type maps (#3986)<commit_after>"state_notification_config": {
    Type:     schema.TypeMap,
    Description: `A PubSub topic to publish device state updates.`,
    Optional: true,
},
"mqtt_config": {
    Type:     schema.TypeMap,
    Description: `Activate or deactivate MQTT.`,
    Computed: true,
    Optional: true,
},
"http_config": {
    Type:     schema.TypeMap,
    Description: `Activate or deactivate HTTP.`,
    Computed: true,
    Optional: true,
},
"credentials": {
    Type:     schema.TypeList,
    Description: `List of public key certificates to authenticate devices.`,
    Optional: true,
    MaxItems: 10,
    Elem: &schema.Resource{
        Schema: map[string]*schema.Schema{
            "public_key_certificate": {
                Type:     schema.TypeMap,
                Description: `A public key certificate format and data.`,
                Required: true,
            },
        },
    },
},
{'fraction_non_alphanumeric': 0.10186400630086637, 'fraction_numerical': 0.0036755053819900237, 'mean_word_length': 1.6624737945492662, 'pattern_counts': {'":': 15, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4265431', 'n_tokens_mistral': 1024, 'n_tokens_neox': 987, 'n_words': 238}