toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'analystAgentPersonaId': ?analystAgentPersonaId,
    'artifactExamples': ?pulumi.Input.mapOptionalInputValue<List<AnalystAgentPersonaArtifactExample>, List<Map<String, dynamic>>>(artifactExamples, (value) => pulumi.Input.encodeList<AnalystAgentPersonaArtifactExample, Map<String, dynamic>>(value, (value) => value.toMap())),
    'artifactsConfig': ?pulumi.Input.mapOptionalInputValue<AnalystAgentPersonaArtifactsConfig, Map<String, dynamic>>(artifactsConfig, (value) => value.toMap()),
    'createTime': ?createTime,
    'customerContexts': ?customerContexts,
    'deletionPolicy': ?deletionPolicy,
    'displayDescription': ?displayDescription,
    'displayName': ?displayName,
    'externalDataSources': ?pulumi.Input.mapOptionalInputValue<List<AnalystAgentPersonaExternalDataSource>, List<Map<String, dynamic>>>(externalDataSources, (value) => pulumi.Input.encodeList<AnalystAgentPersonaExternalDataSource, Map<String, dynamic>>(value, (value) => value.toMap())),
    'geminiEnterpriseEngine': ?geminiEnterpriseEngine,
    'location': ?location,
    'mcpDataSources': ?pulumi.Input.mapOptionalInputValue<List<AnalystAgentPersonaMcpDataSource>, List<Map<String, dynamic>>>(mcpDataSources, (value) => pulumi.Input.encodeList<AnalystAgentPersonaMcpDataSource, Map<String, dynamic>>(value, (value) => value.toMap())),
    'modelDescription': ?modelDescription,
    'name': ?name,
    'project': ?project,
    'resources': ?pulumi.Input.mapOptionalInputValue<List<AnalystAgentPersonaResource>, List<Map<String, dynamic>>>(resources, (value) => pulumi.Input.encodeList<AnalystAgentPersonaResource, Map<String, dynamic>>(value, (value) => value.toMap())),
    'role': ?role,
    'skills': ?pulumi.Input.mapOptionalInputValue<List<AnalystAgentPersonaSkill>, List<Map<String, dynamic>>>(skills, (value) => pulumi.Input.encodeList<AnalystAgentPersonaSkill, Map<String, dynamic>>(value, (value) => value.toMap())),
    'tables': ?pulumi.Input.mapOptionalInputValue<List<AnalystAgentPersonaTable>, List<Map<String, dynamic>>>(tables, (value) => pulumi.Input.encodeList<AnalystAgentPersonaTable, Map<String, dynamic>>(value, (value) => value.toMap())),
    'updateTime': ?updateTime,
  };
}